failed check: gmp 32 bit build under solaris 10

"Markus M. Müller" markus-m.mueller at
Tue Nov 23 10:42:33 CET 2010

> "Markus M. Müller" <markus-m.mueller at> writes:
>   I have just compiled gmp an noticed that during make check the 'reuse'
>   binary crashes. what does that mean for my build, what features are
>   not working?
> If you get a check failure, do not use the library.
>   configure: ./configure --prefix=/usr/local/lib CFLAGS=-m32
> If you follow the supported build method, i.e., not outsmarting GMP's
> configure about CFLAGS setting but imnstead setting ABI, does it work
> better?

cd gmp-5.0.1
./configure --prefix=/usr/local ABI=32

now all 'make check' tests pass with sun cc 5.9 on solaris 10 sparc

> (Does Sun's cc actually admit the -m32 flag?  They used to ask for some
> very different flags, something zany like "-xarch=v8plus" for v9
> processors using the 32-bit ABI.)

yes, still supported. but note the warning in the following output...

libtool: link: cc -xc99=all -xO4 -xarch=v8plus -xchip=ultra -o 
.libs/t-locale t-locale.o  ../../tests/.libs/libtests.a 
../../.libs/ -R/usr/local/lib/lib
cc: Warning: -xarch=v8plus is deprecated, use -m32 -xarch=sparc instead

I also tried to build the 4.3.2 version but it fails in the final link 
see the attached output file.

If you want me to test something on that platform, just drop me an e-mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp-4.3.2-build.log.gz
Type: application/x-gzip
Size: 24345 bytes
Desc: not available
URL: <>

More information about the gmp-bugs mailing list