From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24884 invoked by alias); 4 May 2005 23:29:44 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24808 invoked from network); 4 May 2005 23:29:32 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 4 May 2005 23:29:32 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DTTJ6-0002HE-9a; Wed, 04 May 2005 19:29:32 -0400 Date: Wed, 04 May 2005 23:29:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [ob] Check for linux-gnu* in linux-dp.exp Message-ID: <20050504232932.GA8605@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sourceware.org References: <20050504212228.GA3736@nevyn.them.org> <200505042311.j44NBkRC031298@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505042311.j44NBkRC031298@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00148.txt.bz2 On Thu, May 05, 2005 at 01:11:46AM +0200, Mark Kettenis wrote: > Date: Wed, 4 May 2005 17:22:28 -0400 > From: Daniel Jacobowitz > > I built a mips64-unknown-linux-gnuabi64 toolchain and noticed that > it didn't run this test > > There's nothing wrong with your patch, but what does > mips64-unknown-linux-gnuabi64 mean? Is that just someone's local > invention or is it really a canonical GNU system quadruplet? Is this > what config.guess returns on a specific system? It is not returned by config.guess. It's checked by glibc's configure script, however - it means that the compiler (and options) being configured with target an n64 environment rather than n32. It's the result of a lot of arguing between Uli, Roland, and Alex Oliva - in other words, not my fault :-) Nothing but glibc cares. Everything is supposed to match for gnu*. > It seems to me that there is something seriously wrong with canonical > names for 64-bit Linux systems. The current situation seems to be > that you can't really tell whether a Linux system is really 64-bit or > just has a 64-bit kernel and is otherwise completely 32-bit. My SuSE > 9.2 Athlon 64 desktop system seems to be fully 64-bit, but we also > have a Debian-based Opteron cluster that's complete 32-bit. Yet on > both systems config.guess returns x86_64-unknown-linux-gnu. That's a problem with config.guess which I saw discussed on autoconf@ earlier today, and the poster was suggested to take it to config.patches. It's a hard question what config.guess should return. If you want it to return i686 instead, from a practical least-effort point of view, use the 'linux32' wrapper program. -- Daniel Jacobowitz CodeSourcery, LLC