On 10/17/2011 05:00 PM, Rainer Orth wrote:
As described in the PR, after Benjamin's patch

2011-10-10  Benjamin Kosnik<b...@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?
Ok, thanks.

Paolo.

Reply via email to