[Bug 258358] Risc-V clang-tblgen: Exec format error

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Sep 2021 03:22:34 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258358

--- Comment #1 from Klaus K├╝chemann <maciphone2_at_googlemail.com> ---
(In reply to Klaus K├╝chemann from comment #0)

well, of course same for llvm-tblgen :

ELF binary type "0" not known.
sh: llvm-tblgen: Exec format error
*** [llvm/Frontend/OpenMP/OMP.h.inc] Error code 126

make[6]: stopped in /usr/src/lib/clang/libllvm
--- cddl/lib__L ---

make[4]: stopped in /usr/src/cddl/lib

make[3]: stopped in /usr/src
--- lib__L ---

-
root_at_rv64:/usr/src # brandelf -v
/usr/obj/usr/src/riscv.riscv64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm-tblgen
File
'/usr/obj/usr/src/riscv.riscv64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm-tblgen'
is of brand 'SVR4' (0).

-
root_at_rv64:/usr/src # cp /usr/bin/llvm-tblgen
/usr/obj/usr/src/riscv.riscv64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm-tblgen
--
...continue ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Sep 08 2021 - 03:22:34 UTC

Original text of this message