[Bug c++/87380] Explicit instantations should use weak symbols on darwin
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 6 20:10:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380
--- Comment #19 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Thu Dec 6 20:09:26 2018
New Revision: 266866
URL: https://gcc.gnu.org/viewcvs?rev=266866&root=gcc&view=rev
Log:
Darwin - fix PR c++/87380
This is [intentionally] broken C++ ABI, that was catering for a
tool problem that existed in a very old Darwin toolchain.
The issue is not present after Darwin7 (using default system
tools) so confine the fix to that revision or earlier.
2018-12-06 Iain Sandoe <iain@sandoe.co.uk>
PR c++/87380
* config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC) Remove; use the
default.
* config/rs6000/darwin7.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/darwin.h
trunk/gcc/config/rs6000/darwin7.h
More information about the Gcc-bugs
mailing list