Date: Mon, 15 Dec 2025 18:20:09 +0000 From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258358] Fails to build on riscv: arm_bf16.h: sh: clang-tblgen: Exec format error Message-ID: <bug-258358-40250-uv47qBF4Se@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-258358-40250@https.bugs.freebsd.org/bugzilla/> References: <bug-258358-40250@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258358-40250-uv47qBF4Se>
