diff options
author | Aleksey Smirnov <aleksey.smirnov@yadro.com> | 2022-12-08 16:36:26 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-16 19:11:06 -0800 |
commit | f7fa299e3e759f0cd9bcd57fffcf8d9051e5d2ea (patch) | |
tree | 25be4e2d25d329a067aa4b637bcffcc010876a33 | |
parent | dcd5f09d4bacaf14e0c35ac58e64ec68a81cd7ae (diff) | |
download | meta-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.conf | 11 |
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 |
6 | TOOLCHAIN:pn-crash = "gcc" | 6 | TOOLCHAIN:pn-crash = "gcc" |
7 | TOOLCHAIN:pn-elfutils = "gcc" | 7 | TOOLCHAIN: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 | ||
13 | TOOLCHAIN: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) { |
10 | TOOLCHAIN:pn-firefox = "gcc" | 17 | TOOLCHAIN: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 |
409 | RANLIB:append:pn-tcf-agent:toolchain-clang = " $@" | 416 | RANLIB: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 | ||
420 | OBJCOPY: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 |
412 | OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy" | 423 | OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy" |
413 | OBJCOPY:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}objcopy" | 424 | OBJCOPY:pn-libc-bench:toolchain-clang = "${HOST_PREFIX}objcopy" |