lkml.org 
[lkml]   [2005]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: i386 -> x86_64 cross compile failure (binutils bug?)
On Fri, Dec 09, 2005 at 01:50:08PM -0500, Lee Revell wrote:
> I'm trying to build an x66-64 kernel on a 32 bit system (Ubuntu 5.10).
> I added -m64 to the CFLAGS as per the gcc docs. But the build fails
> with:
>
> $ make ARCH=x86_64
> arch/x86_64/kernel/entry.S:785: Error: cannot represent relocation type BFD_RELOC_64

Ubuntu/Debian provide a biarch gcc, but do not (did not?) provide a biarch
assembler. Building binutils for target x86_64-pc-linux-gnu should help.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-09 21:01    [W:0.195 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site