[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: Mon, 15 Dec 2025 18:20:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258358
--- Comment #22 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=fc195afbb4cbbd0f5624717ae66787c64ef1f9a4
commit fc195afbb4cbbd0f5624717ae66787c64ef1f9a4
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-10-18 12:59:48 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2025-12-15 17:56:35 +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
(cherry picked from commit 7aa6667623bef7306009d50a571e5e8c7766a174)
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.