From 157de8a78afe89cc6f0bacce86a77b65b9bb42a8 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 11 Oct 2012 08:38:28 +0000 Subject: Fix Solaris symbol versioning (PR libstdc++/54872) PR libstdc++/54872 * config/abi/pre/gnu.ver (GLIBCXX_3.4.11) [!__sun__ && !__svr4__]: Don't export _ZNSt12system_errorC*. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192349 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/config/abi/pre/gnu.ver | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libstdc++-v3/config') diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index e23fdfb63b0..949ab50e5e3 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1057,7 +1057,12 @@ GLIBCXX_3.4.11 { _ZTISt12system_error; _ZTVSt12system_error; _ZNSt12system_errorD*Ev; + # Those template instantiations weren't exported on Solaris in GCC 4.6 + # and aren't necessary for correct operation, so don't emit them now + # (PR libstdc++/54872). +#if !defined(__sun__) && !defined(__svr4__) _ZNSt12system_errorC*; +#endif _ZNKSt4hashISt10error_codeEclES0_; -- cgit v1.2.3