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



coypu%sdf.org@localhost a écrit :
Unrelated to this, and related to your GIMP issue, could you try
something like this?

	Gimp (2017Q2) runs fine now without any additional patch.

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)

	Same result :

Executing: ../../../.cwrapper/bin/c++ -std=gnu++11 -o plugin-container -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/ffmpeg3 -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -O2 -mcpu=ev56 -mtune=ev56 -mfp-trap-mode=sui -I/usr/X11R7/include/pixman-1 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/ffmpeg3 -mcpu=ev56 -mtune=ev56 -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -O -fomit-frame-pointer /usr/pkgsrc/www/seamonkey/work/build/ipc/app/tmpiOlM_p.list -lpthread -Wl,-R/usr/pkg/lib/seamonkey -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib/pulseaudio -Wl,-R/usr/pkg/lib/pulseaudio -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/pkg/lib/ffmpeg3 -Wl,-R/usr/pkg/lib/ffmpeg3 -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -rdynamic -Wl,-rpath-link,/usr/pkgsrc/www/seamonkey/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib ../../xpcom/glue/libxpcomglue_s.a -pie ../../toolkit/library/libxul.so -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -L/usr/lib -pthread -Wl,--export-dynamic
/usr/pkgsrc/www/seamonkey/work/build/ipc/app/tmpiOlM_p.list:
    INPUT("GMPLoader.o")
    INPUT("MozillaRuntimeMain.o")
    INPUT("../../mozglue/build/dummy.o")
    INPUT("../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o")
    INPUT("../../mozglue/misc/StackWalk.o")
    INPUT("../../mozglue/misc/TimeStamp.o")
    INPUT("../../mozglue/misc/TimeStamp_posix.o")
    INPUT("../../mfbt/Compression.o")
    INPUT("../../mfbt/Decimal.o")
    INPUT("../../mfbt/Unified_cpp_mfbt0.o")
    INPUT("../../memory/fallible/fallible.o")
    INPUT("../../dom/media/gmp/rlz/Unified_cpp_dom_media_gmp_rlz0.o")

../../toolkit/library/libxul.so: undefined reference to `nearbyintf'
../../toolkit/library/libxul.so: undefined reference to `nearbyint'
/usr/pkgsrc/www/seamonkey/work/seamonkey-2.46/mozilla/config/rules.mk:657: recipe for target 'plugin-container' failed
gmake[3]: *** [plugin-container] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/www/seamonkey/work/build/ipc/app'
/usr/pkgsrc/www/seamonkey/work/seamonkey-2.46/mozilla/config/recurse.mk:71: recipe for target 'ipc/app/target' failed
gmake[2]: *** [ipc/app/target] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/seamonkey/work/build'
/usr/pkgsrc/www/seamonkey/work/seamonkey-2.46/mozilla/config/recurse.mk:32: recipe for target 'compile' failed
gmake[1]: *** [compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/seamonkey/work/build'
/usr/pkgsrc/www/seamonkey/work/seamonkey-2.46/mozilla/config/rules.mk:540: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/seamonkey
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/seamonkey

	Best regards,

	JKB



Home | Main Index | Thread Index | Old Index