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-12 10:39:16 -0800 |
| commit | d89e06ad94a46f6810d0a8787004b71b8ecaf87d (patch) | |
| tree | 5d991850cef6ba54dae975f698e4edecf03ca9f0 | |
| parent | 3b030869732a751a7e67c37cb477658fd4d9cc1d (diff) | |
| download | meta-clang-d89e06ad94a46f6810d0a8787004b71b8ecaf87d.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, 10 insertions, 1 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 225fa4b..d29fe91 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | TOOLCHAIN:pn-cpufrequtils = "gcc" | 1 | TOOLCHAIN:pn-cpufrequtils = "gcc" |
| 2 | 2 | ||
| 3 | TOOLCHAIN:pn-grub:genericx86-64 = "gcc" | ||
| 3 | # | grub-mkimage: error: relocation 0x2b is not implemented yet. | 4 | # | grub-mkimage: error: relocation 0x2b is not implemented yet. |
| 4 | TOOLCHAIN:pn-grub-efi:aarch64 = "gcc" | 5 | TOOLCHAIN:pn-grub-efi:aarch64 = "gcc" |
| 5 | TOOLCHAIN:pn-grub-efi:riscv32 = "gcc" | 6 | TOOLCHAIN:pn-grub-efi:riscv32 = "gcc" |
| @@ -12,6 +13,13 @@ TOOLCHAIN:pn-grub:aarch64 = "gcc" | |||
| 12 | TOOLCHAIN:pn-crash = "gcc" | 13 | TOOLCHAIN:pn-crash = "gcc" |
| 13 | # | ../../elfutils-0.187/libasm/asm_newscn.c:49:22: error: field 'pattern' with variable sized type 'struct FillPattern' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end] | 14 | # | ../../elfutils-0.187/libasm/asm_newscn.c:49:22: error: field 'pattern' with variable sized type 'struct FillPattern' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end] |
| 14 | TOOLCHAIN:pn-elfutils:libc-glibc = "gcc" | 15 | TOOLCHAIN:pn-elfutils:libc-glibc = "gcc" |
| 16 | |||
| 17 | #| erl_bits.c:(.text+0xc2a): undefined reference to `__extendhfsf2' | ||
| 18 | #| erl_bits.c:(.text+0x1bfa): undefined reference to `__truncsfhf2' | ||
| 19 | #| clang-15: error: linker command failed with exit code 1 (use -v to see invocation) | ||
| 20 | # both riscv64 and x86-64 | ||
| 21 | TOOLCHAIN:pn-erlang = "gcc" | ||
| 22 | |||
| 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' | 23 | # /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' |
| 16 | # __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) { | 24 | # __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) { |
| 17 | TOOLCHAIN:pn-firefox = "gcc" | 25 | TOOLCHAIN:pn-firefox = "gcc" |
| @@ -301,7 +309,8 @@ LTO:pn-cairo:toolchain-clang = "" | |||
| 301 | RANLIB:append:pn-tcf-agent:toolchain-clang = " $@" | 309 | RANLIB:append:pn-tcf-agent:toolchain-clang = " $@" |
| 302 | 310 | ||
| 303 | # Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table | 311 | # Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table |
| 304 | OBJCOPY:pn-linux-yocto:toolchain-clang:mips = "${HOST_PREFIX}objcopy" | 312 | # also seen on riscv64 and x86-64 |
| 313 | OBJCOPY:pn-linux-yocto:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
| 305 | 314 | ||
| 306 | # see https://github.com/llvm/llvm-project/issues/53948 | 315 | # see https://github.com/llvm/llvm-project/issues/53948 |
| 307 | OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy" | 316 | OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy" |
