pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust187: On NetBSD/x86_64 9.x, use newer gcc to avoid issue w/pkgsrc LLVM 19.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Sat Jun 21 17:21:40 2025 +0200
Changeset: 43de3a83ccfce3ca81d7274322ca10e722466363
Modified Files:
rust187/options.mk
Log Message:
rust187: On NetBSD/x86_64 9.x, use newer gcc to avoid issue w/pkgsrc LLVM 19.
Apparently, using pkgsrc LLVM 19.x does not work on
NetBSD/x86_64 9.x unless rust is built with a newer
gcc than the platform-included 7.5.0. Ref.
https://gnats.netbsd.org/59435 and
https://mail-index.netbsd.org/pkgsrc-users/2025/05/20/msg041603.html
and following discussion.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=43de3a83ccfce3ca81d7274322ca10e722466363
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust187/options.mk | 12 ++++++++++++
1 file changed, 12 insertions(+)
diffs:
diff --git a/rust187/options.mk b/rust187/options.mk
index 999196b96b..1ddbbdc0eb 100644
--- a/rust187/options.mk
+++ b/rust187/options.mk
@@ -48,6 +48,18 @@ GCC_REQD+= 12
GCC_REQD+= 14
.endif
+# Apparently, using pkgsrc LLVM 19.x does not work on
+# NetBSD/x86_64 9.x unless rust is built with a newer
+# gcc than the platform-included 7.5.0. Ref.
+# https://gnats.netbsd.org/59435 and
+# https://mail-index.netbsd.org/pkgsrc-users/2025/05/20/msg041603.html
+# and following discussion.
+.if empty(PKG_OPTIONS:Mrust-internal-llvm)
+. if ${MACHINE_PLATFORM:MNetBSD-9.*-x86_64}
+GCC_REQD+= 10
+. endif
+.endif
+
#
# Use the internal copy of LLVM or the external one?
#
Home |
Main Index |
Thread Index |
Old Index