Re: i386 -> x86_64 cross compile failure (binutils bug?)

Lee Revell
2005-12-09T21:08:47Z

On Fri, 2005-12-09 at 15:41 -0500, Kyle McMartin wrote:
> On Fri, Dec 09, 2005 at 03:21:16PM -0500, Lee Revell wrote:
> > I tried with CROSS_COMPILE="/usr/x86_64/bin/x86_64-linux-", but edited
> > the Makefile to set CC to /use/bin/gcc. Same error.
> >
>
> Ah. I didn't realize when it says "AS foo.o" it really means it's running
> CC, not AS. (I had also built a cross compiling gcc, but didn't realize it
> was being used).

The problem does not seem to be lack of x86-64 support in the assembler.
I symlinked /usr/bin/as to /usr/x86_64/bin/x86_64-linux-as and got the
exact same relocation error.

Lee