public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: "Paolo 'Blaisorblade' Giarrusso" <blaisorblade@yahoo.it>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86_64: fix linking on 32-bit system
Date: Sun, 20 Aug 2006 20:30:48 +0200	[thread overview]
Message-ID: <200608202030.48791.ak@suse.de> (raw)
In-Reply-To: <20060820143117.6622.22777.stgit@memento.home.lan>

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

      reply	other threads:[~2006-08-20 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-20 14:31 [PATCH] x86_64: fix linking on 32-bit system Paolo 'Blaisorblade' Giarrusso
2006-08-20 18:30 ` Andi Kleen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608202030.48791.ak@suse.de \
    --to=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=blaisorblade@yahoo.it \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox