From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
To: Richard Sandiford <rsandifo@redhat.com>
Cc: Eric Christopher <echristo@redhat.com>,
"Maciej W. Rozycki" <macro@mips.com>,
binutils@sources.redhat.com,
"Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [PATCH] MIPS gas/ld test suite portability fixes
Date: Wed, 23 Feb 2005 16:39:00 -0000 [thread overview]
Message-ID: <20050223142549.GA30173@rembrandt.csv.ica.uni-stuttgart.de> (raw)
In-Reply-To: <wvnd5urbmbv.fsf@talisman.cambridge.redhat.com>
Richard Sandiford wrote:
[snip]
> Eric's already mentioned the old gcc behaviour of -mabi=64 implying
> -mips4, but remember that -mabi=32 also used to imply -mips1, on the
> basis that that's what the SVR4 ABI officially requires.
IIRC it was first the other way: -mabi didn't exist, -mips1/2 implied
o32, -mips3 implied n32, and -mips4 implied n64. This emulated the IRIX
toolchain's behaviour, and was found to be inadequate for other mips
platforms. Then -mabi was added, and reverse-implied -mipsX, this
opened the door for several inconsistencies.
I don't want to follow that path, I only want -mabi to ensure it has
the minimum ABI requirement satisfied.
[snip]
> Your proposal seems to be catering for the case where:
>
> (a) someone picks a 32-bit-only configuration that implies
> a particular architecture; and
>
> (b) then tries to use it to build 64-bit code.
This currently works for
mips-linux-gcc -mabi=n32
thanks to from-abi but fails for
mipsisa32-linux-gcc -mabi=n32
This inconsistency is introduced just because the toolchain's ISA
default is different to MIPS I.
> Outside of running testsuites, who actually does that? It's a minor
> market, surely?
With the market argument you can "prove" that there's no need for more
than one processor architecture. :-) But I agree, it is not a widely
used feature.
> Anyone who's seriously interested in building 64-bit
> code should use a 64-bit configuration, not something like mipstx39-elf,
> mipsisa32-linux-gnu or whatever. That's especially true when you
> consider that a 32-bit-only configuration won't build any compatible
> libraries.
Which is IMHO a bug in gcc, because -mabi=n?? should be fully usable.
(If this isn't true for some mips*-elf targets, then -mabi should
probably be an invalid option for these.)
Thiemo
next prev parent reply other threads:[~2005-02-23 14:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-22 19:24 Maciej W. Rozycki
2005-02-22 20:21 ` Daniel Jacobowitz
2005-02-22 21:15 ` Maciej W. Rozycki
2005-02-22 21:24 ` Daniel Jacobowitz
2005-02-22 23:38 ` Thiemo Seufer
2005-02-22 23:53 ` Maciej W. Rozycki
2005-02-23 0:05 ` Thiemo Seufer
2005-02-23 0:06 ` Eric Christopher
2005-02-23 0:57 ` Thiemo Seufer
2005-02-23 8:32 ` Eric Christopher
2005-02-23 8:34 ` Thiemo Seufer
2005-02-23 9:38 ` Eric Christopher
2005-02-23 9:47 ` Thiemo Seufer
2005-02-23 9:57 ` Thiemo Seufer
2005-02-23 14:26 ` Richard Sandiford
2005-02-23 16:39 ` Thiemo Seufer [this message]
2005-02-23 17:05 ` Richard Sandiford
2005-02-23 19:22 ` Maciej W. Rozycki
2005-02-24 1:47 ` Thiemo Seufer
2005-02-24 15:53 ` Richard Sandiford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050223142549.GA30173@rembrandt.csv.ica.uni-stuttgart.de \
--to=ica2_ts@csv.ica.uni-stuttgart.de \
--cc=binutils@sources.redhat.com \
--cc=echristo@redhat.com \
--cc=macro@linux-mips.org \
--cc=macro@mips.com \
--cc=rsandifo@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).