From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IwdfX-00066W-Lc for mharc-grub-devel@gnu.org; Mon, 26 Nov 2007 08:06:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwdfV-00064I-Qs for grub-devel@gnu.org; Mon, 26 Nov 2007 08:06:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwdfS-000645-Da for grub-devel@gnu.org; Mon, 26 Nov 2007 08:06:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwdfS-000642-53 for grub-devel@gnu.org; Mon, 26 Nov 2007 08:06:30 -0500 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1IwdfR-0000Cz-Oi for grub-devel@gnu.org; Mon, 26 Nov 2007 08:06:29 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 26 Nov 2007 08:06:29 -0500 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 51BA6618FE1; Mon, 26 Nov 2007 08:06:28 -0500 (EST) From: Pavel Roskin To: Lubomir Kundrak In-Reply-To: <1196081685.26555.25.camel@localhost.localdomain> References: <1195873630.7449.8.camel@dv> <1196029564.26555.9.camel@localhost.localdomain> <1196072924.26555.13.camel@localhost.localdomain> <1196080540.13422.7.camel@dv> <1196081685.26555.25.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 26 Nov 2007 08:06:27 -0500 Message-Id: <1196082387.14380.6.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 (2.12.1-3.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: The development of GRUB 2 Subject: Re: [PATCH] Fix for linker build ID in Fedora 8 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: Mon, 26 Nov 2007 13:06:34 -0000 On Mon, 2007-11-26 at 13:54 +0100, Lubomir Kundrak wrote: > On Mon, 2007-11-26 at 07:35 -0500, Pavel Roskin wrote: > > The objcopy test exists to detect certain breakage in objcopy. I'm not > > sure that testing it in the condition that it only copies .text is > > sufficient to find the original problem. Surely, that will need some > > software archeology. The test comes from GRUB 1. Anyway, I'll rather > > test objcopy under conditions close to those used in the build process. > > To be honest, I'm not completely sure either. OK, I understand that you also want the test to pass on native x86_64. I'll try to find more information about the original objcopy problem and make a fix that addresses both the build ID issue and the x86_64 issue. > > And what's the build ID for? Why do we want to keep it? > > It basically makes it possible to match an executable or library with > its core dump and sources it was compiled for. The latter is achieved by > placing the sources to build-specific directory. Fair enough. I've been helped by Fedora's debuginfo more than once. I understand it's OK to strip build ID from anything that is used in the real boot (whether it's affected by the new objcopy bug or not), as we want space saving and we cannot debug it in gdb. -- Regards, Pavel Roskin