Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 23:55:23 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Scott Long <scottl@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: [Fwd: What do people think about not installing a stripped /kernel ?]
Message-ID:  <20041020205523.GA54060@ip.net.ua>
In-Reply-To: <4176C0C8.4060408@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041020205523.GA54060>