pkgsrc-Users archive

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

Re: Pkgsrc LLVM 19.x on i386?



Hi again,

the diff

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/llvm/Makefile,v
retrieving revision 1.111
diff -u -r1.111 Makefile
--- Makefile    14 May 2025 20:56:57 -0000      1.111
+++ Makefile    21 Jun 2025 17:20:54 -0000
@@ -126,6 +126,12 @@
 .  endif
 .endif
 
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH:Mi386}
+# Gcc 8 (induced elsewhere) blows up on per-process VM space
+# Ref. pkgsrc-users@ (link provided later)
+GCC_REQD+=             10
+.endif
+
 PLIST_SUBST+=  RELEASE_TYPE=${RELEASE_TYPE}
 
 .if ${OPSYS} == "NetBSD"

gets me a successful build result on NetBSD/i386 9.4.  Should
perhaps add a test for OS_VERSION too?

Regards,

- Havard


Home | Main Index | Thread Index | Old Index