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

Lee Revell
2005-12-11T00:25:54Z

On Sun, 2005-12-11 at 01:00 +0100, Andi Kleen wrote:
> > Here are the relevant lines of arch/x86_64/kernel/vmlinux.lds:
> >
> > 382 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
> > 383 OUTPUT_ARCH(1:x86-64)
> > 384 ENTRY(phys_startup_64)
> >
> > Any ideas? Another toolchain quirk?
>
> The original is
>
> OUTPUT_ARCH(i386:x86-64)
>
> It replaced the i386 with 1, which obviously doesn't work.
>
> Try (full patch again)

OK perfect. The build now completes successfully.

Lee