Date: Sat, 26 Feb 2000 20:25:13 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Christian Weisgerber <naddy@mips.rhein-neckar.de> Cc: freebsd-questions@freebsd.org Subject: Re: Why is my new kernel so big? Message-ID: <20000226202512.B327@marder-1> In-Reply-To: <898tee$1g3e$1@bigeye.rhein-neckar.de>; from naddy@mips.rhein-neckar.de on Sat, Feb 26, 2000 at 05:02:22PM %2B0100 References: <mark@dogma.freebsd-uk.eu.org> <200002251624.LAA18500@benge.graphics.cornell.edu> <897eu4$pr3$1@bigeye.rhein-neckar.de> <20000226125745.A326@marder-1> <898tee$1g3e$1@bigeye.rhein-neckar.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 26, 2000 at 05:02:22PM +0100, Christian Weisgerber wrote: > Mark Ovens <mark@dogma.freebsd-uk.eu.org> wrote: > > > > Notice that "make install" will install a stripped kernel, i.e. > > > one without all the debugging symbols added by "-g". If you ever > > > > Err, are you sure? > > Yes. > > > This is a debug kernel, installed by ``make install'' > > > > # ls -l /kernel > > -r-xr-xr-x 1 root wheel 8303201 Feb 24 19:46 /kernel > > # file /kernel > > /kernel: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > > dynamically linked, not stripped > > marder-1# > > I guess the kernel isn't stripped of all symbols, only the debugging > ones, see this snippet from the Makefile: > > ${KERNEL}: ${FULLKERNEL} > objcopy --strip-debug ${FULLKERNEL} ${KERNEL} > .endif > > naddy@bigeye[~] ll /kernel /sys/compile/BIGEYE/kernel* > -r-xr-xr-x 1 root wheel 1986324 Feb 7 01:57 /kernel > -rwxr-xr-x 1 root wheel 1986324 Feb 7 01:57 /sys/compile/BIGEYE/kernel > -rwxr-xr-x 1 root wheel 7471207 Feb 7 01:56 /sys/compile/BIGEYE/kernel.debug > > This is simply the result of > > # config -g -r BIGEYE > # cd /sys/compile/BIGEYE > # make depend && make -j2 > # make install > Someone else pointed out that this is version-dependent behaviour. Is your system 4.x? I'm running 3.4-STABLE > -- > Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? -Poster at LinuxWorld 2000 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000226202512.B327>