problems with i686->sparc64 cross build and test suite
Andreas Jaeger
aj@suse.de
Mon Apr 30 04:47:00 GMT 2001
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
More information about the Binutils
mailing list