CXX tests failure, gmp 5.0.4, compiled with gcc 4.6.2 on openindiana

Michael Figiel mifigiel at gmail.com
Sun Mar 25 12:19:13 CEST 2012


  Hallo,
I tried to build gmp version 5.0.4 with --enable-cxx on openindiana (64 
bit). The build was successful but three of the c++ tests fail:

terminate called after throwing an instance of 'std::invalid_argument'
terminate called recursively
/bin/bash: line 5: 27770 Abort                   (core dumped) ${dir}$tst
FAIL: t-assign
PASS: t-binary
PASS: t-cast
terminate called after throwing an instance of 'std::invalid_argument'
/bin/bash: line 5: 27823 Abort                   (core dumped) ${dir}$tst
FAIL: t-constr
PASS: t-headers
PASS: t-istream
PASS: t-locale
PASS: t-misc
PASS: t-ops
PASS: t-ostream
PASS: t-prec
terminate called after throwing an instance of 'std::length_error'
/bin/bash: line 5: 27961 Abort                   (core dumped) ${dir}$tst
FAIL: t-rand
PASS: t-ternary
PASS: t-unary
======================================================================================
3 of 14 tests failed

./config.guess:
core2-pc-solaris2.11

./configfsf.guess:
i386-pc-solaris2.11

uname -a:
SunOS buildilOQ 5.11 oi_151a2 i86pc i386 i86pc Solaris

configure options: --enable-cxx
CFLAGS=-m64
CXXFLAGS=$CFLAGS


gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.2/configure --prefix=/usr/gcc/4.6 
--libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib 
--mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info 
--with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas 
--with-gnu-as --with-ld=/usr/bin/ld --without-gnu-ld 
--enable-languages=c,c++,fortran,objc --enable-shared --disable-static 
--enable-decimal-float --with-gmp=/usr/gnu --with-mpfr=/usr/gnu 
--with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu -enable-nls
Thread model: posix
gcc version 4.6.2 (GCC)


Kind regards
Michael Figiel



More information about the gmp-bugs mailing list