[Bug 258358] Fails to build on riscv: arm_bf16.h: sh: clang-tblgen: Exec format error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Oct 2024 13:01:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258358
--- Comment #20 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=7aa6667623bef7306009d50a571e5e8c7766a174
commit 7aa6667623bef7306009d50a571e5e8c7766a174
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-10-18 12:59:48 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2024-10-18 12:59:48 +0000
lib/clang: Commit cleaned-up workaround for building on RISC-V
There is a long-standing issue on RISC-V around --gc-sections when
statically linking, which affects the bootstrap build of LLVM. Since
fixing this properly has remained a TODO for years, commit the
workaround with documentation so that building natively from source
works out of the box.
PR: 258358
MFC after: 1 week
lib/clang/llvm.build.mk | 8 ++++++++
1 file changed, 8 insertions(+)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.