Date: Wed, 3 Jan 2001 07:51:23 +0100 From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: Greg Lehey <grog@lemis.com> Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, Brett Glass <brett@lariat.org>, Doug White <dwhite@resnet.uoregon.edu>, "G. Adam Stanislav" <adam@whizkidtech.net>, chat@FreeBSD.ORG Subject: Re: Removing GNU from kernel Message-ID: <20010103075123.A30917@curry.mchp.siemens.de> In-Reply-To: <20010103170935.S4336@wantadilla.lemis.com>; from grog@lemis.com on Wed, Jan 03, 2001 at 05:09:35PM %2B1030 References: <20001231142437.A269@whizkidtech.net> <Pine.BSF.4.21.0101021417390.38463-100000@resnet.uoregon.ed <4.3.2.7.2.20010102155947.04678240@localhost> <20010103110925.I40453@wantadilla.lemis.com> <20010103073029.B29371@curry.mchp.siemens.de> <20010103170935.S4336@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 03-Jan-2001 at 17:09:35 +1030, Greg Lehey wrote: > On Wednesday, 3 January 2001 at 7:30:29 +0100, Andre Albsmeier wrote: > > On Wed, 03-Jan-2001 at 11:09:25 +1030, Greg Lehey wrote: > >> On Tuesday, 2 January 2001 at 16:00:42 -0700, Brett Glass wrote: > >>> At 03:17 PM 1/2/2001, Doug White wrote: > >>> > >>>> ps/top/friends are probably busted now. > >>>> > >>>> You can't strip the symbols from the kernel or you get this. > >>> > >>> Ouch. Is it possible to leave just the necessary symbols? > >> > >> That's what we do. > > > > Apart from the "[ASM_FILE_END]GCC: (c) 2.95.2 19991024 (release)" > > stuff. They can be avoided by using -fno-ident during compilation > > time. > > Well, we don't have that explicit flag in the kernel compile, but > these idents no longer end up in the kernel. Hmm, I just compiled a kernel with COPTFLAGS= -O -m486 -pipe. root@bali:/usr/obj/src/src-4/sys/bali>strings -a kernel | grep ASM_FILE_END | wc 381 1905 18669 When adding -fno-ident to COPTFLAGS, these are gone. As I wrote in another mail, adding -fno-ident to CFLAGS in /etc/make.conf makes my /usr/obj shrink of about 7MB. All this is on 4.2-STABLE. Maybe -current behaves different... -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103075123.A30917>