[Fwd: GMP 4.3.1 fails check when --enable-cxx is used]

Shlomo Mahlab smahlab at cisco.com
Wed Aug 26 15:46:41 CEST 2009

I noticed the gnu mailing list is quite dead, so I try this one

-------- הודעה מקורית --------
נושא: 	GMP 4.3.1 fails check when --enable-cxx is used
תאריך: 	Wed, 26 Aug 2009 11:45:04 +0300
מאת: 	Shlomo Mahlab <smahlab at cisco.com>
אל: 	bug-gmp at gnu.org

I'm trying to compile GMP on a SunOS 5.10 machine, using gcc 4.4.1.
configuring without --enable-cxx pass build and check with no issues.
adding the --enable-cxx config option (required by PPL package) breaks 
the check stage with the following error.
I couldn't find any reference to the required link library in Goggle.

Undefined                       first referenced
symbol                             in file
__sync_fetch_and_add_4              t-assign.o
ld: fatal: Symbol referencing errors. No output written to .libs/t-assign
collect2: ld returned 1 exit status
make[4]: *** [t-assign] Error 1
make[4]: Leaving directory `.../gmp-4.3.1/tests/cxx'

More information about the gmp-bugs mailing list