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


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.
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
--enable-threads --enable-languages=c,c++,java
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
gmp-5.1.1> ./configfsf.guess

The compressed config.log is attached.

-------------- 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