Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932761AbVLJHng (ORCPT ); Sat, 10 Dec 2005 02:43:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932769AbVLJHng (ORCPT ); Sat, 10 Dec 2005 02:43:36 -0500 Received: from mustang.oldcity.dca.net ([216.158.38.3]:28056 "HELO mustang.oldcity.dca.net") by vger.kernel.org with SMTP id S932761AbVLJHng (ORCPT ); Sat, 10 Dec 2005 02:43:36 -0500 Subject: Re: i386 -> x86_64 cross compile failure (binutils bug?) From: Lee Revell To: Andi Kleen Cc: linux-kernel In-Reply-To: <20051210071935.GQ11190@wotan.suse.de> References: <1134154208.14363.8.camel@mindpipe> <439A0746.80208@mnsu.edu> <1134173138.18432.41.camel@mindpipe> <439A201D.7030103@mnsu.edu> <1134179410.18432.66.camel@mindpipe> <1134191524.18432.82.camel@mindpipe> <20051210071935.GQ11190@wotan.suse.de> Content-Type: text/plain Date: Sat, 10 Dec 2005 02:43:18 -0500 Message-Id: <1134200599.18432.86.camel@mindpipe> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 25 On Sat, 2005-12-10 at 08:19 +0100, Andi Kleen wrote: > On Sat, Dec 10, 2005 at 12:12:03AM -0500, Lee Revell wrote: > > On Sat, 2005-12-10 at 01:56 -0700, Andi Kleen wrote: > > > Lee Revell writes: > > > > - disable CONFIG_IA32_EMULATION > > > > > > I just tried it here. Adding -m64 to CFLAGS/AFLAGS on a native > > > 64bit biarch toolchain and it compiled without problems. It ends > > > up with -m64 -m32 for the 32bit vsyscall files, but that seems > > > to DTRT at least in gcc 4. > > > > Nope, passing -m64 -m32 does not seem to DTRT on native 32bit biarch > > toolchain: > > How about this patch? Yes, works great. Lee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/