This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
problems with i686->sparc64 cross build and test suite
- To: binutils at sources dot redhat dot com
- Subject: problems with i686->sparc64 cross build and test suite
- From: Andreas Jaeger <aj at suse dot de>
- Date: 30 Apr 2001 13:47:22 +0200
I've configured binutils for a cross build from i686 to sparc64 with:
../binutils/configure --prefix=/opt/cross \
--target=sparc64-unknown-linux --host=i686-pc-linux-gnu
make runs fine but when I run the testsuite (I know, I can't execute
anything and therefore some tests will not work), I noticed the
following in the ld.sum file:
testcase /x86-64/cvs/binutils/ld/testsuite/ld-scripts/phdrs.exp completed in 0 seconds
Running /x86-64/cvs/binutils/ld/testsuite/ld-scripts/script.exp ...
/x86-64/cvs/build-sparc64/ld/../gas/as-new -o tmpdir/script.o /x86-64/cvs/binutils/ld/testsuite/ld-scripts/script.s
/x86-64/cvs/build-sparc64/ld/ld-new -o tmpdir/script -T /x86-64/cvs/binutils/ld/testsuite/ld-scripts/script.t tmpdir/script.o
/x86-64/cvs/build-sparc64/ld/ld-new: warning: sparc:v9 architecture of input file `tmpdir/script.o' is incompatible with sparc output
FAIL: script
Due to the warnings the test fails :-(.
It seems that ld is working correctly expect those strange warnings.
I do consider these warnings broken - running as and ld should not
produce a warning.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj