summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Smirnov <aleksey.smirnov@yadro.com>2022-12-05 15:30:04 +0300
committerKhem Raj <raj.khem@gmail.com>2022-12-11 21:09:51 -0800
commit63a6101e27af6436eca646d0c887e4c4ed0760ef (patch)
tree26240d160942f79908ace9e106dd3a9c370581b0
parent013b5eeb580bc13b156aaf77d0c1175f75b89671 (diff)
downloadmeta-clang-63a6101e27af6436eca646d0c887e4c4ed0760ef.tar.gz
objcopy: fix path for RISC-V
Make path to OBJCOPY correct for linux-yocto package. Use gcc for now for erlang and pciutils. Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com>
-rw-r--r--conf/nonclangable.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index ecf5fb6..56ecfe3 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -1,3 +1,15 @@
1#linux-ld: ls-caps-vendor.o: relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
2#| clang-14: error: unable to execute command: Segmentation fault (core dumped)
3#| clang-14: error: linker command failed due to signal (use -v to see invocation)
4TOOLCHAIN:pn-pciutils:riscv64 = "gcc"
5
6#| riscv64-yadro-linux-ld: erl_bits.c:(.text+0xc60): undefined reference to `__extendhfsf2'
7#| riscv64-yadro-linux-ld: erl_bits.c:(.text+0x1a8a): undefined reference to `__truncdfhf2'
8TOOLCHAIN:pn-erlang:riscv64 = "gcc"
9
10#| linux-yocto/5.15.72+gitAUTOINC+c6aba7f07a_0b628306d1-r0/temp/run.do_uboot_mkimage.47933: 185: riscv64-yadro-linux-llvm-objcopy: not found
11OBJCOPY:pn-linux-yocto:riscv64:toolchain-clang = "${HOST_PREFIX}objcopy"
12
1#babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel] 13#babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel]
2TOOLCHAIN:pn-babeltrace2 = "gcc" 14TOOLCHAIN:pn-babeltrace2 = "gcc"
3TOOLCHAIN:pn-u-boot = "gcc" 15TOOLCHAIN:pn-u-boot = "gcc"