mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
libunwind: use gold for all archs
At least the following boards have build errors without using gold: qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc. The error is: ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid ld: failed to set dynamic section sizes: Bad value ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid ld: failed to set dynamic section sizes: Bad value | collect2: error: ld returned 1 exit status So use gold for all archs to fix the problem. (From OE-Core rev: 3dd233ac0c80393824100c54bb525236f8290fd2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
25217da523
commit
8fb1cd85d0
@@ -23,10 +23,7 @@ LIBATOMICS_armv5 = "-latomic_ops"
|
||||
LIBATOMICS_armv4 = "-latomic_ops"
|
||||
LIBATOMICS ?= ""
|
||||
|
||||
LDFLAGS_append_x86 = " -fuse-ld=gold"
|
||||
LDFLAGS_append_x86-64 = " -fuse-ld=gold"
|
||||
|
||||
LDFLAGS_append_aarch64 = " -fuse-ld=gold"
|
||||
LDFLAGS_append = " -fuse-ld=gold"
|
||||
|
||||
DEPENDS += "${DEPLIBATOMICS}"
|
||||
DEPLIBATOMICS_armv5 = "libatomics-ops"
|
||||
|
||||
Reference in New Issue
Block a user