3 failures in make check, cxx, gmp 5.1.1, Solaris 10

Marc Girod marc.girod at gmail.com
Sun Mar 17 09:47:05 CET 2013


Hello,

Trying to build gmp-5.1.1 on Solaris 10, sun4v, with gcc 4.7.2, and
getting 3 make check failures, all for cxx.
The 3 test cases do a Segmentation fault.
These are:

FAIL: t-assign
FAIL: t-constr
FAIL: t-rand

All the other tests pass, including in cxx.

The core file produced, e.g. with the first test, does not seem to be usable:

cxx> ./t-assign
Segmentation Fault
cxx> ll core
-rw------- 1 emagiro ossdes 1024 Mar 17 09:33 core
cxx> file core
core:              invalid ELF object
cxx> gdb --nw
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8".
(gdb) core-file core
"/proj/vobadm100/tmp/gmp-5.1.1/tests/cxx/core" is not a core dump:
File truncated
(gdb) where
No stack.
(gdb) q
cxx> adb core
adb: terminal capability 'cub1' is not available
adb: term init failed: command-line editing and prompt will not be available
adb: terminal capability 'cub1' is not available
adb: cannot debug core: unanticipated system error
adb: failed to initialize target: No such file or directory
cxx> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/vobs/cello/cade_A_tools_gcc/libexec/gcc/sparc-sun-solaris2.10/4.7.2/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: /proj/vobadm100/svn/gcc_4.7.2/configure --prefix
/vobs/cello/cade_A_tools_gcc --with-gnu-as
--with-as=/vobs/cello/cade_A_tools_utils/binutils/bin/as --with-gnu-ld
--with-ld=/vobs/cello/cade_A_tools_utils/binutils/bin/ld
--enable-threads --enable-languages=c,c++,java
--with-gmp=/vobs/cello/cade_A_tools_utils/gmp
--with-mpfr=/vobs/cello/cade_A_tools_utils/mpfr
--with-mpc=/vobs/cello/cade_A_tools_utils/mpc
--with-isl=/vobs/cello/cade_A_tools_utils/isl
Thread model: posix
gcc version 4.7.2 (GCC)
cxx> uname -a
SunOS selid1t010 5.10 Generic_147440-23 sun4v sparc sun4v Solaris
gmp-5.1.1> ./config.guess
ultrasparc-sun-solaris2.10
gmp-5.1.1> ./configfsf.guess
sparc-sun-solaris2.10

The compressed config.log is attached.

Thanks,
Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/x-gzip
Size: 44324 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20130317/21863bfb/attachment-0001.bin>


More information about the gmp-bugs mailing list