[v3] Remove duplicate symbol in gnu.ver (PR bootstrap/50715)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Oct 17 15:01:00 GMT 2011


As described in the PR, after Benjamin's patch

2011-10-10  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/49818
        * config/abi/pre/gnu.ver (CXXABI_1.3.6): Add symbols.

__cxa_get_exception_ptr is now present in both CXXABI_1.3.1 and
CXXABI_1.3.6, which breaks Solaris bootstrap with Sun ld:

ld: fatal: libstdc++-symbols.ver-sun: 5210: symbol '__cxa_get_exception_ptr' is already defined in file: libstdc++-symbols.ver-sun: symbol version conflict

The duplicate serves no purpose I can see, and even with both entries,
__cxa_get_exception_ptr is bound to version CXXABI_1.3.1 only on
x86_64-unknown-linux-gnu, so it seems safe to remove.

This restores Solaris bootstrap, tested on i386-pc-solaris2.11.

Ok for mainline?

	Rainer


2011-10-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR bootstrap/50715
	* config/abi/pre/gnu.ver (CXXABI_1.3.6): Remove duplicate
	__cxa_get_exception_ptr.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sol2-v3-__cxa_get_exception_ptr.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20111017/ec9bdbcf/attachment.bin>
-------------- next part --------------

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Libstdc++ mailing list