Date: Tue, 04 Oct 2022 10:16:26 +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-JNgXsgUyBP@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/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258358 --- Comment #10 from Alex Richardson <arichardson@FreeBSD.org> --- I am aware a least two workarounds, but none of those can really be committ= ed as is: - Remove -Wl,--gc-sections from all makefiles (will result in larger binari= es) - Rebuilding lib/csu with https://reviews.freebsd.org/D35534 (breaks the bu= ild with older linkers/compilers - not a big deal for RISC-V, but it is for oth= er architecture). As jrtc27@ said in https://reviews.freebsd.org/D35534, the real solution wo= uld be to move the ELF notes so they can't be GC'd, but someone needs to do that work (I don't have time right now). --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258358-40250-JNgXsgUyBP>