From: Paolo 'Blaisorblade' Giarrusso Date: Tue, 26 Sep 2006 08:52:37 +0000 (+0200) Subject: [PATCH] Fix boot code head.S warning X-Git-Tag: v2.6.19-rc1~1077^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3698c03eb6d4581e879d6bb0f183ed8dda96d37;p=pandora-kernel.git [PATCH] Fix boot code head.S warning 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: [AK: it happens on all systems with new binutils] 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. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andi Kleen --- Reading git-diff-tree failed