Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MjEOT-0003fb-N5 for mharc-grub-devel@gnu.org; Thu, 03 Sep 2009 11:38:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjEOS-0003f7-Dn for grub-devel@gnu.org; Thu, 03 Sep 2009 11:38:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjEON-0003cn-ME for grub-devel@gnu.org; Thu, 03 Sep 2009 11:38:35 -0400 Received: from [199.232.76.173] (port=33558 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjEON-0003ci-Ip for grub-devel@gnu.org; Thu, 03 Sep 2009 11:38:31 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:59778 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MjEOL-00037R-HD for grub-devel@gnu.org; Thu, 03 Sep 2009 11:38:30 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MjEOJ-0005Dj-MD for grub-devel@gnu.org; Thu, 03 Sep 2009 17:38:27 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MjEOJ-0004u3-3i for grub-devel@gnu.org; Thu, 03 Sep 2009 17:38:27 +0200 Date: Thu, 3 Sep 2009 17:38:27 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090903153827.GB18824@thorin> References: <20090903102204.GU13423@riva.ucam.org> <20090903144740.GJ6656@thorin> <20090903152757.GA13423@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090903152757.GA13423@riva.ucam.org> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] Build with -fno-dwarf2-cfi-asm X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 15:38:36 -0000 On Thu, Sep 03, 2009 at 04:27:57PM +0100, Colin Watson wrote: > On Thu, Sep 03, 2009 at 04:47:40PM +0200, Robert Millan wrote: > > On Thu, Sep 03, 2009 at 11:22:04AM +0100, Colin Watson wrote: > > > I'd like to commit this for 1.97; it's important for users of recent > > > distributions that use GCC 4.4 by default (which is the current release > > > series of GCC). Otherwise, the core is too big to embed when using LVM > > > and RAID (https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/423412). > > > Any objections? > > > > Very nice that you found this. I consider it a bug, and I agree it should > > be fixed in 1.97. > > > > But shouldn't this be handled by `strip' instead? IIRC we already do it > > this way for other unwanted sections. > > I just tried this out. It works in that the image is below 32KB again, > but it's 30424 bytes rather than the 30331 bytes produced by not > generating the unwind information in the first place. > > Based on the discussion in the patchwork.kernel.org URL, I think that > GCC generates unwind information in two places in some cases; only one > of those corresponds to an ELF section. I'm not terribly familiar with > the details, though. Ok. Unless someone knows better, I'm fine with your previous approach. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."