From owner-freebsd-current@FreeBSD.ORG Fri May 25 10:56:58 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2A0916A400 for ; Fri, 25 May 2007 10:56:58 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9FC13C43E for ; Fri, 25 May 2007 10:56:58 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 3A51B64B9; Fri, 25 May 2007 14:56:57 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 182C8648E; Fri, 25 May 2007 14:56:57 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l4PAq3Ge007380; Fri, 25 May 2007 14:52:03 +0400 (MSD) (envelope-from ru) Date: Fri, 25 May 2007 14:52:03 +0400 From: Ruslan Ermilov To: Roman Divacky Message-ID: <20070525105203.GB6500@rambler-co.ru> References: <20070525095146.GA45288@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VrqPEDrXMn8OVzN4" Content-Disposition: inline In-Reply-To: <20070525095146.GA45288@freebsd.org> User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: No virus found Cc: current@FreeBSD.org Subject: Re: size of kernel after gcc4.2 upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 10:56:58 -0000 --VrqPEDrXMn8OVzN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 25, 2007 at 11:51:46AM +0200, Roman Divacky wrote: > hi >=20 > 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* >=20 > 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? >=20 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, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --VrqPEDrXMn8OVzN4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGVr/TqRfpzJluFF4RAsR+AKCXrQXaLwU6aqmoyZTwPX+/STU7HQCeNEuA Cvg1vDrQAdtVX5ja1ATsVSc= =VJiM -----END PGP SIGNATURE----- --VrqPEDrXMn8OVzN4--