size of kernel after gcc4.2 upgrade

Roman Divacky rdivacky at freebsd.org
Sat May 26 12:54:45 UTC 2007


On Sat, May 26, 2007 at 01:55:50PM +0200, Ivan Voras wrote:
> Roman Divacky wrote:
> 
> > ie. after gcc42 import the kernel size increased roughly by 60% thats
> > a little too much. is there any forgotten option or something that
> > makes the kernel grow so big?
> 
> Ouch, I've just got bitten by this. I'm trying to update a 6.x machine
> to 7-current, and couldn't install the kernel because there's no space
> for in on the root file system. This is an old-style root file system of
> 256 MB. By fiddling around I've managed to free enough space, and I see
> now that my new /boot/kernel's size is 106 MB! This means I can't hold
> both kernel and kernel.old on the root file system.
> 
> This may need to be addressed in upgrade documents. (And others - for
> example, tuning(7) still implicitly recommends a 128 MB root file system).

well.. I dont think that 60% increase of size when you are optimizing for size
is normal. I even think its a "bug" in that sense that something wrong is set
somewhere which causes this.

I certainly dont believe this is normal


More information about the freebsd-current mailing list