Patchwork fix libstdc++/48465 - add missing exported symbols

login
register
mail settings
Submitter Jonathan Wakely
Date April 10, 2011, 4:21 p.m.
Message ID <BANLkTim_g+4GuukTzEZP98mT+5rBfN_Jkg@mail.gmail.com>
Download mbox | patch
Permalink /patch/90522/
State New
Headers show

Comments

Jonathan Wakely - April 10, 2011, 4:21 p.m.
PR libstdc++/48465
        * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
        * configure: Regenerate.
        * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
        * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.

tested x86_64-linux, committed to trunk and 4.6 branch

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 172239)
+++ configure.ac	(working copy)
@@ -12,7 +12,7 @@  AC_CONFIG_HEADER(config.h)
 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
 
 # For libtool versioning info, format is CURRENT:REVISION:AGE
-libtool_VERSION=6:15:0
+libtool_VERSION=6:16:0
 AC_SUBST(libtool_VERSION)
 
 # Find the rest of the source tree framework.
Index: config/abi/pre/gnu.ver
===================================================================
--- config/abi/pre/gnu.ver	(revision 172239)
+++ config/abi/pre/gnu.ver	(working copy)
@@ -1264,6 +1264,14 @@  GLIBCXX_3.4.15 {
 
 } GLIBCXX_3.4.14;
 
+GLIBCXX_3.4.16 {
+
+    # libstdc++/48465
+    _ZNSs10_S_compareE[jmy][jmy];
+    _ZNSbIwSt11char_traitsIwESaIwEE10_S_compareE[jmy][jmy];
+
+} GLIBCXX_3.4.15;
+
 # Symbols in the support library (libsupc++) have their own tag.
 CXXABI_1.3 {
 
Index: testsuite/util/testsuite_abi.cc
===================================================================
--- testsuite/util/testsuite_abi.cc	(revision 172239)
+++ testsuite/util/testsuite_abi.cc	(working copy)
@@ -193,6 +193,7 @@  check_version(symbol& test, bool added)
       known_versions.push_back("GLIBCXX_3.4.13");
       known_versions.push_back("GLIBCXX_3.4.14");
       known_versions.push_back("GLIBCXX_3.4.15");
+      known_versions.push_back("GLIBCXX_3.4.16");
       known_versions.push_back("GLIBCXX_LDBL_3.4");
       known_versions.push_back("GLIBCXX_LDBL_3.4.7");
       known_versions.push_back("GLIBCXX_LDBL_3.4.10");