gmp bug report (compile gmp-4.2.1 on sun fire x4100, solaris 10.

Ning.Bao at statcan.ca Ning.Bao at statcan.ca
Wed Dec 27 19:21:11 CET 2006


Hi 

I tried to compile GMP on Sun Fire x4100, the compiling process has been passed without error. But failed in make check

Here is the info: Any comment? Thanks!




Server: Sun Fire x4100.

OS: Solaris 10 on x86 (release January 2006)

GMP:gmp-4.2.1

GCC: gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Output of uname -a 
           SunOS hostname 5.10 Generic_118844-26 i86pc i386 i86pc

Output of  ./config.guess
    x86_64-pc-solaris2.10

Output of ./configfsf.guess
     i386-pc-solaris2.10  

Output the last line of make (no error)
       creating libgmp.la

 Output of make check
/gmp-4.2.1> make check
make  check-recursive
Making check in tests
Making check in .
make  libtests.la t-bswap t-constants  t-count_zeros t-gmpmax t-hightomask  t-modlinv t-popc t-parity  t-sub
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o memory.lo memory.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c memory.c  -fPIC -DPIC -o .libs/memory.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c memory.c -o memory.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o misc.lo misc.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c misc.c  -fPIC -DPIC -o .libs/misc.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c misc.c -o misc.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o refmpf.lo refmpf.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpf.c  -fPIC -DPIC -o .libs/refmpf.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpf.c -o refmpf.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o refmpn.lo refmpn.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpn.c  -fPIC -DPIC -o .libs/refmpn.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpn.c -o refmpn.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o refmpq.lo refmpq.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpq.c  -fPIC -DPIC -o .libs/refmpq.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpq.c -o refmpq.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o refmpz.lo refmpz.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpz.c  -fPIC -DPIC -o .libs/refmpz.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c refmpz.c -o refmpz.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o spinner.lo spinner.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c spinner.c  -fPIC -DPIC -o .libs/spinner.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c spinner.c -o spinner.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o trace.lo trace.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c trace.c  -fPIC -DPIC -o .libs/trace.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c trace.c -o trace.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 `test -f 'amd64call.asm' || echo './'`amd64call.asm
 ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 amd64call.asm  -fPIC -DPIC -o .libs/amd64call.o
m4  -DHAVE_CONFIG_H -DPIC amd64call.asm >tmp-amd64call.s
 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 tmp-amd64call.s -fPIC -DPIC -o .libs/amd64call.o
 ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 amd64call.asm -o amd64call.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c -o amd64check.lo amd64check.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c amd64check.c  -fPIC -DPIC -o .libs/amd64check.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -m64 -mtune=k8 -c amd64check.c -o amd64check.o >/dev/null 2>&1
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o libtests.la   memory.lo misc.lo refmpf.lo refmpn.lo  refmpq.lo refmpz.lo spinner.lo trace.lo amd64call.lo amd64check.lo ../libgmp.la 
ar cq .libs/libtests.a .libs/memory.o .libs/misc.o .libs/refmpf.o .libs/refmpn.o .libs/refmpq.o .libs/refmpz.o .libs/spinner.o .libs/trace.o .libs/amd64call.o .libs/amd64check.o
ranlib .libs/libtests.a
creating libtests.la
(cd .libs && rm -f libtests.la && ln -s ../libtests.la libtests.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-bswap.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-bswap  t-bswap.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-bswap t-bswap.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-bswap
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-constants.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-constants  t-constants.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-constants t-constants.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-constants
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-count_zeros.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-count_zeros  t-count_zeros.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-count_zeros t-count_zeros.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-count_zeros
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-gmpmax.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-gmpmax  t-gmpmax.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-gmpmax t-gmpmax.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-gmpmax
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-hightomask.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-hightomask  t-hightomask.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-hightomask t-hightomask.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-hightomask
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-modlinv.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-modlinv  t-modlinv.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-modlinv t-modlinv.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-modlinv
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-popc.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-popc  t-popc.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-popc t-popc.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-popc
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-parity.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-parity  t-parity.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-parity t-parity.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-parity
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..     -O2 -m64 -mtune=k8 -c t-sub.c
/bin/bash ../libtool --mode=link gcc  -O2 -m64 -mtune=k8    -o t-sub  t-sub.o libtests.la ../libgmp.la 
gcc -O2 -m64 -mtune=k8 -o .libs/t-sub t-sub.o  ./.libs/libtests.a /mcc/baoning/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to /mcc/baoning/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file
creating t-sub
make  check-TESTS
ld.so.1: t-bswap: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23517 Killed                  ${dir}$tst
FAIL: t-bswap
ld.so.1: t-constants: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23534 Killed                  ${dir}$tst
FAIL: t-constants
ld.so.1: t-count_zeros: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23551 Killed                  ${dir}$tst
FAIL: t-count_zeros
ld.so.1: t-gmpmax: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23568 Killed                  ${dir}$tst
FAIL: t-gmpmax
ld.so.1: t-hightomask: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23585 Killed                  ${dir}$tst
FAIL: t-hightomask
ld.so.1: t-modlinv: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23602 Killed                  ${dir}$tst
FAIL: t-modlinv
ld.so.1: t-popc: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23619 Killed                  ${dir}$tst
FAIL: t-popc
ld.so.1: t-parity: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23636 Killed                  ${dir}$tst
FAIL: t-parity
ld.so.1: t-sub: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
bash: line 4: 23653 Killed                  ${dir}$tst
FAIL: t-sub
==================================
9 of 9 tests failed
Please report to gmp-bugs at swox.com
==================================
*** Error code 1
The following command caused the error:
failed=0; all=0; xfail=0; xpass=0; skip=0; \
srcdir=.; export srcdir; \
list='t-bswap t-constants  t-count_zeros t-gmpmax t-hightomask  t-modlinv t-popc t-parity  t-sub'; \
if test -n "$list"; then \
  for tst in $list; do \
    if test -f ./$tst; then dir=./; \
    elif test -f $tst; then dir=; \
    else dir="./"; fi; \
    if  ${dir}$tst; then \
      all=`expr $all + 1`; \
      case "  " in \
      *" $tst "*) \
        xpass=`expr $xpass + 1`; \
        failed=`expr $failed + 1`; \
        echo "XPASS: $tst"; \
      ;; \
      *) \
        echo "PASS: $tst"; \
      ;; \
      esac; \
    elif test $? -ne 77; then \
      all=`expr $all + 1`; \
      case "  " in \
      *" $tst "*) \
        xfail=`expr $xfail + 1`; \
        echo "XFAIL: $tst"; \
      ;; \
      *) \
        failed=`expr $failed + 1`; \
        echo "FAIL: $tst"; \
      ;; \
      esac; \
    else \
      skip=`expr $skip + 1`; \
      echo "SKIP: $tst"; \
    fi; \
  done; \
  if test "$failed" -eq 0; then \
    if test "$xfail" -eq 0; then \
      banner="All $all tests passed"; \
    else \
      banner="All $all tests behaved as expected ($xfail expected failures)"; \
    fi; \
  else \
    if test "$xpass" -eq 0; then \
      banner="$failed of $all tests failed"; \
    else \
      banner="$failed of $all tests did not behave as expected ($xpass unexpected passes)"; \
    fi; \
  fi; \
  dashes="$banner"; \
  skipped=""; \
  if test "$skip" -ne 0; then \
    skipped="($skip tests were not run)"; \
    test `echo "$skipped" | wc -c` -gt `echo "$banner" | wc -c` && \
      dashes="$skipped"; \
  fi; \
  report=""; \
  if test "$failed" -ne 0 && test -n "gmp-bugs at swox.com"; then \
    report="Please report to gmp-bugs at swox.com"; \
    test `echo "$report" | wc -c` -gt `echo "$banner" | wc -c` && \
      dashes="$report"; \
  fi; \
  dashes=`echo "$dashes" | sed s/./=/g`; \
  echo "$dashes"; \
  echo "$banner"; \
  test -n "$skipped" && echo "$skipped"; \
  test -n "$report" && echo "$report"; \
  echo "$dashes"; \
  test "$failed" -eq 0; \
else :; fi
make: Fatal error: Command failed for target `check-TESTS'
Current working directory /mcc/baoning/gmp-4.2.1/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /mcc/baoning/gmp-4.2.1/tests
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo check-recursive | sed s/-recursive//`; \
list='. devel mpn mpz mpq mpf rand misc cxx mpbsd'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `check-recursive'
Current working directory /mcc/baoning/gmp-4.2.1/tests
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo check-recursive | sed s/-recursive//`; \
list='tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `check-recursive'
Current working directory /mcc/baoning/gmp-4.2.1
*** Error code 1
make: Fatal error: Command failed for target `check'



Ning Bao
613-951-3973 | facsimile / télécopieur 613-951-5198
Ning.Bao at statcan.ca
Statistics Canada | 150 Tunney's Pasture Driveway Ottawa  ON K1A 0T6
Statistique Canada | 150, promenade du Pré Tunney Ottawa  ON K1A 0T6
Government of Canada | Gouvernement du Canada











 
 <<DMC File - CGD fichier>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20061227/46f4e281/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: AttribDMC.txt
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20061227/46f4e281/attachment-0001.txt 


More information about the gmp-bugs mailing list