gmp 4.3.0 failures on Intel Darwin9

Jack Howarth howarth at bromo.med.uc.edu
Thu Apr 23 01:22:49 CEST 2009


   I am seeing four segfaults during the testsuite of gmp 4.3.0
when built on Mac OS X 10.5.6 using the following patch (which 
the fink gmp-4.2.4-1000 package currently uses)...

--- orig/configure.orig 2008-04-01 08:22:25.000000000 +0200
+++ patched/configure   2008-04-01 10:00:15.000000000 +0200
@@ -3454,6 +3454,10 @@
     # duplicate anything.
     #
     gcc_cflags_optlist="cpu arch"
+    case $host in
+          pentium3-apple-darwin*)
+            host_cpu="core2" ;;
+    esac  
     case $host_cpu in
       i386*)
         gcc_cflags_cpu="-mtune=i386 -mcpu=i386 -m386"

creating t-hgcd
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests  -fexceptions -I/sw/include  -m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8 -c t-matrix22.c
/bin/sh ../../libtool --mode=link gcc  -m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8  -L/sw/lib -o t-matrix22  t-matrix22.o ../../tests/libtests.la ../../libgmp.la 
gcc -m32 -O2 -pedantic -fomit-frame-pointer -mtune=k8 -march=k8 -o .libs/t-matrix22 t-matrix22.o  -L/sw/lib ../../tests/.libs/libtests.a /sw/src/fink.build/gmp-4.3.0-1000/gmp-4.3.0/.libs/libgmp.dylib ../../.libs/libgmp.dylib 
creating t-matrix22
make  check-TESTS
/bin/sh: line 1: 69066 Bus error               ${dir}$tst
FAIL: t-asmtype
PASS: t-aors_1
PASS: t-divrem_1
/bin/sh: line 1: 69123 Segmentation fault      ${dir}$tst
FAIL: t-fat
PASS: t-get_d
PASS: t-instrument
PASS: t-iord_u
PASS: t-mp_bases
PASS: t-perfsqr
PASS: t-scan
/bin/sh: line 1: 69251 Segmentation fault      ${dir}$tst
FAIL: t-hgcd
/bin/sh: line 1: 69271 Segmentation fault      ${dir}$tst
FAIL: t-matrix22
==================================
4 of 12 tests failed
Please report to gmp-bugs at swox.com
==================================
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2



More information about the gmp-bugs mailing list