diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-04-13 22:41:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-19 13:34:42 +0100 |
commit | f40a2d61c846c6c9e7fc7456ad6f5d89621a1e61 (patch) | |
tree | ffdcffcea814306680595a1a44799f2e88959e30 /meta | |
parent | 9a529016efee92cbf6a01383b123bbcb3dc19bd9 (diff) | |
download | poky-f40a2d61c846c6c9e7fc7456ad6f5d89621a1e61.tar.gz |
libunwind: fix build with aarch64
Referred to RP's fix for x86 and x86-64:
34d517a5626ce2465f776367349bd9e66bf8ed1f
libunwind: Build with gold to avoid build failures
Fixed:
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status
(From OE-Core rev: 31d84f67f74b31b479409cfa446b14ac67bb3707)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libunwind/libunwind.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 74afba182f..56905c27b9 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc | |||
@@ -26,6 +26,8 @@ LIBATOMICS ?= "" | |||
26 | LDFLAGS_append_x86 = " -fuse-ld=gold" | 26 | LDFLAGS_append_x86 = " -fuse-ld=gold" |
27 | LDFLAGS_append_x86-64 = " -fuse-ld=gold" | 27 | LDFLAGS_append_x86-64 = " -fuse-ld=gold" |
28 | 28 | ||
29 | LDFLAGS_append_aarch64 = " -fuse-ld=gold" | ||
30 | |||
29 | DEPENDS += "${DEPLIBATOMICS}" | 31 | DEPENDS += "${DEPLIBATOMICS}" |
30 | DEPLIBATOMICS_armv5 = "libatomics-ops" | 32 | DEPLIBATOMICS_armv5 = "libatomics-ops" |
31 | DEPLIBATOMICS_armv4 = "libatomics-ops" | 33 | DEPLIBATOMICS_armv4 = "libatomics-ops" |