This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ob] Check for linux-gnu* in linux-dp.exp


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 <drow@false.org>
> 
>    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]