[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 17:00:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258358
--- Comment #21 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=6559b303a34b60b2cc2836bc376bec27f3df5b8a
commit 6559b303a34b60b2cc2836bc376bec27f3df5b8a
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-10-18 12:59:48 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2025-12-15 16:58:43 +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.