GMP 4.2.4 fails with ABI=mode32 on powerpc970-unknown-linux-gnu
tg at swox.com
Wed Mar 11 18:41:28 CET 2009
Paul Zimmermann <Paul.Zimmermann at loria.fr> writes:
> 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.
I suppose a acinclude.m4 test for this is needed. It should not test
for bad assembly, but whether -Wa,-mppc64 is still needed.
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 :-)
Chastise them from me!
More information about the gmp-bugs