mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 14:02:21 +02:00
libunwind: don't mess around with ARM atomic detection
This recipe explictly sets -DAO_USE_PTHREAD_DEFS on ARM, but with libunwind 1.2 this causes the linker to fail: hidden symbol `__sync_synchronize' in libgcc.a(linux-atomic.o) is referenced by DSO Removing these defines lets configure do the right thing and build libunwind. (From OE-Core rev: f2efadab8b1ab1c50584a39908673e1a6717f753) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7e816be572
commit
e4a45dafda
@@ -13,11 +13,6 @@ PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz"
|
||||
EXTRA_OECONF_arm = "--enable-debug-frame"
|
||||
EXTRA_OECONF_aarch64 = "--enable-debug-frame"
|
||||
|
||||
CFLAGS += "${ATOMICOPS}"
|
||||
ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1"
|
||||
ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1"
|
||||
ATOMICOPS ?= ""
|
||||
|
||||
SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
Reference in New Issue
Block a user