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 15:59:49 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Aug 2007 08:00:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070815143716.GA8459@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: AcffTOz/K2VwSUtAEdybswAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Fix 64-bit foreign header check
User-agent: Microsoft-Entourage/11.3.3.061214
On 15/8/07 15:37, "John Levon" <john.levon@xxxxxxx> wrote:

>> Won't gcc produce 64-bit binaries by default in a 64-bit environment?
> 
> There is no such thing as a "64-bit environment" on Solaris, all machines ship
> with both 32 and 64 bit functionality (of course the kernel must be 64-bit to
> actually /use/ such).
> 
> Thus we build twice, once in 32-bit, once in 64-bit.

Then isn't your TARGET_ARCH!=COMPILE_ARCH for one of these builds? Sounds
like you have a 32-bit-ish compile environment (since you produce 32-bit
binaries by default), and hence it would be correct to have
COMPILE_ARCH==x86_32 for both builds.

 -- Keir


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