From fcaf50a77e401038bed373c722e1b5da3c6a152c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 16 Sep 2022 23:05:32 -0700 Subject: qemu,libffi,openssl: Drop clang kludges for arm They are not needed anymore Signed-off-by: Khem Raj --- conf/nonclangable.conf | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index e428b08..52b600f 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -100,16 +100,6 @@ TOOLCHAIN:pn-pseudo = "gcc" TOOLCHAIN:pn-pulseaudio:armv7ve = "gcc" TOOLCHAIN:pn-pulseaudio:armv7a = "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" - #| ./dsp/v4f_IIR2.h:554:12: error: no matching function for call to 'v4f_map' #| a[5] = v4f_map<__builtin_cosf> (f); #| ^~~~~~~~~~~~~~~~~~~~~~~ @@ -150,7 +140,6 @@ CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " #../libffi-3.2.1/src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax? # fldmiadgt ip, {d0-d7} -CFLAGS:append:pn-libffi:arm:toolchain-clang = " -no-integrated-as" CFLAGS:append:pn-libffi:mips64:toolchain-clang = " -no-integrated-as" # ../db-5.3.28/src/mutex/mut_tas.c:150:34: error: unknown directive @@ -164,12 +153,6 @@ CFLAGS:append:pn-libffi:mips64:toolchain-clang = " -no-integrated-as" #| ^ CFLAGS:append:pn-directfb:toolchain-clang:arm = " -no-integrated-as" -# Disable internal assembler for armv7 since it uses gnu assmebly syntax -# which should be preprocessed via gcc/compiler -# -CFLAGS:append:pn-openssl:toolchain-clang:armv7ve = " -no-integrated-as" -CFLAGS:append:pn-openssl:toolchain-clang:armv7a = " -no-integrated-as" - #| threads_pthread.c:(.text+0x372): undefined reference to `__atomic_is_lock_free' EXTRA_OECONF:pn-openssl:toolchain-clang:x86 = "-latomic" -- cgit v1.2.3-54-g00ecf