Date: Sun, 19 Sep 2021 21:19:24 +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-Z1AGbI4y8x@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 #8 from Klaus K=C3=BCchemann <maciphone2@googlemail.com> --- Just to confirm : make clean in /usr/src (no src/make.conf), applied patch : -- lib/clang/llvm.build.mk -- @@ -104,7 +104,7 @@ CFLAGS+=3D -fdata-sections .if ${LINKER_TYPE} =3D=3D "mac" LDFLAGS+=3D -Wl,-dead_strip .else -LDFLAGS+=3D -Wl,--gc-sections +LDFLAGS+=3D -Wl,--gc-sections,-melf64lriscv_fbsd .endif -- Result: -------------------------------------------------------------- >>> World build completed on Sun Sep 19 20:47:54 UTC 2021 >>> World built in 50245 seconds, ncpu: 4, make -j4 -------------------------------------------------------------- <hw.fdt.model: SiFive HiFive Unleashed A00> (from 16 to 13 hours by hacked clocking from default 1Ghz to hw.clock.coreclk.frequency: 1399999944 ) I`ll leave it up to you to mark this pr as fixed/closed or to wait with it until yours official solution(s). thanks K. --=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-Z1AGbI4y8x>