pkgsrc-Users archive

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

Re: Pkgsrc LLVM 19.x on i386?



>> gets me a successful build result on NetBSD/i386 9.4.  Should
>
> If you only need it on 9, then yes please limit to 9.
>
> I get it that it's a noop on 10 but better to write it narrowly which
> makes it easier to drop.

Draft modified to:

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 19:27:37 -0000
@@ -126,6 +126,12 @@
 .  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"

Regards,

- Havard


Home | Main Index | Thread Index | Old Index