gmp with Solaris 9 Sparc /opt/SUNWspro/bin/cc

Torbjorn Granlund tg at swox.com
Tue Apr 15 12:31:06 CEST 2008


Reinhard Drube <drube at ipp.mpg.de> writes:

  /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. 
  -I../../tests    -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra2 -c 
  t-scan.c
  /bin/bash ../../libtool --mode=link /opt/SUNWspro/bin/cc  -fast -fns=no 
  -fsimple=1 -xarch=v9 -xchip=ultra2  -L/usr/gnu/lib -R/usr/gnu/lib -o 
  t-scan  t-scan.o ../../tests/libtests.la ../../libgmp.la
  /opt/SUNWspro/bin/cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra2 -o 
  .libs/t-scan t-scan.o  -L/usr/gnu/lib ../../tests/.libs/libtests.a 
  /afs/ipp/u/rdd/gnu/gmp-4.2.2/.libs/libgmp.so ../../.libs/libgmp.so  
  -R/usr/gnu/lib
  ld: warning: file ../../.libs/libgmp.so: linked to 
  /afs/ipp/u/rdd/gnu/gmp-4.2.2/.libs/libgmp.so: attempted multiple 
  inclusion of file
  creating t-scan
  gmake[4]: Leaving directory 
  `/afs/ipp-garching.mpg.de/u/rdd/gnu_src/@sys/gmp-4.2.2/tests/mpn'
  /usr/gnu/bin/gmake  check-TESTS
  gmake[4]: Entering directory 
  `/afs/ipp-garching.mpg.de/u/rdd/gnu_src/@sys/gmp-4.2.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
  /bin/bash: line 4: 29533 Abort                   (core dumped) ${dir}$tst
  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
  
The -fast option triggers invalid optimizations.  Future GMP releases
will not use it.

-- 
Torbjörn


More information about the gmp-bugs mailing list