Page MenuHomeFreeBSD

D45233.1783975117.diff
No OneTemporary

Size
607 B
Referenced Files
None
Subscribers
None

D45233.1783975117.diff

diff --git a/lib/libcxxrt/Makefile b/lib/libcxxrt/Makefile
--- a/lib/libcxxrt/Makefile
+++ b/lib/libcxxrt/Makefile
@@ -42,3 +42,13 @@
.endif
.include <bsd.lib.mk>
+
+# gcc13 doesn't support _Float16 on riscv, powerpc64, and x86 or __int128
+# on i386. Disable checks for missing symbols to allow this to link.
+#
+# XXX: This is a hack that hides an ABI divergence between clang and gcc.
+.if ${COMPILER_TYPE} == "gcc" && \
+ (${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_ARCH:Mpowerpc64*} || ${MACHINE_ARCH} == "riscv64")
+LDFLAGS+= -Wl,--undefined-version
+.endif

File Metadata

Mime Type
text/plain
Expires
Mon, Jul 13, 8:38 PM (21 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29117346
Default Alt Text
D45233.1783975117.diff (607 B)

Event Timeline