Patchwork [libstdc++] : Avoid recent libstdc++-abi/abi_check failure

login
register
mail settings
Submitter Uros Bizjak
Date Oct. 8, 2012, 10:37 p.m.
Message ID <CAFULd4axRb_Twe63grPd4SN9TVt3ZeQEGfEBbTxq19uiByftnA@mail.gmail.com>
Download mbox | patch
Permalink /patch/190162/
State New
Headers show

Comments

Uros Bizjak - Oct. 8, 2012, 10:37 p.m.
Hello!

2012-10-09  Uros Bizjak  <ubizjak@gmail.com>

	* testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.7.

Tested on x86_64-pc-linux-gnu.

OK for mainline?

Uros.
Benjamin Kosnik - Oct. 8, 2012, 11:02 p.m.
> 2012-10-09  Uros Bizjak  <ubizjak@gmail.com>
> 
> 	* testsuite/util/testsuite_abi.cc (check_version): Add
> CXXABI_1.3.7.
> 
> Tested on x86_64-pc-linux-gnu.
> 
> OK for mainline?


Ok, thanks!

-benjamin

Patch

Index: testsuite/util/testsuite_abi.cc
===================================================================
--- testsuite/util/testsuite_abi.cc	(revision 192223)
+++ testsuite/util/testsuite_abi.cc	(working copy)
@@ -206,6 +206,7 @@  check_version(symbol& test, bool added)
       known_versions.push_back("CXXABI_1.3.4");
       known_versions.push_back("CXXABI_1.3.5");
       known_versions.push_back("CXXABI_1.3.6");
+      known_versions.push_back("CXXABI_1.3.7");
       known_versions.push_back("CXXABI_LDBL_1.3");
       known_versions.push_back("CXXABI_TM_1");
     }
@@ -224,7 +225,7 @@  check_version(symbol& test, bool added)
 
       // Check that added symbols are added in the latest pre-release version.
       bool latestp = (test.version_name == "GLIBCXX_3.4.18"
-		     || test.version_name == "CXXABI_1.3.6"
+		     || test.version_name == "CXXABI_1.3.7"
 		     || test.version_name == "CXXABI_TM_1");
       if (added && !latestp)
 	test.version_status = symbol::incompatible;