GMP 5.1.1 make check fail on Solaris 11
Marc Glisse
marc.glisse at inria.fr
Sat Feb 16 16:49:21 CET 2013
On Sat, 16 Feb 2013, ken mays wrote:
> if the two errors below are fixed.
How did you fix them?
> /bin/sh ../libtool --tag=CXX --mode=compile CC -xO1 -library=stdcxx4 -m64 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -c -o limits.lo limits.cc
>
>
> libtool: compile: CC -xO1 -fsimple=0 -features=extensions -library=no%Cstd -library=stdcxx4 -m64 -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -xO1 -m64 -c limits.cc -KPIC -DPIC -o .libs/limits.o
>
> "../gmpxx.h", line 1516: Error: Could not find a match for std::swap<std::_CharT, std::_Traits, std::_Allocator>(__mpz_struct, __mpz_struct) needed in __gmp_expr<__mpz_struct[1], __mpz_struct[1]>::swap(__gmp_expr<__mpz_struct[1], __mpz_struct[1]>&).
>
> "../gmpxx.h", line 1710: Error: Could not find a match for std::swap<std::_CharT, std::_Traits, std::_Allocator>(__mpq_struct, __mpq_struct) needed in __gmp_expr<__mpq_struct[1], __mpq_struct[1]>::swap(__gmp_expr<__mpq_struct[1], __mpq_struct[1]>&).
>
> "../gmpxx.h", line 1931: Error: Could not find a match for std::swap<std::_CharT, std::_Traits, std::_Allocator>(__mpf_struct, __mpf_struct) needed in __gmp_expr<__mpf_struct[1], __mpf_struct[1]>::swap(__gmp_expr<__mpf_struct[1], __mpf_struct[1]>&).
Could you try the options I give in:
http://gmplib.org/list-archives/gmp-bugs/2013-February/002923.html
?
It would also be good to report the bug to Oracle, if 12.3 still has it.
--
Marc Glisse
More information about the gmp-bugs
mailing list