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-17 22:50:25 +0100 |
commit | 31d84f67f74b31b479409cfa446b14ac67bb3707 (patch) | |
tree | c96441ae8de97bc854a933b7a5c511beef775286 /meta/recipes-support | |
parent | 53c8a954e699b3ae3e7a0a2b3860cf7c9ad1288e (diff) | |
download | openembedded-core-31d84f67f74b31b479409cfa446b14ac67bb3707.tar.gz openembedded-core-31d84f67f74b31b479409cfa446b14ac67bb3707.tar.bz2 openembedded-core-31d84f67f74b31b479409cfa446b14ac67bb3707.zip |
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
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-support')
-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 ?= "" LDFLAGS_append_x86 = " -fuse-ld=gold" LDFLAGS_append_x86-64 = " -fuse-ld=gold" +LDFLAGS_append_aarch64 = " -fuse-ld=gold" + DEPENDS += "${DEPLIBATOMICS}" DEPLIBATOMICS_armv5 = "libatomics-ops" DEPLIBATOMICS_armv4 = "libatomics-ops" |