https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85801
--- Comment #9 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- (In reply to rguent...@suse.de from comment #8) > > Sure. So I'd say common symbols that are exported may not be in an anchor > group? In the shared library this isn't a common symbol: it has an initializer. > > What do we do with weak globals? Or generally with interposable symbols in > non-PIC code? weak symbols (definitions, or references) can't go in anchor groups. But they're quite rare and we just have to live with the overhead.