gmp-5.0.1 installation problem

038-0814 at 038.pfr.ru 038-0814 at 038.pfr.ru
Wed Mar 17 08:11:40 CET 2010


Hi 

I tried to compile GMP on Sun Fire v210, the compiling process has been 
passed without error. But failed in make check
Here is the info: Any comment? Thanks!



Server: Sun Fire v210.

GMP:gmp-5.0.1

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

Output of uname -a 
           SunOS hostname 5.10 Generic_137137-09 sun4u sparc 
SUNW,Sun-Fire-V210

Output of  ./config.guess
    ultrasparc3-sun-solaris2.10

Output of ./configfsf.guess
     sparc-sun-solaris2.10 


Output of make check

-bash-3.00# 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
`libtests.la' is up to date.
`t-bswap' is up to date.
`t-constants' is up to date.
`t-count_zeros' is up to date.
`t-gmpmax' is up to date.
`t-hightomask' is up to date.
`t-modlinv' is up to date.
`t-popc' is up to date.
`t-parity' is up to date.
`t-sub' is up to date.
make  check-TESTS
ld.so.1: t-bswap: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
bash: line 5:  9498 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 5:  9517 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 5:  9536 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 5:  9555 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 5:  9574 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 5:  9593 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 5:  9612 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 5:  9631 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 5:  9650 Killed                  ${dir}$tst
FAIL: t-sub
====================================
9 of 9 tests failed
Please report to gmp-bugs at gmplib.org
====================================
*** 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 '; \
red=; grn=; lgn=; blu=; std=; \
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`; \
        col=$red; res=XPASS; \
      ;; \
      *) \
        col=$grn; res=PASS; \
      ;; \
      esac; \
    elif test $? -ne 77; then \
      all=`expr $all + 1`; \
      case "  " in \
      *[\ \     ]$tst[\ \       ]*) \
        xfail=`expr $xfail + 1`; \
        col=$lgn; res=XFAIL; \
      ;; \
      *) \
        failed=`expr $failed + 1`; \
        col=$red; res=FAIL; \
      ;; \
      esac; \
    else \
      skip=`expr $skip + 1`; \
      col=$blu; res=SKIP; \
    fi; \
    echo "${col}$res${std}: $tst"; \
  done; \
  if test "$all" -eq 1; then \
    tests="test"; \
    All=""; \
  else \
    tests="tests"; \
    All="All "; \
  fi; \
  if test "$failed" -eq 0; then \
    if test "$xfail" -eq 0; then \
      banner="$All$all $tests passed"; \
    else \
      if test "$xfail" -eq 1; then failures=failure; else 
failures=failures; fi; \
      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 \
      if test "$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
      banner="$failed of $all $tests did not behave as expected ($xpass 
unexpected $passes)"; \
    fi; \
  fi; \
  dashes="$banner"; \
  skipped=""; \
  if test "$skip" -ne 0; then \
    if test "$skip" -eq 1; then \
      skipped="($skip test was not run)"; \
    else \
      skipped="($skip tests were not run)"; \
    fi; \
    test `echo "$skipped" | wc -c` -le `echo "$banner" | wc -c` || \
      dashes="$skipped"; \
  fi; \
  report=""; \
  if test "$failed" -ne 0 && test -n "gmp-bugs at gmplib.org"; then \
    report="Please report to gmp-bugs at gmplib.org"; \
    test `echo "$report" | wc -c` -le `echo "$banner" | wc -c` || \
      dashes="$report"; \
  fi; \
  dashes=`echo "$dashes" | sed s/./=/g`; \
  if test "$failed" -eq 0; then \
    echo "$grn$dashes"; \
  else \
    echo "$red$dashes"; \
  fi; \
  echo "$banner"; \
  test -z "$skipped" || echo "$skipped"; \
  test -z "$report" || echo "$report"; \
  echo "$dashes$std"; \
  test "$failed" -eq 0; \
else :; fi
make: Fatal error: Command failed for target `check-TESTS'
Current working directory /FTP/gmp-5.0.1/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /FTP/gmp-5.0.1/tests
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
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; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
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 /FTP/gmp-5.0.1/tests
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
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; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
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 /FTP/gmp-5.0.1
*** Error code 1
make: Fatal error: Command failed for target `check'

-------------------------------------------------------------------
С уважением
специалист-эксперт
отдела ИТ
ОПФР по Амурской области
Мигалин Р.М.
(4162) 23-54-24


More information about the gmp-bugs mailing list