summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-21 12:40:46 -0800
committerKhem Raj <raj.khem@gmail.com>2021-03-01 11:12:14 -0800
commit32de0cf88de07fad392580913fe4e2f19915a021 (patch)
tree3e6e0150823fb08e7826e1c4df65478ba03a205e
parentd4226211a28a9c82be6b6390818076a22f148964 (diff)
downloadmeta-clang-32de0cf88de07fad392580913fe4e2f19915a021.tar.gz
nettle: Disable internal asm on ppc64
generated asm files use .0: label which is not understood with internal asm, gnu as does fine job Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/nonclangable.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 5afed6f..0799db5 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -230,6 +230,13 @@ CFLAGS_append_pn-libsdl2_toolchain-clang_arm = " -no-integrated-as"
230# ^ 230# ^
231CFLAGS_append_pn-luajit_toolchain-clang_mips = " -no-integrated-as" 231CFLAGS_append_pn-luajit_toolchain-clang_mips = " -no-integrated-as"
232 232
233# Generated asm file can not be compiled with clang assembler due to presence of .0 label
234# and its references
235#| aes-decrypt-internal-2.s:368:1: error: unexpected token at start of statement
236#| .0:
237#| ^
238CFLAGS_append_pn-nettle_toolchain-clang_powerpc64le = " -no-integrated-as"
239
233# regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a 240# regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a
234# space between literal and identifier [-Wreserved-user-defined-literal] 241# space between literal and identifier [-Wreserved-user-defined-literal]
235#| snprintf_func (buf, sizeof(buf), "%"Q"u", x); 242#| snprintf_func (buf, sizeof(buf), "%"Q"u", x);