http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333

--- Comment #40 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #38 from Jan Hubicka <hubicka at ucw dot cz> ---
>> Unfortunately, that doesn't easily backport to the 4.8 branch since that 
>> lacks
>> alias and alias_target in struct symtab_node_base:
>
> I know. Weakrefs was quite broken in 4.8 (and anything earlier) and more so on
> non-weakref assemblers (even when you do not get ICE nor link error, you still
> get wrong references output so the final program will not work since it won't
> connect weakref with its target).  

I see.  At least all testcases passed in 4.7 both with and without
weakref support in the assembler.

> I can backport the whole series of patches, but I would like to understand how
> important it is.  Solaris libc is using weakrefs w/o weakref support in
> toolchain, or does the weakref come from some of GNU libraries in it?

The Solaris toolchain (as, ld) knows nothing about weakrefs, so far I've
seen failures only in the gcc testsuite, no reports in the wild.

    Rainer

Reply via email to