mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 18:37:33 +00:00
libunwind: Build with gold to avoid build failures
The library fails to build with binutils 2.25 and standard ld. This issue is fixed in gcc 5 with no plans to backport to gcc 4. Easiest workaround for now is to use gold as the linker for the library since gold does not have the issue. The bug is x86 only. (From OE-Core rev: 34d517a5626ce2465f776367349bd9e66bf8ed1f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
26648dcd1c
commit
6cd8c8d746
@ -23,6 +23,9 @@ LIBATOMICS_armv5 = "-latomic_ops"
|
||||
LIBATOMICS_armv4 = "-latomic_ops"
|
||||
LIBATOMICS ?= ""
|
||||
|
||||
LDFLAGS_append_x86 = " -fuse-ld=gold"
|
||||
LDFLAGS_append_x86-64 = " -fuse-ld=gold"
|
||||
|
||||
DEPENDS += "${DEPLIBATOMICS}"
|
||||
DEPLIBATOMICS_armv5 = "libatomics-ops"
|
||||
DEPLIBATOMICS_armv4 = "libatomics-ops"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user