gmp 4.3.0 failures on Intel Darwin9

Torbjorn Granlund tg at gmplib.org
Thu Apr 23 07:32:18 CEST 2009


Jack Howarth <howarth at bromo.med.uc.edu> writes:

     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"
  
That is a very strange patch.

If config.guess returns the wrong cpu type, config.guess ought to be
fixed.  Patching configure is never right, since it is aa generated
file.

If you have problems with an unpatched GMP release, please let us know.
The information we need is described here:
http://gmplib.org/manual/Reporting-Bugs.html



-- 
Torbjörn


More information about the gmp-bugs mailing list