From owner-freebsd-hackers Mon Jul 30 9: 4:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id D6ACE37B401 for ; Mon, 30 Jul 2001 09:04:09 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.1) with ESMTP id f6UG47q57227; Mon, 30 Jul 2001 09:04:07 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.3/8.11.0) id f6UG46q16768; Mon, 30 Jul 2001 09:04:06 -0700 (PDT) (envelope-from jdp) Date: Mon, 30 Jul 2001 09:04:06 -0700 (PDT) Message-Id: <200107301604.f6UG46q16768@vashon.polstra.com> To: hackers@freebsd.org From: John Polstra Cc: sheldonh@starjuice.net Subject: Re: Why objcopy --strip-debug instead of strip? In-Reply-To: <2342.996443542@axl.seasidesoftware.co.za> References: <2342.996443542@axl.seasidesoftware.co.za> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <2342.996443542@axl.seasidesoftware.co.za>, Sheldon Hearn wrote: > On Sun, 29 Jul 2001 14:26:41 MST, John Polstra wrote: > > > I don't understand what this has to do with how the kernel is > > stripped. > > The current modules build attached to buildkernel doesn't generate > modules with debugging symbols, regardless of whether CONFIGARGS='-g' > was specified. I want to fix that. OK, sounds good to me. In your private mail you seemed to be asking why only the debugging symbols are stripped from the kernel instead of stripping all symbols. I think the modules should be stripped the same way as the kernel: with --strip-debug. That way you end up with the same set of symbols as if they were statically linked into the kernel. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message