This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: problems with i686->sparc64 cross build and test suite
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: problems with i686->sparc64 cross build and test suite
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 30 Apr 2001 14:00:39 -0700
- Cc: binutils at sources dot redhat dot com
- References: <hozocybodx.fsf@gee.suse.de>
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.