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

Torbjorn Granlund tg at
Wed Mar 11 17:56:05 CET 2009

Paul Zimmermann <Paul.Zimmermann at> writes:

  > I disagree about that. It is not obvious that the whole compilation
  > chain has to support the options you provide (-mpowerpc64 -Wa,-mppc64
  > -mcpu=970), in particular because that gcc does not come with its own
  > assembler ("as" comes with GNU Binutils, not GCC).
  anyway, I have submitted a bug report 
  ( We will see what the
  GCC developers say about it, maybe they will exhibit a simple GMP program
  showing the bug?
  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.


More information about the gmp-bugs mailing list