From 8c59e41422cb55942104dbe1c939ad0f0a74bf73 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 13 Aug 2016 00:53:44 +0000 Subject: nonclangable: Add qemu/arm to the list clang generates atomics and we need to link in -latomic for that, which comes from gcc so keep using gcc for now Signed-off-by: Khem Raj --- conf/nonclangable.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 9da4a11..e0dcb23 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -82,6 +82,16 @@ TOOLCHAIN_pn-nodejs_armv7ve = "gcc" # TOOLCHAIN_pn-x264_x86 = "gcc" +#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:191: undefined reference to `__atomic_fetch_or_4' +#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:210: undefined reference to `__atomic_fetch_or_4' +#| libqemuutil.a(bitmap.o): In function `bitmap_test_and_clear_atomic': +#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:250: undefined reference to `__atomic_fetch_and_4' +#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:262: undefined reference to `__atomic_exchange_4' +#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:273: undefined reference to `__atomic_fetch_and_4' +# We need to link in with -latomic which comes from gcc-runtime anyway so just keep using gcc +# to compile qemu for target +TOOLCHAIN_pn-qemu_arm = "gcc" + CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions " #| configure: error: something wrong with CFLAGS -- cgit v1.2.3-54-g00ecf