Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LAk53-00058n-UX for mharc-grub-devel@gnu.org; Thu, 11 Dec 2008 06:51:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAk51-00058a-3b for grub-devel@gnu.org; Thu, 11 Dec 2008 06:51:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAk4y-00058O-GC for grub-devel@gnu.org; Thu, 11 Dec 2008 06:51:41 -0500 Received: from [199.232.76.173] (port=36708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAk4y-00058L-AK for grub-devel@gnu.org; Thu, 11 Dec 2008 06:51:40 -0500 Received: from igw3.br.ibm.com ([32.104.18.26]:54984) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAk4x-0001A9-JA for grub-devel@gnu.org; Thu, 11 Dec 2008 06:51:40 -0500 Received: from d24relay01.br.ibm.com (unknown [9.8.31.16]) by igw3.br.ibm.com (Postfix) with ESMTP id 3AA88390118 for ; Thu, 11 Dec 2008 09:48:04 -0200 (BRDT) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mBBCp9MD3547378 for ; Thu, 11 Dec 2008 09:51:09 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mBBBpZtB021646 for ; Thu, 11 Dec 2008 09:51:35 -0200 Received: from [9.8.14.186] ([9.8.14.186]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id mBBBpYLP021634 for ; Thu, 11 Dec 2008 09:51:35 -0200 From: Manoel Rebelo Abranches To: The development of GRUB 2 In-Reply-To: <1228399716.7319.8.camel@manoel-laptop> References: <1228150293.7686.9.camel@manoel-laptop> <49341876.6070003@nic.fi> <1228152895.7686.18.camel@manoel-laptop> <49356D02.4060201@nic.fi> <1228242857.32248.16.camel@dv> <1228399716.7319.8.camel@manoel-laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 11 Dec 2008 09:51:33 -0200 Message-Id: <1228996293.6904.1.camel@manoel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (tstamp-) Subject: Re: [PATCH] --build-id= none in newer ld versions PowerPC 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, 11 Dec 2008 11:51:43 -0000 There are any objections for this patch? Without this grub wont work in PowerPC when using newer ld version. thanks On Thu, 2008-12-04 at 12:08 -0200, Manoel Rebelo Abranches wrote: > Hi made a patch to add --build-id=3Dnone to TARGET_LDFLAGS instead of > MODULE_LDFLAGS. with this it is passed to ld when linking kernel.elf. >=20 > without this kernel.elf creates a additional LOAD segment with a virtua= l > address in PhysAddr witch causes problem with OF and causes > grub-mkelfimage to not work correctly. >=20 > On Tue, 2008-12-02 at 13:34 -0500, Pavel Roskin wrote: > > On Tue, 2008-12-02 at 19:14 +0200, Vesa J=C3=A4=C3=A4skel=C3=A4inen w= rote: > >=20 > > > No no. I mean just KERNEL_LDFLAGS like comparison to MODULE_LDFLAGS= . No > > > elf or nothing like that. Is there any problem if one provides this > > > setting even on x86 if linker recognizes it? (what is being tested > > > here). PPC_BUILD_ID_FLAG just sounds too specific. > > >=20 > > > Isn't EFI also using ELF? I assume this would be beneficial also th= ere. > >=20 > > I agree, we should not be be multiplying hacks. There is already cod= e > > adding -Wl,--build-id=3Dnone to TARGET_LDFLAGS. It's a macro > > grub_PROG_LD_BUILD_ID_NONE in aclocal.m4. What's wrong with it? Doe= s > > it fail to add -Wl,--build-id=3Dnone on PowerPC or is TARGET_LDFLAGS = not > > used to link kernel.elf? > >=20 > > What are the symptoms caused by not using -Wl,--build-id=3Dnone? > >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel --=20 Best Regards, Manoel Abranches IBM Linux Technology Center Brazil