GMP 5.1.1 make check fail on Solaris 11

ken mays maybird1776 at yahoo.com
Sat Feb 16 02:01:48 CET 2013


Hi Marc,

For a Solaris 10 or Solaris 11-based OS platform, I'd suggest only testing with Studio's 'CC -library=stdcxx4' when using Oracle Studio 12.1. 

Otherwise, use GCC.

gmp-5.1.1 compiles fine for me using Oracle Studio 12.1 when I --disable-assembly. I only get the one bug reported below when I use '--enable-cxx --disable-assembly' as well.

Hope that helps someone,

Ken Mays



________________________________
 From: Marc Glisse <marc.glisse at inria.fr>
To: ken mays <maybird1776 at yahoo.com> 
Cc: "gmp-bugs at gmplib.org" <gmp-bugs at gmplib.org> 
Sent: Friday, February 15, 2013 11:53 AM
Subject: Re: GMP 5.1.1 make check fail on Solaris 11
 

Thanks for the follow-up.

On Fri, 15 Feb 2013, ken mays wrote:
.....

> libtool: compile:  /opt/sunstudio12.1/bin/CC -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -fast -libmieee -KPIC -m64 -c limits.cc -KPIC -DPIC -o .libs/limits.o
.....
> Otherwise, the gmp 5.1.1 builds 100% using Sun Studio 12.1 or GCC 4.6.2 with Oracle Solaris 11. The assembler for Sun Studio 12.1
> may be outdated for today's C++ compiler needs, so I suggest people use Oracle Solaris Studio 12.3 - if possible. I used --disable-assembly as a workaround.

To be sure: it worked fine for you with Oracle Solaris Studio 12.3 even without disabling asm?

-- Marc Glisse


More information about the gmp-bugs mailing list