pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/llvm



Module Name:    pkgsrc
Committed By:   he
Date:           Sat Jun 21 21:38:49 UTC 2025

Modified Files:
        pkgsrc/lang/llvm: Makefile

Log Message:
lang/llvm: On NetBSD/i386 9.x, force use of GCC >= 10.

Gcc8 which is otherwise used blows up with per-process VM
exhaustion, i.e. with memory allocation failure.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 pkgsrc/lang/llvm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.111 pkgsrc/lang/llvm/Makefile:1.112
--- pkgsrc/lang/llvm/Makefile:1.111     Wed May 14 20:56:57 2025
+++ pkgsrc/lang/llvm/Makefile   Sat Jun 21 21:38:49 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2025/05/14 20:56:57 mef Exp $
+# $NetBSD: Makefile,v 1.112 2025/06/21 21:38:49 he Exp $
 #
 # When updating this, please also update:
 # devel/include-what-you-use
@@ -126,6 +126,12 @@ CXXFLAGS+= -mno-pltseq
 .  endif
 .endif
 
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH:Mi386} && ${OS_VERSION:M9.*}
+# Gcc 8 (induced elsewhere) blows up on per-process VM space
+# Ref. https://mail-index.netbsd.org/pkgsrc-users/2025/06/21/msg041678.html
+GCC_REQD+=             10
+.endif
+
 PLIST_SUBST+=  RELEASE_TYPE=${RELEASE_TYPE}
 
 .if ${OPSYS} == "NetBSD"



Home | Main Index | Thread Index | Old Index