Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2007 14:54:38 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-current@freebsd.org
Subject:   Re: size of kernel after gcc4.2 upgrade
Message-ID:  <20070526125438.GA93705@freebsd.org>
In-Reply-To: <f3978f$1ta$1@sea.gmane.org>
References:  <20070525095146.GA45288@freebsd.org> <f3978f$1ta$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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