From d89e06ad94a46f6810d0a8787004b71b8ecaf87d Mon Sep 17 00:00:00 2001 From: Aleksey Smirnov Date: Thu, 8 Dec 2022 16:36:26 +0300 Subject: 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 Signed-off-by: Khem Raj --- conf/nonclangable.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 @@ TOOLCHAIN:pn-cpufrequtils = "gcc" +TOOLCHAIN:pn-grub:genericx86-64 = "gcc" # | grub-mkimage: error: relocation 0x2b is not implemented yet. TOOLCHAIN:pn-grub-efi:aarch64 = "gcc" TOOLCHAIN:pn-grub-efi:riscv32 = "gcc" @@ -12,6 +13,13 @@ TOOLCHAIN:pn-grub:aarch64 = "gcc" TOOLCHAIN:pn-crash = "gcc" # | ../../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] TOOLCHAIN:pn-elfutils:libc-glibc = "gcc" + +#| erl_bits.c:(.text+0xc2a): undefined reference to `__extendhfsf2' +#| erl_bits.c:(.text+0x1bfa): undefined reference to `__truncsfhf2' +#| clang-15: error: linker command failed with exit code 1 (use -v to see invocation) +# both riscv64 and x86-64 +TOOLCHAIN:pn-erlang = "gcc" + # /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' # __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) { TOOLCHAIN:pn-firefox = "gcc" @@ -301,7 +309,8 @@ LTO:pn-cairo:toolchain-clang = "" RANLIB:append:pn-tcf-agent:toolchain-clang = " $@" # Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table -OBJCOPY:pn-linux-yocto:toolchain-clang:mips = "${HOST_PREFIX}objcopy" +# also seen on riscv64 and x86-64 +OBJCOPY:pn-linux-yocto:toolchain-clang = "${HOST_PREFIX}objcopy" # see https://github.com/llvm/llvm-project/issues/53948 OBJCOPY:pn-opensbi:toolchain-clang = "${HOST_PREFIX}objcopy" -- cgit v1.2.3-54-g00ecf