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/
Home Products Support Community News


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

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix 64-bit foreign header check
From: John Levon <john.levon@xxxxxxx>
Date: Wed, 15 Aug 2007 15:37:16 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Aug 2007 07:36:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2E8CB3D.143CE%keir@xxxxxxxxxxxxx>
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>
References: <ce1e8719a4d8c2d9051e.1187187605@xenbld> <C2E8CB3D.143CE%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Wed, Aug 15, 2007 at 03:24:45PM +0100, Keir Fraser 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?

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.


Xen-devel mailing list