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

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
> Thank you. It seems that the weakref is simply not output into the file, so we
> end up with undefined call.

Which may or may not be the same problem as in PR lto/47333.

> What happens when you compile the following manually concatenated testcase w/o
> LTO? If it links, can you attach the assembly? I am bit unsure how non-weakref
> targets are supposed to behave in situations like this.

It links without problems.

> I convinced myself that for LTO one needs GNU binutils and thus weakref is
> supported, but it is obviously not always the case ;)

All other LTO testcases have long worked with Solaris as and ld
(i.e. without weakref and linker plugin), and until the 4.7 branch with
gas and IRIX ld.

    Rainer

Reply via email to