diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-08 11:40:38 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-10 15:50:02 -0700 |
commit | a3f19a5fd2728f3f4c33ce9dd0bfc3a7a559dba4 (patch) | |
tree | 0389d44ab5690c65b7c423d4cb532af6d205dd1c | |
parent | 1b9758f9f27aa5714e1732e08aaea3e60ce18d74 (diff) | |
download | meta-clang-a3f19a5fd2728f3f4c33ce9dd0bfc3a7a559dba4.tar.gz |
pixman: Fix build with mips/arm on clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index ccb6c2c..30aa9c0 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -73,12 +73,6 @@ TOOLCHAIN:pn-icu:armv5 = "gcc" | |||
73 | #../../libgcrypt-1.6.5/mpi/mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions | 73 | #../../libgcrypt-1.6.5/mpi/mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions |
74 | TOOLCHAIN:pn-libgcrypt:mips64 = "gcc" | 74 | TOOLCHAIN:pn-libgcrypt:mips64 = "gcc" |
75 | 75 | ||
76 | #| ../../pixman-0.34.0/test/utils-prng.c:131:29: error: cannot convert between vector type '__attribute__((__vector_size__(16 * sizeof(char)))) char' (vector of 16 'char' values) and vector type 'uint8x16' (vector of 16 'uint8_t' values) as implicit conversion would cause truncation | ||
77 | #| randdata.vb |= (t.vb >= const_C0#); | ||
78 | #| ^ | ||
79 | # also see http://lists.llvm.org/pipermail/llvm-dev/2016-October/105997.html | ||
80 | TOOLCHAIN:pn-pixman:arm = "gcc" | ||
81 | |||
82 | #recipe-sysroot/usr/include/mozjs-60/mozilla/Span.h:634:5: error: statement not allowed in constexpr function | 76 | #recipe-sysroot/usr/include/mozjs-60/mozilla/Span.h:634:5: error: statement not allowed in constexpr function |
83 | #| MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent || | 77 | #| MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent || |
84 | #| ^ | 78 | #| ^ |
@@ -427,3 +421,14 @@ OBJDUMP:pn-libbsd:mips:toolchain-clang = "${HOST_PREFIX}objdump" | |||
427 | # Need OBJDUMP during do_package_qa which is set to llvm-objdump with meta-clang | 421 | # Need OBJDUMP during do_package_qa which is set to llvm-objdump with meta-clang |
428 | # it might work with GNU objdump since it falls back to one from build host | 422 | # it might work with GNU objdump since it falls back to one from build host |
429 | DEPENDS:pn-linux-firmware:append:toolchain-clang = " clang-native" | 423 | DEPENDS:pn-linux-firmware:append:toolchain-clang = " clang-native" |
424 | |||
425 | # Needs for solving fopenmp issues | ||
426 | DEPENDS:append:pn-pixman:mips:toolchain-clang = " openmp" | ||
427 | #| ../pixman-0.40.0/pixman/pixman-arm-neon-asm.S:3625:1: note: while in macro instantiation | ||
428 | #| generate_bilinear_scanline_func pixman_scaled_bilinear_scanline_0565_0565_SRC_asm_neon, 0565, 0565, 1, 1, 28, BILINEAR_FLAG_UNROLL_4 | ||
429 | #| ^ | ||
430 | #| <instantiation>:134:1: error: unknown directive | ||
431 | #| .endfunc | ||
432 | #| ^ | ||
433 | CFLAGS:append:pn-pixman:arm:toolchain-clang = " -no-integrated-as" | ||
434 | |||