gmp 64 bit configure failure on Solaris/SPARC

Torbjörn Granlund tg at gmplib.org
Wed Mar 29 21:43:52 UTC 2017


Norm Jacobs <norm.jacobs at oracle.com> writes:

     --- gmp-6.1.1/configure.ac.orig 2017-01-04 20:22:16.789422430 +0000
     +++ gmp-6.1.1/configure.ac      2017-01-04 20:47:35.488157345 +0000
     @@ -1318,7 +1318,7 @@
           # reject ABI=64 in favour of ABI=32 if the user has forced the flags to
           # 32-bit mode.
           #
     -    abilist="32"
     +    abilist="64 32"
           cclist="gcc acc cc"
           any_testlist="sizeof-long-4"
           GMP_INCLUDE_MPN(sparc32/sparc-defs.m4)
  
That's not the correct fix.

What needs to be fixed is CPU recognition, i.e., to have config.guess
return the proper CPU type, then make that type (assuming it is unknown
by GMP) be known to the sparc-64 code in configure.ac and also by
config.sub.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list