GMP on mips64 ...

Erik Peterson epeterson at mocana.com
Thu Jul 3 19:55:55 CEST 2008


Hello,

I have built gmp for mips targeting mips on a IA linux machine.  The  
build appears fine, however the "make check" is showing test case  
errors bellow.

These are the commands I used to do the cross-compiling:

../configure --target=mips64-octeon-linux-gnu --host=mips64-octeon- 
linux-gnu --prefix=/opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target
make
make install

I have attached the output for makecheckout.txt

[root at bisonsv target]# make check >> makecheckout.txt
./t-bswap: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-bswap: cannot execute binary file
./t-bswap: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-bswap: Success
./t-constants: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-constants: cannot execute binary file
./t-constants: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-constants: Success
./t-count_zeros: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/ 
target/tests/.libs/lt-t-count_zeros: cannot execute binary file
./t-count_zeros: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/ 
target/tests/.libs/lt-t-count_zeros: Success
./t-gmpmax: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-gmpmax: cannot execute binary file
./t-gmpmax: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-gmpmax: Success
./t-hightomask: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/ 
target/tests/.libs/lt-t-hightomask: cannot execute binary file
./t-hightomask: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/ 
target/tests/.libs/lt-t-hightomask: Success
./t-modlinv: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-modlinv: cannot execute binary file
./t-modlinv: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-modlinv: Success
./t-popc: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-popc: cannot execute binary file
./t-popc: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-popc: Success
./t-parity: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-parity: cannot execute binary file
./t-parity: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-parity: Success
./t-sub: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-sub: cannot execute binary file
./t-sub: line 119: /opt/OCTEON-SDK/mocana/tools/gmp-4.2.2/target/ 
tests/.libs/lt-t-sub: Success
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2


make  check-recursive
make[1]: Entering directory `/space/opt/OCTEON-SDK/mocana/tools/ 
gmp-4.2.2/target
'
Making check in tests
make[2]: Entering directory `/space/opt/OCTEON-SDK/mocana/tools/ 
gmp-4.2.2/target
/tests'
Making check in .
make[3]: Entering directory `/space/opt/OCTEON-SDK/mocana/tools/ 
gmp-4.2.2/target
/tests'
make  libtests.la t-bswap t-constants t-count_zeros t-gmpmax t- 
hightomask t-modl
inv t-popc t-parity t-sub
make[4]: Entering directory `/space/opt/OCTEON-SDK/mocana/tools/ 
gmp-4.2.2/target
/tests'
make[4]: `libtests.la' is up to date.
make[4]: `t-bswap' is up to date.
make[4]: `t-constants' is up to date.
make[4]: `t-count_zeros' is up to date.
make[4]: `t-gmpmax' is up to date.
make[4]: `t-hightomask' is up to date.
make[4]: `t-modlinv' is up to date.
make[4]: `t-popc' is up to date.
make[4]: `t-parity' is up to date.
make[4]: `t-sub' is up to date.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: makecheckout.txt
Url: http://gmplib.org/list-archives/gmp-bugs/attachments/20080703/2bb2adbb/attachment.txt 
-------------- next part --------------



More information about the gmp-bugs mailing list