gmp 4.3.0 failures on Intel Darwin9

Jack Howarth howarth at
Thu Apr 23 01:50:41 CEST 2009

   I see the same problem when using the gcc-4.2 compiler
in Xcode 3.1.2 to build gmp 4.3.0. In this case, the -mtune=core2
flag is recognized by the compiler and is used instead of -mtune=k8.
The failures are still the same though....

gcc-4.2 -m32 -O2 -pedantic -fomit-frame-pointer -mtune=core2 -march=core2 -o .libs/t-matrix22 t-matrix22.o  -L/sw/lib ../../tests/.libs/libtests.a /sw/src/ ../../.libs/libgmp.dylib 
creating t-matrix22
make  check-TESTS
/bin/sh: line 1: 77562 Segmentation fault      ${dir}$tst
FAIL: t-asmtype
PASS: t-aors_1
PASS: t-divrem_1
/bin/sh: line 1: 77619 Bus error               ${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: 77747 Segmentation fault      ${dir}$tst
FAIL: t-hgcd
/bin/sh: line 1: 77767 Segmentation fault      ${dir}$tst
FAIL: t-matrix22
4 of 12 tests failed
Please report to gmp-bugs at
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
### execution of /var/tmp/tmp.2.z6XZIq failed, exit code 2

This is on a MacBook Pro v2.1 with Core2Duo processor.

More information about the gmp-bugs mailing list