diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-02-03 11:48:58 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-03 11:53:41 -0800 |
commit | a4434a00d7fbd212c45c3ecd43ccdc87847f9505 (patch) | |
tree | e49883f026a7dfdee47b1ee406b879b29802fc38 | |
parent | 8030ce2de1167a5a047b7d39c3058fa105fc8164 (diff) | |
download | meta-clang-a4434a00d7fbd212c45c3ecd43ccdc87847f9505.tar.gz |
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 <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 8 |
1 files changed, 8 insertions, 0 deletions
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" | |||
277 | # Fixes clang crash when compiling gnutls-3.7.2/lib/accelerated/aarch64/elf/sha512-armv8.s | 277 | # Fixes clang crash when compiling gnutls-3.7.2/lib/accelerated/aarch64/elf/sha512-armv8.s |
278 | CFLAGS:append:pn-gnutls:toolchain-clang:aarch64 = " -no-integrated-as" | 278 | CFLAGS:append:pn-gnutls:toolchain-clang:aarch64 = " -no-integrated-as" |
279 | 279 | ||
280 | # include/gcc/arm/ck_pr.h:201:1: error: instruction requires: arm-mode | ||
281 | #| CK_PR_DOUBLE_STORE(uint64_t, 64) | ||
282 | #| ^ | ||
283 | #include/gcc/arm/ck_pr.h:192:6: note: expanded from macro 'CK_PR_DOUBLE_STORE' | ||
284 | #| "strexd %1, %3, [%2]\n" \ | ||
285 | #| ^ | ||
286 | CFLAGS:append:pn-concurrencykit:toolchain-clang:arm = " -no-integrated-as" | ||
287 | |||
280 | # regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a | 288 | # regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a |
281 | # space between literal and identifier [-Wreserved-user-defined-literal] | 289 | # space between literal and identifier [-Wreserved-user-defined-literal] |
282 | #| snprintf_func (buf, sizeof(buf), "%"Q"u", x); | 290 | #| snprintf_func (buf, sizeof(buf), "%"Q"u", x); |