r267385 - in /branches/gcc-8-branch/libstdc++-v...

iains@gcc.gnu.org iains@gcc.gnu.org
Sun Dec 23 20:44:00 GMT 2018

Author: iains
Date: Sun Dec 23 20:44:29 2018
New Revision: 267385

URL: https://gcc.gnu.org/viewcvs?rev=267385&root=gcc&view=rev
darwin, libstdc++, don't try to export construction vtable symbols.

The symbols are marked hidden in the objects; for Darwin that makes
them also external (“private_extern” is Darwin’s hidden) which means
that they show up in the list of possible symbols for export from
libstdc++, and there are sufficiently relaxed match conditions that
they reach the exports list.   When Darwin’s static linker encounters
them it generates a warning that they cannot be exported.  This patch
prunes them from the list of symbols to be considered, thus eliminating
the warnings.

2018-12-23  Iain Sandoe  <iain@sandoe.co.uk>

	Backport from mainline
	2018-12-06  Iain Sandoe  <iain@sandoe.co.uk>

	* scripts/make_exports.pl (check names): Don’t try to export
	construction vtable symbols.


More information about the Libstdc++-cvs mailing list