Re: gcc bug?
On Sun, 24 Oct 2010, I wrote:
> On Sun, 24 Oct 2010, Andreas Schwab wrote:
>
> > Finn Thain <fthain@telegraphics.com.au> writes:
> >
> > > /Volumes/btc-0.12/gcc-4.4/lib/gcc/m68k-linux-gnu/4.4.5/../../../../m68k-linux-gnu/bin/as -m68020 --pcrel -V -Qy -o gen_uuid.o /var/tmp//cc8hhpkh.s
> > > GNU assembler version 2.20.1 (m68k-linux-gnu) using BFD version (GNU Binutils) 2.20.1.20100303
> > > /var/tmp//cc8hhpkh.s: Assembler messages:
> > > /var/tmp//cc8hhpkh.s:1299: Error: syntax error -- statement `move.l %a2,last.5547@TLSLDO+4(%a0)' ignored
> > > /var/tmp//cc8hhpkh.s:1736: Error: syntax error -- statement `move.l %a2,last.5547@TLSLDO+4(%a0)' ignored
> >
> > This should habe been fixed up by m68k_final_prescan_insn.
>
> It would appear that I messed up the gcc backport
Well, I didn't find anything messed up. So I built the gcc-4.5-20101021
snapshot and, sure enough, same problem.
The gcc bugzilla seems to be having issues at the moment, so I've uploaded
Thorsten's test case at http://www.telegraphics.com.au/~fthain/gen_uuid.i.gz
in case you want to check it out before I get the opportunity to put it
into bugzilla.
$ /Volumes/btc-0.12/gcc-4/bin/m68k-linux-gnu-gcc -c gen_uuid.i -O2
/var/tmp//ccayckxD.s: Assembler messages:
/var/tmp//ccayckxD.s:709: Error: syntax error -- statement `move.l %d1,last.5137@TLSLE+4(%a0)' ignored
/var/tmp//ccayckxD.s:886: Error: syntax error -- statement `move.l %d1,last.5137@TLSLE+4(%a0)' ignored
BTW, this can be worked around by by disabling optimisation (in case
util-linux is holding up things).
Finn
Reply to: