From owner-freebsd-current Fri Nov 21 09:59:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA26365 for current-outgoing; Fri, 21 Nov 1997 09:59:17 -0800 (PST) (envelope-from owner-freebsd-current) Received: from word.smith.net.au (s204m100.whistle.com [207.76.204.100]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA26354 for ; Fri, 21 Nov 1997 09:59:11 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id EAA00402; Sat, 22 Nov 1997 04:19:04 +1030 (CST) Message-Id: <199711211749.EAA00402@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Poul-Henning Kamp cc: Bruce Evans , evanc@synapse.net, mike@smith.net.au, freebsd-current@FreeBSD.ORG Subject: Re: Stripping the kernel In-reply-to: Your message of "Fri, 21 Nov 1997 11:43:50 BST." <1451.880109030@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 22 Nov 1997 04:19:04 +1030 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >>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