https://sourceware.org/bugzilla/show_bug.cgi?id=33720

--- Comment #8 from Sam James <sam at gentoo dot org> ---
(In reply to Thomas Debesse from comment #7)
> Thanks, such patch also works.
> 
> When using such patch, this warning is now displayed:
> 
> /usr/bin/ld.bfd: warning: .note.gnu.build-id section discarded, --build-id
> ignored
> 
> Despite it looks harmless to us, this warning having been implemented in ld
> at first is suggesting the patch is not implementing a nominal behavior and
> is a workaround.

That's because your compiler is presumably built with --enable-default-build-id
and hence passing down -Wl,--build-id. bfd then warns it can't honour both.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to