gmp-5.0.2 installation in Solaris 10
WEY, CHERN L
cw3461 at att.com
Wed Sep 14 18:24:55 CEST 2011
Hi,
I am providing the complete errors I got while installing GMP 5.0.2 on Solaris10/Sparc and running 'make check'.
Please advise what I have done wrong.
root at agsemcmt890 /export/home/cwey/gmp-5.0.2: 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: 15687 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: 15706 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: 15725 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: 15744 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: 15763 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: 15782 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: 15801 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: 15820 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: 15839 Killed ${dir}$tst
FAIL: t-sub
====================================
9 of 9 tests failed
Please report to gmp-bugs at gmplib.org<mailto: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 /export/home/cwey/gmp-5.0.2/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /export/home/cwey/gmp-5.0.2/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 /export/home/cwey/gmp-5.0.2/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 /export/home/cwey/gmp-5.0.2
*** Error code 1
make: Fatal error: Command failed for target `check'
root at agsemcmt890 /export/home/cwey/gmp-5.0.2:
More information about the gmp-bugs
mailing list