grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] --build-id= none in newer ld versions PowerPC


From: Pavel Roskin
Subject: Re: [PATCH] --build-id= none in newer ld versions PowerPC
Date: Tue, 02 Dec 2008 13:34:17 -0500

On Tue, 2008-12-02 at 19:14 +0200, Vesa Jääskeläinen wrote:

> 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.
> 
> Isn't EFI also using ELF? I assume this would be beneficial also there.

I agree, we should not be be multiplying hacks.  There is already code
adding -Wl,--build-id=none to TARGET_LDFLAGS.  It's a macro
grub_PROG_LD_BUILD_ID_NONE in aclocal.m4.  What's wrong with it?  Does
it fail to add -Wl,--build-id=none on PowerPC or is TARGET_LDFLAGS not
used to link kernel.elf?

What are the symptoms caused by not using -Wl,--build-id=none?

-- 
Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]