Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151831468
D45233.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
607 B
Referenced Files
None
Subscribers
None
D45233.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 11:25 PM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31314371
Default Alt Text
D45233.id.diff (607 B)
Attached To
Mode
D45233: libcxxrt: allow build with gcc13 and --no-undefined-version
Attached
Detach File
Event Timeline
Log In to Comment