[Bug c++/87380] Explicit instantations should use weak symbols on darwin

mrs at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 24 23:33:00 GMT 2018


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

mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrs at gcc dot gnu.org
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=15428

--- Comment #10 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
I've related 15428 which has some details for why this is the way it is.

Unless the underlying bug has been fixed in the linker, changing this will
merely re-introduce the previous bug that was fixed.  If we do that, we need to
weigh which feature we want to work and which to break.  The previous answer,
was to make static linking work.

See 2004-06-03  Matt Austern  <austern@apple.com> and 2004-03-12  Matt Austern 
<austern@apple.com> for the totality of the code.


More information about the Gcc-bugs mailing list