From a4434a00d7fbd212c45c3ecd43ccdc87847f9505 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Feb 2022 11:48:58 -0800 Subject: concurrencykit: Disable internal clang assembler The code has inline arm asm in header files which is not compilable with clang's internal assembler. Signed-off-by: Khem Raj --- conf/nonclangable.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index ef0f64f..085d195 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -277,6 +277,14 @@ CFLAGS:append:pn-nettle:toolchain-clang:powerpc64le = " -no-integrated-as" # Fixes clang crash when compiling gnutls-3.7.2/lib/accelerated/aarch64/elf/sha512-armv8.s CFLAGS:append:pn-gnutls:toolchain-clang:aarch64 = " -no-integrated-as" +# include/gcc/arm/ck_pr.h:201:1: error: instruction requires: arm-mode +#| CK_PR_DOUBLE_STORE(uint64_t, 64) +#| ^ +#include/gcc/arm/ck_pr.h:192:6: note: expanded from macro 'CK_PR_DOUBLE_STORE' +#| "strexd %1, %3, [%2]\n" \ +#| ^ +CFLAGS:append:pn-concurrencykit:toolchain-clang:arm = " -no-integrated-as" + # regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a # space between literal and identifier [-Wreserved-user-defined-literal] #| snprintf_func (buf, sizeof(buf), "%"Q"u", x); -- cgit v1.2.3-54-g00ecf