From owner-freebsd-current@FreeBSD.ORG Sat May 26 14:04:25 2007 Return-Path: X-Original-To: freebsd-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 191E916A421 for ; Sat, 26 May 2007 14:04:25 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id C903213C45B for ; Sat, 26 May 2007 14:04:24 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C425E8BF7E0; Sat, 26 May 2007 16:04:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9voRSma84XiX; Sat, 26 May 2007 16:04:21 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BCC0A8BF2CF; Sat, 26 May 2007 16:04:21 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l4QE4L9s097847; Sat, 26 May 2007 16:04:21 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 26 May 2007 16:04:21 +0200 From: Roman Divacky To: Stefan Ehmann Message-ID: <20070526140421.GA97649@freebsd.org> References: <20070525095146.GA45288@freebsd.org> <20070526125438.GA93705@freebsd.org> <200705261554.38444.shoesoft@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705261554.38444.shoesoft@gmx.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Ivan Voras 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: Sat, 26 May 2007 14:04:25 -0000 On Sat, May 26, 2007 at 03:54:37PM +0200, Stefan Ehmann wrote: > On Saturday 26 May 2007 15:15:34 Ivan Voras wrote: > > Roman Divacky wrote: > > > 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 > > > > I'm using the default make flags. In my case, it's release, > > non-debugging 6-RELEASE kernel of 26 MB vs debugging kernel of 7-CURRENT > > of 106 MB :) > > I guess that's due to /boot/kernel/*.symbols which are not present in my 6.2 > installation. gcc42 file size increase shouldn't be that much. thats the problem. with -Os and gcc42 the kernel increases A LOT (60%), other optimization levels doesnt seem to be affected