On Sun, 5 Jan 2003, Alexander Leidinger wrote:

> On Sun, 5 Jan 2003 22:14:26 +1000 (EST)
> Andy Farkas <[EMAIL PROTECTED]> 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).

It also builds modules.  Normal bloat for -current is a measly factor of
2 or so.

My kernel compile directory has size 340MB, but it has 9 kernels
including GENERIC and LINT and copies of *.o in all of them.  My normal
kernel takes 12MB including 4M for a copy of *.o; GENERIC takes 135MB
including 50MB for the copy.  This is with modules avoided as far as
possible; building modules would more than double the size of everything.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to