size of kernel after gcc4.2 upgrade

Ruslan Ermilov ru at FreeBSD.org
Fri May 25 10:56:58 UTC 2007


On Fri, May 25, 2007 at 11:51:46AM +0200, Roman Divacky wrote:
> hi
> 
> I just noticed that
> spravci ~# ls -l /boot/kernel*/kernel
> -r-xr-xr-x  1 root  wheel  3389971 May 18 12:03 /boot/kernel.old/kernel*
> -r-xr-xr-x  1 root  wheel  5211345 May 25 11:47 /boot/kernel/kernel*
> 
> 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?
> 
My numbers are different (1% for the GENERIC kernel, and this
is with all code changes in-between):

-r-xr-xr-x  1 root  wheel  8942239 Apr 11 16:20 kernel.old/kernel
-r-xr-xr-x  1 root  wheel  9035021 May 24 16:23 kernel/kernel

bde@ also reported a 1% code bloat in another thread, so I think
you should look at your own changes.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070525/b19970e8/attachment.pgp


More information about the freebsd-current mailing list