GMP 4.2.4 probably miscompiled by GCC 4.3.2 (debian lenny) on mips64el with -mabi=64: t-divrem_1 and t-fat FAIL

Torbjorn Granlund tg at
Sat Feb 28 21:47:57 CET 2009

Laurent GUERBY <laurent at> writes:

  On Sat, 2009-02-28 at 21:14 +0100, Torbjorn Granlund wrote:
  > I am a little suspicious this is actually not gcc's fault, but a gmp
  > bug.  Please try removing mpn/mips64/divrem_1.asm, rerun a clean
  > configure, and see if that helps.
  > I think mpn/mips64/divrem_1.asm doesn't properly handle both the ABI
  > n32 and 64.
  With the removal of this file all test PASS.
Thanks for reporting, thanks for following up!

  Let me know if you want me to try something else.

I'll make sure GMP 4.3 works for the platform, even with the pesky GCC
4.4.  (I intend to make the gcc compile farm machines run gmp
automated builds.)


More information about the gmp-bugs mailing list