[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Fix 64-bit foreign header check


  • To: John Levon <john.levon@xxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Wed, 15 Aug 2007 17:04:30 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 15 Aug 2007 09:05:20 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcffVfZANKvNCktJEdybswAX8io7RQ==
  • Thread-topic: [Xen-devel] [PATCH] Fix 64-bit foreign header check

On 15/8/07 16:27, "John Levon" <john.levon@xxxxxxx> wrote:

> There is no such "32-bit" environment, we can always produce both.  What
> you're
> suggesting sounds like a cross-compile. This is absolutely not a cross
> compile;
> in particular we can and do want this header check to happen.
> 
> We set XEN_COMPILE_ARCH by hand to 64-bit since the Xen makefiles have the
> notion
> that uname has anything to do with 32 or 64 bitness (a Linux-ism; in fact an
> x86_64-Linux-ism, since I believe other Linux arches do it the traditional
> way).

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.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.