GMP 4.2.4 fails with ABI=mode32 on powerpc970-unknown-linux-gnu

Paul Zimmermann Paul.Zimmermann at loria.fr
Wed Mar 11 18:35:41 CET 2009


>   Note that if I remove either one of -mpowerpc64, -Wa,-mppc64, or -mcpu=970,
>   the compilation succeeds.
>   
> We needed -Wa,-mppc64 on some platform in the past, since a version of
> gcc didn't pass the right options to the assembler.  Now, with the
> present installation, it seems to do more harm than good.

indeed compiling with CFLAGS="-mpowerpc64 -mcpu=970 -O2" solves the problem,
and all GMP tests pass.

Then I tried to compile MPFR 2.4.1 with the same CFLAGS but 2 tests fail.
I'll report that to the MPFR developers :-)

Paul


More information about the gmp-bugs mailing list