GMP failure on Mac OS X 10.5

Torbjorn Granlund tg at swox.com
Mon Feb 18 18:57:56 CET 2008


Matt Fago <fago at earthlink.net> writes:

  I installed gcc 4.2.2 via ../gcc/configure; make; make install and  
  then tried to install GMP 4.2.2 using this new compiler via ./ 
  configure; make; make check
  
  This results in the message:
  
  make  check-TESTS
  /bin/sh: line 1: 28320 Segmentation fault      ${dir}$tst
  FAIL: t-bswap
  PASS: t-constants
  PASS: t-count_zeros
  PASS: t-gmpmax
  PASS: t-hightomask
  PASS: t-modlinv
  /bin/sh: line 1: 28431 Segmentation fault      ${dir}$tst
  FAIL: t-popc
  PASS: t-parity
  PASS: t-sub
  ==================================
  2 of 9 tests failed
  Please report to gmp-bugs at swox.com
  ==================================
  
I am using gcc 4.2.2 on non-apple systems with a core 2 processor, and
there are no problems there.
  
  Additionally, the ./configure script set -march=k8, even though the  
  appropriate value would be -march=nocona. Did not change the test  
  failure of course, but not ideal on this platform?
  
Maybe, maybe not.  Apple never user any nocona (aka 64-bit Pentium 4)
processor.
  
  Building with Apple's supplied gcc [gcc version 4.0.1 (Apple Inc.  
  build 5465)], still gives the ranlib messages above, but the checks  
  all pass.

Really?  Usually Apple's gcc releases miscompile gmp and just about
everything else.

-- 
Torbjörn


More information about the gmp-bugs mailing list