gmp-4.2.1 on Solaris 10 sparc

Dennis Clarke dclarke at
Thu Jan 1 22:58:32 CET 2009

> On Wed, 31 Dec 2008, David R Boldt wrote:
>> cc: Sun C 5.8 2005/10/13
> Is there a particular reason why you are building an outdated version of
> gmp with an outdated version of Sun's compiler?
>> mpn_get_d wrong on random data
> Inserting this line in google indicates that the problem is caused by the
> -fast option of the compiler and can be worked around with -fsimple=0.

better yet .. don't use -fast

that is just a macro that expands into a pile of problems sometimes

also, use Studio 11 or Studio 12 with the latest patches and then life is
just perfect.

Dennis Clarke

More information about the gmp-bugs mailing list