981001-2.c failing on sparc-sun-solaris - invalid assembly output
Jeffrey A Law
law@cygnus.com
Fri Jun 25 07:10:00 GMT 1999
In message <199904252329.TAA03287@blastula.phys.columbia.edu>you write:
>
> compile/981001-2.c is failing on sparc-sun-solaris2.x because we emit
> assembly output which is accepted by GAS but not by the pickier
> Solaris assembler. Whittled down to the bare essentials:
>
> int x = 0;
> extern int y __attribute__ ((weak, alias("x")));
>
> translates to assembly like so:
>
> .global x
> x:
> .uaword 0
> .weak y
> y = x
> .weak y
>
> We emit the .weak op twice. Solaris as doesn't like that. (On the
> other hand,
Robert Lipe & I killed this bug a few weeks ago.
jeff
More information about the Gcc-bugs
mailing list