Possible GMP bug

Dennis Clarke dclarke at blastwave.org
Fri Jun 18 18:04:40 CEST 2010

>   I haven't exercised the g++ compiler - I'll try to download whatever's
>   needed to run gcc's "make check".   I have extensively exercised the gcc
>   compiler and that seems ok.
> Many things can be wrong here, and I'd shamelessly claim the least
> likely is some undefined GMP behaviour (i.e., a GMP bug).
> Perhaps the C++ front end of GCC 4.5.0 is buggy.  Perhaps your compiler
> was miscompiled (did you perform a 3-stage compile?).  Perhaps your
> setup causes incompatible C++ libraries to be used with the new compiler.
> The only way to know is to debug it.  Please do that!

Just my little input here.  I have done multiple builds of GCC and
gmp/mpfr on Solaris 8 and 10 on x86/amd64/Sparc and in all cases was able
to get perfect gmp test results. HOWEVER, never with GCC 4.5.x at all.

Dennis Clarke
dclarke at opensolaris.ca  <- Email related to the open source Solaris
dclarke at blastwave.org   <- Email related to open source for Solaris

More information about the gmp-bugs mailing list