make check bug building gmp4.2.4 on sparc solaris 2.9 using gcc

Amato, Richard Richard.Amato at goodrich.com
Mon Nov 30 20:14:09 CET 2009


Hi,
 
I am reporting a bug during the make check segment of building the GMP
library. All the tests fail for the same reason when I build shared
libraries. If I restrict the build to static libraries, the tests pass
fine. 
 
Thanks for any help.
Richard Amato
 
 
The problem occurs when building 4.2.4 or 4.3.1, which I downloaded from
the GMP ftp mirror site. The information in this bug report pertains to
V4.2.4. I have tried different compiler optimazation levels, an older
compiler gcc 2.95.2, and specified the --Build=sparc-sun-solaris2.9
without any effect.
 
 
I am building on a Sparc system -
uname -a>
SunOS bos0ux02 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V440
 
I am using a gcc compiler 
gcc -v>
Reading specs from
/nfs/links/gnu8/gcc-3.4.3/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.3/spec
s
Configured with: ./configure --prefix=/export/local/gnu/gcc-3.4.3
Thread model: posix
gcc version 3.4.3
 
./config.guess>
ultrasparc3-sun-solaris2.9
 
./configfsf.guess>
sparc-sun-solaris2.9
 
My configure command is >
../gmp-4.2.4/configure --prefix=/mydirectory --enable-cxx
 
The output from make check follows --->
bos0ux02(** NONE **):/home/christopher.arguin/gcctest/gmpbuild-> !61
make check
make check-recursive
make[1]: Entering directory `/home/christopher.arguin/gcctest/gmpbuild'
Making check in tests
make[2]: Entering directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
Making check in .
make[3]: Entering directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
make libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-hightomask
t-modlinv t-popc t-parity t-sub
make[4]: Entering directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
make[4]: `libtests.la' is up to date.
make[4]: `t-bswap' is up to date.
make[4]: `t-constants' is up to date.
make[4]: `t-count_zeros' is up to date.
make[4]: `t-gmpmax' is up to date.
make[4]: `t-hightomask' is up to date.
make[4]: `t-modlinv' is up to date.
make[4]: `t-popc' is up to date.
make[4]: `t-parity' is up to date.
make[4]: `t-sub' is up to date.
make[4]: Leaving directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
make check-TESTS
make[4]: Entering directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
FAIL: t-bswap
FAIL: t-constants
FAIL: t-count_zeros
FAIL: t-gmpmax
FAIL: t-hightomask
FAIL: t-modlinv
FAIL: t-popc
FAIL: t-parity
FAIL: t-sub
==================================
9 of 9 tests failed
Please report to gmp-bugs at swox.com
==================================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory
`/home/christopher.arguin/gcctest/gmpbuild/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/christopher.arguin/gcctest/gmpbuild'
make: *** [check] Error 2
bos0ux02(** NONE **):/home/christopher.arguin/gcctest/gmpbuild->
 
 
The output from the gdb ------->
sh-2.05b$ pwd
/home/christopher.arguin/gcctest/gmpbuild/tests
 
bash-2.05b$ gdb ./.libs/t-sub core
 
GNU gdb 6.0
Copyright 2003 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"...
(no debugging symbols found)...
Core was generated by
`/home/christopher.arguin/gcctest/gmpbuild/tests/.libs/t-sub'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from
/home/christopher.arguin/gcctest/gmpbuild/.libs/libgmp.so.3...(no
debugging symbols found)...done.
Loaded symbols for
/home/christopher.arguin/gcctest/gmpbuild/.libs/libgmp.so.3
Reading symbols from /lib/libc.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /opt/gnu/gcc-3.4.3/lib/libgcc_s.so.1...done.
Loaded symbols for /opt/gnu/gcc-3.4.3/lib/libgcc_s.so.1
Reading symbols from /lib/libdl.so.1...done.
Loaded symbols for /lib/libdl.so.1
Reading symbols from
/usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
#0 0xff266914 in __register_frame_info_bases (begin=0xff350000, 
ob=0xff350000, tbase=0x0, dbase=0x0) at unwind-dw2-fde.c:89
89 unwind-dw2-fde.c: No such file or directory.
in unwind-dw2-fde.c
 
(gdb) bt
#0 0xff266914 in __register_frame_info_bases (begin=0xff350000, 
ob=0xff350000, tbase=0x0, dbase=0x0) at unwind-dw2-fde.c:89
#1 0xff355960 in frame_dummy ()
from /home/christopher.arguin/gcctest/gmpbuild/.libs/libgmp.so.3
#2 0xff35583c in _init ()
from /home/christopher.arguin/gcctest/gmpbuild/.libs/libgmp.so.3
 
(gdb) quit
bash-2.05b$ 
 
 
 
 


More information about the gmp-bugs mailing list