[v3] Fix Solaris symbol versioning (PR libstdc++/54872)
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Oct 10 19:53:00 GMT 2012
On Oct 10, 2012 3:05 PM, "Rainer Orth" wrote:
>
> As reported in the PR, abi_check fails on Solaris 10 and 11 since about
> 20120817. On Solaris 10, I get
>
> 1 incompatible symbols
> 0
> _ZNSt12system_errorC1ESt10error_codeRKSs
> std::system_error::system_error(std::error_code, std::string const&)
> version status: incompatible
> GLIBCXX_3.4.11
> type: function
> status: added
>
> On Solaris 11, there's also
>
> 0
> _ZNSt12system_errorC2ESt10error_codeRKSs
> std::system_error::system_error(std::error_code, std::string const&)
> version status: incompatible
> GLIBCXX_3.4.11
> type: function
> status: added
>
> This is in
>
> libstdc++.a[thread.o]: [59] | 0| 418|FUNC |WEAK |0 |12 |_ZNSt12system_errorC1ESt10error_codeRKSs
> libstdc++convenience.a[thread.o]: [59] | 0| 418|FUNC |WEAK |0 |12 |_ZNSt12system_errorC1ESt10error_codeRKSs
>
> A reghunt revealed that this was introduced by
>
> 2012-08-12 Jonathan Wakely <jwakely.gcc@gmail.com>
>
> PR libstdc++/52681
> * src/c++11/thread.cc (thread::_M_start_thread): Improve error text
> when threads are not enabled.
>
> The issue seems to be the same as in PR libstdc++/52188, so I'm applying
> the same solution.
>
> Bootstrapped without regressions on i386-pc-solaris2.10 and
> x86_64-unknown-linux-gnu, ok for mainline?
>
> Rainer
>
>
> 2012-10-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>
> PR libstdc++/54872
> * config/abi/pre/gnu.ver (GLIBCXX_3.4.11) [!__sun__ && !__svr4__]:
> Don't export _ZNSt12system_errorC*.
OK, thanks, and sorry for causing the problem!
More information about the Libstdc++
mailing list