summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Smirnov <aleksey.smirnov@yadro.com>2022-12-08 16:36:26 +0300
committerKhem Raj <raj.khem@gmail.com>2022-12-16 19:11:06 -0800
commitf7fa299e3e759f0cd9bcd57fffcf8d9051e5d2ea (patch)
tree25be4e2d25d329a067aa4b637bcffcc010876a33
parentdcd5f09d4bacaf14e0c35ac58e64ec68a81cd7ae (diff)
downloadmeta-clang-f7fa299e3e759f0cd9bcd57fffcf8d9051e5d2ea.tar.gz
nonclangable.conf: Add new exceptions
Add "erlang" for all architectures (found on riscv64 and x86-64) Add "grub" for x86-64 architecture Use proper OBJCOPY for "linux-yocto" for all architectures Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/nonclangable.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index ecf5fb6..f322fa1 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -5,6 +5,13 @@ TOOLCHAIN:pn-cpufrequtils = "gcc"
5# crash embeds version of gdb which is not buildable with clang 5# crash embeds version of gdb which is not buildable with clang
6TOOLCHAIN:pn-crash = "gcc" 6TOOLCHAIN:pn-crash = "gcc"
7TOOLCHAIN:pn-elfutils = "gcc" 7TOOLCHAIN:pn-elfutils = "gcc"
8
9#| erl_bits.c:(.text+0xc2a): undefined reference to `__extendhfsf2'
10#| erl_bits.c:(.text+0x1bfa): undefined reference to `__truncsfhf2'
11#| clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
12# both riscv64 and x86-64
13TOOLCHAIN:pn-erlang = "gcc"
14
8# /mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/firefox/60.1.0esr-r0/recipe-sysroot-native/usr/lib/clang/7.0.1/include/arm_neon.h:433:1: error: unknown type name 'inline' 15# /mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/firefox/60.1.0esr-r0/recipe-sysroot-native/usr/lib/clang/7.0.1/include/arm_neon.h:433:1: error: unknown type name 'inline'
9# __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) { 16# __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) {
10TOOLCHAIN:pn-firefox = "gcc" 17TOOLCHAIN:pn-firefox = "gcc"
@@ -408,6 +415,10 @@ TOOLCHAIN:pn-python3-grpcio-tools:mips = "gcc"
408# <cross>-llvn-ranlib has same behaviour 415# <cross>-llvn-ranlib has same behaviour
409RANLIB:append:pn-tcf-agent:toolchain-clang = " $@" 416RANLIB:append:pn-tcf-agent:toolchain-clang = " $@"
410 417
418# Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table
419# also seen on riscv64 and x86-64
420OBJCOPY:pn-linux-yocto:toolchain-clang = "${HOST_PREFIX}objcopy"
421
411# see https://github.com/llvm/llvm-project/issues/53948 422# see https://github.com/llvm/llvm-project/issues/53948
412OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy" 423OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy"
413OBJCOPY:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}objcopy" 424OBJCOPY:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}objcopy"