From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [patch] Fix 32bit xen-tools build. Date: Mon, 23 Oct 2006 09:35:32 +0200 Message-ID: <453C70C4.2080901@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: 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, John Levon List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > On 20/10/06 1:25 pm, "John Levon" wrote: > >> Where is left that needs LDFLAGS/ASFLAGS to have the -m flags? It's >> wrong anyway, there should be nowhere that's not using $CFLAGS; see the >> previous discussion. We've had to disable a couple of directories for >> now, so probably it's in one of those? > > Bit more context: anywhere that *is* using $(LD) directly should add > $(LDFLAGS_DIRECT) to the command line. This adds -mi386 or -mx86_64. The > linker does not understand -m32/-m64. But anywhere not doing tricky links > (e.g., with a GNU-specific script) should call the linker via the GCC > driver. Rechecked, seems to be fixed now, except for qemu-dm which still doesn't build when compiling 32bit tools on a 64bit machine ... cheers, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg