WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: John Levon <john.levon@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix 64-bit foreign header check
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070815152705.GA9299@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcffVfZANKvNCktJEdybswAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Fix 64-bit foreign header check
User-agent: Microsoft-Entourage/11.3.3.061214
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