make check error on solaris 10
Salvatore Giannotta Filho
salvatore.filho at ericsson.com
Thu Nov 30 13:49:00 CET 2006
i used ./configure CC=cc --disable-fft
when i run make check i receive the following errors:
# 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 cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o
memory.lo memory.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c memory.c -KPIC -DPIC -o .libs/memory.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c memory.c -o memory.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o misc.lo
misc.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c misc.c -KPIC -DPIC -o .libs/misc.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c misc.c -o misc.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o
refmpf.lo refmpf.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpf.c -KPIC -DPIC -o .libs/refmpf.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpf.c -o refmpf.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o
refmpn.lo refmpn.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpn.c -KPIC -DPIC -o .libs/refmpn.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpn.c -o refmpn.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o
refmpq.lo refmpq.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpq.c -KPIC -DPIC -o .libs/refmpq.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpq.c -o refmpq.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o
refmpz.lo refmpz.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpz.c -KPIC -DPIC -o .libs/refmpz.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c refmpz.c -o refmpz.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o
spinner.lo spinner.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c spinner.c -KPIC -DPIC -o .libs/spinner.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c spinner.c -o spinner.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I.. -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -c -o trace.lo
trace.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c trace.c -KPIC -DPIC -o .libs/trace.o
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -c trace.c -o trace.o >/dev/null 2>&1
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o libtests.la memory.lo misc.lo refmpf.lo refmpn.lo
refmpq.lo refmpz.lo spinner.lo trace.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
ranlib .libs/libtests.a
creating libtests.la
(cd .libs && rm -f libtests.la && ln -s ../libtests.la libtests.la)
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-bswap.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-bswap t-bswap.o libtests.la ../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o .libs/t-bswap
t-bswap.o ./.libs/libtests.a /export/softwares/gmp-4.2.1/.libs/libgmp.so
../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-bswap
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-constants.c
"t-constants.c", line 327: warning: integer overflow detected: op "UNARY
-"
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-constants t-constants.o libtests.la ../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o .libs/t-constants
t-constants.o ./.libs/libtests.a
/export/softwares/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so
-R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-constants
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-count_zeros.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-count_zeros t-count_zeros.o libtests.la
../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o
.libs/t-count_zeros t-count_zeros.o ./.libs/libtests.a
/export/softwares/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so
-R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-count_zeros
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-gmpmax.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-gmpmax t-gmpmax.o libtests.la ../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o .libs/t-gmpmax
t-gmpmax.o ./.libs/libtests.a
/export/softwares/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so
-R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-gmpmax
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-hightomask.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-hightomask t-hightomask.o libtests.la
../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o
.libs/t-hightomask t-hightomask.o ./.libs/libtests.a
/export/softwares/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so
-R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-hightomask
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-modlinv.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-modlinv t-modlinv.o libtests.la ../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o .libs/t-modlinv
t-modlinv.o ./.libs/libtests.a
/export/softwares/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so
-R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-modlinv
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-popc.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-popc t-popc.o libtests.la ../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o .libs/t-popc
t-popc.o ./.libs/libtests.a /export/softwares/gmp-4.2.1/.libs/libgmp.so
../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-popc
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-parity.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-parity t-parity.o libtests.la ../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o .libs/t-parity
t-parity.o ./.libs/libtests.a
/export/softwares/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so
-R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-parity
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -fast -fns=no -fsimple=1
-xarch=v9 -xchip=ultra3 -c t-sub.c
/bin/bash ../libtool --mode=link cc -fast -fns=no -fsimple=1 -xarch=v9
-xchip=ultra3 -o t-sub t-sub.o libtests.la ../libgmp.la
cc -fast -fns=no -fsimple=1 -xarch=v9 -xchip=ultra3 -o .libs/t-sub
t-sub.o ./.libs/libtests.a /export/softwares/gmp-4.2.1/.libs/libgmp.so
../.libs/libgmp.so -R/usr/local/lib
ld: warning: file ../.libs/libgmp.so: linked to
/export/softwares/gmp-4.2.1/.libs/libgmp.so: attempted multiple
inclusion of file
creating t-sub
make check-TESTS
ld.so.1: t-bswap: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5021 Killed ${dir}$tst
FAIL: t-bswap
ld.so.1: t-constants: fatal: libgmp.so.3: open failed: No such file or
directorybash: line 4: 5038 Killed ${dir}$tst
FAIL: t-constants
ld.so.1: t-count_zeros: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5055 Killed ${dir}$tst
FAIL: t-count_zeros
ld.so.1: t-gmpmax: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5072 Killed ${dir}$tst
FAIL: t-gmpmax
ld.so.1: t-hightomask: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5089 Killed ${dir}$tst
FAIL: t-hightomask
ld.so.1: t-modlinv: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5106 Killed ${dir}$tst
FAIL: t-modlinv
ld.so.1: t-popc: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5123 Killed ${dir}$tst
FAIL: t-popc
ld.so.1: t-parity: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5140 Killed ${dir}$tst
FAIL: t-parity
ld.so.1: t-sub: fatal: libgmp.so.3: open failed: No such file or
directory
bash: line 4: 5157 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 /export/softwares/gmp-4.2.1/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /export/softwares/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 /export/softwares/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 /export/softwares/gmp-4.2.1
*** Error code 1
make: Fatal error: Command failed for target `check'
#
More information about the gmp-bugs
mailing list