tech-pkg archive

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

netbsd/mips64 uses a 32bit ABI.



Title.

I ran into a build failure of devel/nss because all mips64*
is in LP64_PLATFORMS:
drbg.c:531:5: note: in expansion of macro 'PR_STATIC_ASSERT'
     PR_STATIC_ASSERT(sizeof(size_t) > 4);
     ^

MIPS has lots of ABIs. for some reason netbsd/mips uses n32
whenever possib. it's not alone, but most don't do this.

Idea:

Index: bsd.prefs.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.prefs.mk,v
retrieving revision 1.387
diff -u -p -u -r1.387 bsd.prefs.mk
--- bsd.prefs.mk	13 Jun 2016 13:26:42 -0000	1.387
+++ bsd.prefs.mk	2 Oct 2016 09:35:33 -0000
@@ -754,7 +754,8 @@ _SYS_VARS.dirs=		WRKDIR DESTDIR PKG_SYSC
 # Keywords: BROKEN_ON_PLATFORM 64bit
 #
 LP64PLATFORMS=		*-*-aarch64 *-*-aarch64eb *-*-alpha *-*-ia64 \
-			*-*-mips64eb *-*-mips64el *-*-powerpc64 *-*-riscv64 \
+			*-*-mips64* freebsd-*-mips64* linux-*-mips64* \
+			openbsd-*-mips64* *-*-powerpc64 *-*-riscv64 \
 			*-*-sparc64 *-*-x86_64
 
 # Lists of big-endian and little-endian platforms, to be used with


Yes, I know it's gross.


Home | Main Index | Thread Index | Old Index