From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 02:44:57 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38AC937B401; Wed, 2 Apr 2003 02:44:57 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C719743FB1; Wed, 2 Apr 2003 02:44:53 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h32AinAP027981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Apr 2003 13:44:50 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.8/8.12.8/Submit) id h32AieO3027938; Wed, 2 Apr 2003 13:44:40 +0300 (EEST) (envelope-from ru) Date: Wed, 2 Apr 2003 13:44:39 +0300 From: Ruslan Ermilov To: Bruce Evans Message-ID: <20030402104439.GA26900@sunbay.com> References: <20030329190908R.matusita@jp.FreeBSD.org> <3E857E9C.F7476A32@mindspring.com> <20030329203005.GB94956@sunbay.com> <20030331150348.GD21700@sunbay.com> <20030401194712.GA10151@dragon.nuxi.com> <20030402151519.U25349@gamplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20030402151519.U25349@gamplex.bde.org> User-Agent: Mutt/1.5.4i cc: Makoto Matsushita cc: current@freebsd.org Subject: Re: FreeBSD/alpha kern.flp flood X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 02 Apr 2003 10:44:57 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 02, 2003 at 03:24:59PM +1000, Bruce Evans wrote: > On Tue, 1 Apr 2003, David O'Brien wrote: >=20 > > On Mon, Mar 31, 2003 at 06:03:48PM +0300, Ruslan Ermilov wrote: > > > Anyway, I've committed the fix to release/Makefile that strips > > > the .comment section out from the BOOTMFS kernel. If you have > > > time, you can exploit the effect of this by changing sweaping > > > over src/sys/ and changing rcsid =3D "$FreeBSD$" lines to be > > > __FBSDID() -- that would put these IDs in the .comment section, > > > thus reducing the size of the stripped kernel by a few more > > > kilobytes. > > > > Why can't the bits be built with -Dlint to remove rcsid's. >=20 > This would make little difference, since using __FBSDID() or rcsid[] > in kernel sources is a style bugs, and most of the sources are missing > this style bug. >=20 I'd hardly call it a bug, since style(9) explicitly says C files should use __FBSDID(). > Most of the savings from stripping commits is from removing verbose compi= ler > id "GCC: (GNU) 3.2.1 [FreeBSD] 20021119 (release)". >=20 And I wondered why I get so huge savings where only few files put $FreeBSD$ into a .comment by way of __FBSDID(). Sure, ``objdump -s -j .comment kernel'' is full of these. David, can we get rid of the .comment section for the normal builds too, or at least not put these long GCC strings into? Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+ir8XUkv4P6juNwoRAse0AJ9bl2HZZoKipE+/sLcTRCxqtKjO1gCbBo+S Oc0Y7xFC4cuXL7I5cUgavMI= =cIqt -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--