pkgsrc-Users archive

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

Re: [2017Q2] seamonkey build failure on NetBSD-8 AXP



Unrelated to this, and related to your GIMP issue, could you try
something like this?

If it fails, can you mention what floating point registers are used when
you get SIGFPE?


Index: platform/NetBSD.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/platform/NetBSD.mk,v
retrieving revision 1.51
diff -u -r1.51 NetBSD.mk
--- platform/NetBSD.mk  4 Jul 2017 18:29:24 -0000       1.51
+++ platform/NetBSD.mk  19 Jul 2017 12:27:39 -0000
@@ -118,13 +118,10 @@
 SERIAL_DEVICES?=       /dev/null
 .endif

-# Add -mieee to CFLAGS and FFLAGS for NetBSD->=1.5V-alpha
-.for __tmp__ in 1.5[V-Z] 1.5[A-Z][A-Z]* 1.[6-9]* [2-9].*
-.  if ${MACHINE_PLATFORM:MNetBSD-${__tmp__}-alpha} != ""
-CFLAGS+=       -mieee
-FFLAGS+=       -mieee
-.  endif       # MACHINE_PLATFORM
-.endfor                # __tmp__
+.if (${MACHINE_ARCH} == alpha)
+CFLAGS+=       -mfp-trap-mode=sui
+CFLAGS+=       -mieee-with-inexact
+.endif

 # check for kqueue(2) support, added in NetBSD-1.6J
 .if exists(/usr/include/sys/event.h)


Home | Main Index | Thread Index | Old Index