Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2003 15:42:32 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Andy Farkas <andyf@speednet.com.au>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: kernel compile bloat
Message-ID:  <20030105154232.48bc4879.Alexander@Leidinger.net>
In-Reply-To: <20030105220017.T14049-100000@hewey.af.speednet.com.au>
References:  <20030105220017.T14049-100000@hewey.af.speednet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Jan 2003 22:14:26 +1000 (EST)
Andy Farkas <andyf@speednet.com.au> wrote:

> 
> Why does compiling a kernel (make buildkernel KERNCONF=GENERIC) take
> 7 times as much space on 5.0-current than it does on 4.7-stable?
> 
> On a 4.7-stable box, /usr/obj/usr/src/sys totals 34 MB.
> 
> On a 5.0-current box, /usr/obj/usr/src/sys totals 270 MB!
> 
> (for each box, I rm /usr/obj/*, make buildworld, then make buildkernel
> KERNCONF=GENERIC)

Because debug symbols are enabled in 5.0 for kernel compiles (the
installed kernel is without debug symbols, but in your kernel build
directory should also be a much larger kernel.debug).

Bye,
Alexander.

-- 
                      Loose bits sink chips.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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