https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67548

--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> ---
> None of them is applicable to a weakdef with "ld -r".
Yep, GCC simply assumes that incremental linking is not going to happen and it
makes strong assumptions
about visibility in static&PIC binaries.
To support incremental linking we need a way to pass this information to GCC.
Either by extra codes or
by informing the plugin that linking is incremental.
See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860

Honza

Reply via email to