From: Dimitri Torfs <dimitri@sonycom.com>
To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc: linux-mips@linux-mips.org
Subject: Re: Support for newer gcc/gas options
Date: Wed, 21 Jan 2004 19:35:51 +0100 [thread overview]
Message-ID: <20040121183551.GA21411@sonycom.com> (raw)
In-Reply-To: <20040121145120.GA14288@sonycom.com>
On Wed, Jan 21, 2004 at 03:51:20PM +0100, Dimitri Torfs wrote:
> On Wed, Jan 21, 2004 at 03:09:12PM +0100, Maciej W. Rozycki wrote:
> > But do we care of the ISA? I don't think so -- it's just a leftover from
> > the days the MIPS world was less complicated. If gcc 3.2 correctly emits
> > code for the selected processor and obeys the selected ABI, then
> > everything is fine. Are the binaries correct? If so, I'd like to apply
> > the patch.
>
> I actually had problems compiling when the -mips3 was not set. The
> compiler choked on compiling some empty file, if I remember correctly.
> I will try again later to see what exactly went wrong.
Compiler choked on the first file it tries to compile: gcc added
-mips1 automatically to the as command line which conflicts with the
-Wa,--trap option:
/usr/local/lib/gcc-lib/mips-linux/3.2.2/../../../../mips-linux/bin/as
-G 0 -O2 -g0 -32 -march=r4100 -v -mips1 -non_shared -32 -march=r4100
--trap -o scripts/.tmp_empty.o -
Assembler messages:
Error: trap exception not supported at ISA 1
Removing the line which unsets the gas_isa option makes it work again:
/usr/local/lib/gcc-lib/mips-linux/3.2.2/../../../../mips-linux/bin/as
-G 0 -O2 -g0 -32 -march=r4100 -v -mips1 -non_shared -32 -march=r4100
-mips3 --trap -o scripts/.tmp_empty.o
Dimitri
--
Dimitri Torfs | NSCE
dimitri@sonycom.com | The Corporate Village
tel: +32 2 7008541 | Da Vincilaan 7 - D1
fax: +32 2 7008622 | B-1935 Zaventem - Belgium
next prev parent reply other threads:[~2004-01-21 18:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-23 11:46 Support for newer gcc/gas options Dimitri Torfs
2003-12-23 12:05 ` Maciej W. Rozycki
2004-01-09 22:01 ` Dimitri Torfs
2004-01-10 1:19 ` Thiemo Seufer
2004-01-10 8:03 ` Dimitri Torfs
2004-01-20 12:37 ` Maciej W. Rozycki
2004-01-20 12:45 ` Thiemo Seufer
2004-01-20 12:59 ` Maciej W. Rozycki
2004-01-20 20:40 ` Dimitri Torfs
2004-01-21 14:09 ` Maciej W. Rozycki
2004-01-21 14:51 ` Dimitri Torfs
2004-01-21 18:35 ` Dimitri Torfs [this message]
2004-01-22 16:10 ` Maciej W. Rozycki
2004-01-25 19:17 ` Dimitri Torfs
2004-01-26 18:08 ` Maciej W. Rozycki
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=20040121183551.GA21411@sonycom.com \
--to=dimitri@sonycom.com \
--cc=linux-mips@linux-mips.org \
--cc=macro@ds2.pg.gda.pl \
/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