All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: John Levon <john.levon@sun.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Fix 64-bit foreign header check
Date: Thu, 16 Aug 2007 08:15:45 +0100	[thread overview]
Message-ID: <C2E9B831.CAB6%keir@xensource.com> (raw)
In-Reply-To: <20070815160823.GA10743@barman.uk.sun.com>

On 15/8/07 17:08, "John Levon" <john.levon@sun.com> wrote:

>> Hmmm... Well varying COMPILE_ARCH when the compile arch is not actually
>> changing seems dodgy to me.
>> 
>> In any case, binaries that run on the compile host should build with
>> HOSTCC/HOSTCFLAGS. That seems a pretty simple and obvious rule that I do not
>> want to introduce exceptions to.
> 
> Can you please explain what you want us to do.

When you modify COMPILE_ARCH to x86_64, you should also modify HOSTCFLAGS to
include -m64. We can set HOSTCC/HOSTCFLAGS with '?=' assignment for this
purpose, in Config.mk. Or, perhaps better, you can set both COMPILE_ARCH and
HOSTCC/HOSTCFLAGS as you like in config/SunOS.mk based on XEN_TARGET_ARCH,
if that's always the sane thing to do on Solaris.

 -- Keir

  reply	other threads:[~2007-08-16  7:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 14:20 [PATCH] Fix 64-bit foreign header check john.levon
2007-08-15 14:24 ` Keir Fraser
2007-08-15 14:37   ` John Levon
2007-08-15 14:59     ` Keir Fraser
2007-08-15 15:27       ` John Levon
2007-08-15 16:04         ` Keir Fraser
2007-08-15 16:08           ` John Levon
2007-08-16  7:15             ` Keir Fraser [this message]
2007-08-15 16:09           ` John Levon
  -- strict thread matches above, loose matches on Subject: below --
2007-08-16 13:23 john.levon

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=C2E9B831.CAB6%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=john.levon@sun.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.