[Bug 270610] makeworld fails on riscv64
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270610] makeworld fails on riscv64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Apr 2023 21:22:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270610 Bug ID: 270610 Summary: makeworld fails on riscv64 Product: Base System Version: 13.2-RELEASE Hardware: riscv OS: Any Status: New Severity: Affects Only Me Priority: --- Component: riscv Assignee: riscv@FreeBSD.org Reporter: fuz@FreeBSD.org CC: re@FreeBSD.org Flags: mfc-stable13? Building 13.2-RC6 on a 13.1-RELEASE riscv64 system fails with an exec format error during the build tools stage: --- llvm/Frontend/OpenMP/OMP.inc --- sh: llvm-tblgen: Exec format error ELF binary type "0" not known. The issue can be worked around by branding the llvm-tblgen binary manually: # brandelf -t FreeBSD /usr/obj/usr/src/riscv.riscv64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm-tblgen # brandelf -t FreeBSD /usr/obj/usr/src/riscv.riscv64/tmp/legacy/bin/llvm-tblgen I have not tested building any other FreeBSD versions. -- You are receiving this mail because: You are the assignee for the bug.