GMP 4.2 make check failures

Samuelson, Gary M gary.samuelson at verizon.com
Thu Feb 5 19:17:37 CET 2009


GMP version 4.2
Downloaded and built on (uname -a output):
SunOS utila 5.8 Generic_108528-24 sun4u sparc SUNW,Ultra-250
 
./config.guess output: ultrasparc2-sun-solaris2.8
./config.fsf.guess output: sparc-sun-solaris2.8
 
Test programs included in downloaded file (-rw-r--r--   1 garys    staff
2249078 Feb  4 15:52 gmp-4.2.tar.gz)
"make check" reports errors.
 
First attempt, using gcc:
 
./configure
 
make  check-TESTS
make[4]: Entering directory `/export/home/garys/gnu/gmp/gmp-4.2/tests'
ld.so.1: t-bswap: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-bswap
ld.so.1: t-constants: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF
class: ELFCLASS32
FAIL: t-constants
ld.so.1: t-count_zeros: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF
class: ELFCLASS32
FAIL: t-count_zeros
ld.so.1: t-gmpmax: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-gmpmax
ld.so.1: t-hightomask: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF
class: ELFCLASS32
FAIL: t-hightomask
ld.so.1: t-modlinv: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF
class: ELFCLASS32
FAIL: t-modlinv
ld.so.1: t-popc: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-popc
ld.so.1: t-parity: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-parity
ld.so.1: t-sub: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: t-sub
==================================
9 of 9 tests failed
Please report to gmp-bugs at swox.com
==================================

Second attempt, using Sun's compiler:
SPROcc          Sun Studio 11 C Compiler
                (sparc) 11.0,REV=2005.10.13
 
./configure CC=/opt/SUNWspro/bin/cc
make  check-TESTS
make[4]: Entering directory `/export/home/garys/gnu/gmp/gmp-4.2/tests'
PASS: t-bswap
PASS: t-constants
PASS: t-count_zeros
PASS: t-gmpmax
PASS: t-hightomask
PASS: t-modlinv
PASS: t-popc
PASS: t-parity
PASS: t-sub
==================
All 9 tests passed
==================
...
make  check-TESTS
make[4]: Entering directory
`/export/home/garys/gnu/gmp/gmp-4.2/tests/mpn'
PASS: t-asmtype
PASS: t-aors_1
PASS: t-divrem_1
PASS: t-fat
mpn_get_d wrong on random data
   sign     0
   n        =0x1FF800FE007FC0
   nsize    1
   exp      -37
   want     =[43 3F F8 00 FE 00 7F C0] 8998407423164352
   got      =[40 EF F8 00 FE 00 7F C0] 65472.031006097327918
FAIL: t-get_d
PASS: t-instrument
PASS: t-iord_u
PASS: t-mp_bases
PASS: t-perfsqr
PASS: t-scan
==================================
1 of 10 tests failed
Please report to gmp-bugs at swox.com
==================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20090205/dfb433d3/attachment.html>


More information about the gmp-bugs mailing list