mpn_get_d broken on MIPS64 ?

Torbjorn Granlund tg at
Fri Feb 12 14:34:28 CET 2010

Matthias Bauer <bauerm at> writes:

  > That is an ancient version of GCC.  Have you tried some slightly newer
  > version?
  This gcc version comes with OpenBSD 4.7. OpenBSD is in the (slow)
  process of converting everything to pcc (,
  so it would be not helpful if gmplib only worked with certain gcc
It is impossible for GMP to work around all bugs in all versions of gcc.
This is not the same thing as if GMP only worked with certain gcc versions.

I cannot determine if this is a compiler bug, a kernel bug, or if it
somehow is a mips specific GMP bug that only is visible under a certain
GCC version.  The latter is in this case highly unlikely.

I think it is not too hard to isolate the problem.  Unfortunately, since
I failed to reproduce it with equilavent hardware, and since this is
hardly GMP's fault, I cannot work on this.


More information about the gmp-bugs mailing list