Re: size of kernel after gcc4.2 upgrade

From: Roman Divacky <rdivacky_at_freebsd.org>
Date: Sat, 26 May 2007 14:54:38 +0200
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
Received on Sat May 26 2007 - 10:54:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC