lkml.org 
[lkml]   [2006]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] x86_64: fix linking on 32-bit system
Date
On Sunday 20 August 2006 16:31, Paolo 'Blaisorblade' Giarrusso wrote:
> From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
>
> When compiling a 64-bit kernel on an Ubuntu 6.06 32bit system (whose GCC is also
> a cross-compiler for x86_64) I've seen that head.o is compiled as a 64-bit file
> (while it should not) and ld complaining about this during linking:
>
> ld: warning: i386:x86-64 architecture of input file
> `arch/x86_64/boot/compressed/head.o' is incompatible with i386 output
>
> I've verified that removing -m64 from compilation flags to turn
> "-m64 -traditional -m32" into "-traditional -m32" fixes the issue.

Applied thanks, but I removed the comment because it's on more
than just Ubuntu 32bit.

AFAIK the warning is harmless, but you're the first to submit a real
patch to fix it.
-Andi
-
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: 2006-08-20 20:41    [W:0.029 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site