Page MenuHomeFreeBSD

D45233.1789001643.diff
No OneTemporary

Size
607 B
Referenced Files
None
Subscribers
None

D45233.1789001643.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
Thu, Sep 10, 12:54 AM (6 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29530728
Default Alt Text
D45233.1789001643.diff (607 B)

Event Timeline