problems with i686->sparc64 cross build and test suite
H . J . Lu
hjl@lucon.org
Mon Apr 30 14:00:00 GMT 2001
On Mon, Apr 30, 2001 at 01:47:22PM +0200, Andreas Jaeger wrote:
>
> 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
Something is wrong. Your output format IS NOT sparc64.
H.J.
More information about the Binutils
mailing list