diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-04-20 01:05:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-21 07:20:24 +0100 |
commit | 8fb1cd85d09cee9dafa77c32c73ffec83fe52ada (patch) | |
tree | ef0c92e0908aacd85a4999bf62f23d51f5624b41 /meta/recipes-support | |
parent | 25217da5233ee8216940efc7a7b5f944a9bc8fea (diff) | |
download | poky-8fb1cd85d09cee9dafa77c32c73ffec83fe52ada.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 56905c27b9..c4a7b5e203 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc | |||
@@ -23,10 +23,7 @@ LIBATOMICS_armv5 = "-latomic_ops" | |||
23 | LIBATOMICS_armv4 = "-latomic_ops" | 23 | LIBATOMICS_armv4 = "-latomic_ops" |
24 | LIBATOMICS ?= "" | 24 | LIBATOMICS ?= "" |
25 | 25 | ||
26 | LDFLAGS_append_x86 = " -fuse-ld=gold" | 26 | LDFLAGS_append = " -fuse-ld=gold" |
27 | LDFLAGS_append_x86-64 = " -fuse-ld=gold" | ||
28 | |||
29 | LDFLAGS_append_aarch64 = " -fuse-ld=gold" | ||
30 | 27 | ||
31 | DEPENDS += "${DEPLIBATOMICS}" | 28 | DEPENDS += "${DEPLIBATOMICS}" |
32 | DEPLIBATOMICS_armv5 = "libatomics-ops" | 29 | DEPLIBATOMICS_armv5 = "libatomics-ops" |