gmp 64 bit configure failure on Solaris/SPARC

Norm Jacobs norm.jacobs at oracle.com
Thu Mar 30 03:29:27 UTC 2017


On 03/29/17 04:43 PM, tg at gmplib.org wrote:
> 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.
>
Thanks, I will try to take another look in the next several days.

     -Norm



More information about the gmp-bugs mailing list