Date: Sat, 22 Nov 1997 04:19:04 +1030 From: Mike Smith <mike@smith.net.au> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Bruce Evans <bde@zeta.org.au>, evanc@synapse.net, mike@smith.net.au, freebsd-current@FreeBSD.ORG Subject: Re: Stripping the kernel Message-ID: <199711211749.EAA00402@word.smith.net.au> In-Reply-To: Your message of "Fri, 21 Nov 1997 11:43:50 BST." <1451.880109030@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
> >>No. If you build a kernel with debug symbols, it is expected that you > >>realise how big it is, and strip it if required before installing it. > > > >Also, full stripping breaks everything that uses nlist(3) on the kernel. > >strip(1) supports several forms of partial stipping, but install(1) only > >supports full stripping. > > I have been thinking about adding a "strip -d kernel" before installing > to the makefile... If you do, add a new option to test(1) that recognises a non-stripped binary (or similar) and save a copy of same before stripping. ie. Don't break the _functionality_ of building the rotten thing in the first place... mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711211749.EAA00402>