[RFC PATCH, libstdc++]: Fix abi_failure on alpha

Uros Bizjak ubizjak@gmail.com
Tue Jan 13 11:34:00 GMT 2009


According to abi_check, functions with __float128 arguments should
have their version set to GLIBCXX_LDBL_3.4.

This is not the case with numeric_limits:: so abi_check detects
incompatible symbols.

Attached patch fixes this problem and fixes abi_check failure on alpha.

Index: config/abi/pre/gnu.ver
--- config/abi/pre/gnu.ver      (revision 143247)
+++ config/abi/pre/gnu.ver      (working copy)
@@ -403,8 +403,7 @@

     # std::numeric_limits
-    # _ZNSt14numeric_limitsI[^g]*;
-    _ZNSt14numeric_limitsI[a-z]E*;
+    _ZNSt14numeric_limitsI[^g]E*;

     # std::_Rb_tree

Is this approach OK?


More information about the Gcc-patches mailing list