gmp bugs

Marc Glisse marc.glisse at inria.fr
Fri Aug 30 09:06:16 CEST 2013


On Thu, 29 Aug 2013, Jarom Hagen wrote:

> FYI,
>
> 3 tests failed when running "make check" on this Solaris 9 system.
>
> FAIL: t-sqrtrem
> 69/400 passesreuse.c:353: GNU MP assertion failed: ((ref1)->_mp_size) == 0 || ((ref1)->_mp_d)[((((ref1)->_mp_size)) >= 0 ? (((ref1)->_mp_size)) : -(((ref1)->_mp_size))) - 1] != 0
> FAIL: reuse
> FAIL: t-perfsqr

I assume you ran configure with no option and without setting any 
environment variable?

> /opt/SUNWspro/bin/cc -V
> cc: Sun C 5.5 2003/03/12
>
> SunOS orion 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-V240

I don't think we even have access to such antique software. I guess we'll 
have to assume there was a bug in that compiler, unless you are willing to 
debug this yourself or you can reproduce with more recent software.

Things you could do if you need GMP :
* install a more recent version of Sun Studio (or at least the latest 
patches for your version)
* use gcc if you have it installed, otherwise install it (don't try 
compiling 4.8 directly, first try something older)

-- 
Marc Glisse


More information about the gmp-bugs mailing list