This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Fix Solaris symbol versioning (PR libstdc++/54872)


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]