From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Levon Subject: Re: [PATCH] Fix 64-bit foreign header check Date: Wed, 15 Aug 2007 15:37:16 +0100 Message-ID: <20070815143716.GA8459@barman.uk.sun.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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. regards, john