From owner-freebsd-arch@FreeBSD.ORG Wed Oct 20 20:55:57 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F30D116A4CE; Wed, 20 Oct 2004 20:55:56 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56E243D3F; Wed, 20 Oct 2004 20:55:55 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i9KKtspP038180; Wed, 20 Oct 2004 23:55:54 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 84156-19; Wed, 20 Oct 2004 23:55:53 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i9KKtkor038176; Wed, 20 Oct 2004 23:55:49 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i9KKtNpj069614; Wed, 20 Oct 2004 23:55:23 +0300 (EEST) (envelope-from ru) Date: Wed, 20 Oct 2004 23:55:23 +0300 From: Ruslan Ermilov To: Scott Long Message-ID: <20041020205523.GA54060@ip.net.ua> References: <41767CF1.2020005@FreeBSD.org> <20041020.105839.100358845.imp@bsdimp.com> <20041020170907.GA1216@orion.daedalusnetworks.priv> <200410201913.42879.max@love2party.net> <20041020194547.GD2195@ip.net.ua> <4176C0C8.4060408@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <4176C0C8.4060408@freebsd.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: Max Laier cc: freebsd-current@freebsd.org cc: freebsd-arch@freebsd.org Subject: Re: [Fwd: What do people think about not installing a stripped /kernel ?] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 20:55:57 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 20, 2004 at 01:47:20PM -0600, Scott Long wrote: > Ruslan Ermilov wrote: > >On Wed, Oct 20, 2004 at 07:13:35PM +0200, Max Laier wrote: > > > >>Why is this discussion ongoing? The consensus seems pretty clear:=20 > >>"Implement it, but have a make.conf option to turn it off." If there is= =20 > >>concern with this make if default to off and have an option to turn it = on. > >> > > > >Implementing this is very easy, since it's already implemented, > >just not by default. > > > >What everyone seem to have forgotten is that we also have modules, > >and in the "config -g" case, we also build debug versions of the > >modules. And if we're also going to install modules with debug > >symbols, I think this puts the requirement for the root file > >system way beyond the rational limits. > > > > > >Cheers, >=20 > I tend to agree. What do you think of my proposal to have installkernel > (optionally or whatever) put unstriped binaries somewhere outside of the > root partition? >=20 Do you mean installing what we already have as a result of building a debug kernel? In that case, this is already easily done by: make buildkernel CONFIGARGS=3D-g make installkernel mkdir -p /usr/somewhere make installkernel.debug KODIR=3D/usr/somewhere As a result of running this, I have: ru# ls -1 /usr/somewhere/ |grep '\.ko\.debug' |wc -l 386 ru# ls -1 /usr/somewhere/ | grep -v '\.ko\.debug'=20 kernel.debug linker.hints Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBdtC7qRfpzJluFF4RAv1UAJ0QEC+kvbkoU6QPvccOHhum+H7CbACfVFOg KjDoZ/pZb7XT9TNj4VaUfOU= =jN9N -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--