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@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix 64-bit foreign header check
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 15 Aug 2007 15:24:45 +0100
Delivery-date: Wed, 15 Aug 2007 07:25:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ce1e8719a4d8c2d9051e.1187187605@xenbld>
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: AcffSAbqRYqWMUs7EdybswAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Fix 64-bit foreign header check
User-agent: Microsoft-Entourage/11.3.3.061214
On 15/8/07 15:20, "john.levon@xxxxxxx" <john.levon@xxxxxxx> wrote:

> Fix 64-bit foreign header check
> 
> If a 64-bit build is chosen, we need to compile the checker program with -m64.
> Use CFLAGS instead of HOSTCFLAGS (this check doesn't work under a
> cross-compile anyway).

Won't gcc produce 64-bit binaries by default in a 64-bit environment? Which
must be the case if you have TARGET_ARCH==COMPILE_ARCH, and the target arch
is 64-bit.

 -- Keir


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