http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52689
--- Comment #12 from Uros Bizjak <ubizjak at gmail dot com> 2012-04-03 08:56:13 UTC --- (In reply to comment #11) > This fix also causes following testsuite failure on alphaev68-pc-linux-gnu: > > Running target unix > FAIL: libmudflap.c++/pass41-frag.cxx (-static) (test for excess errors) > WARNING: libmudflap.c++/pass41-frag.cxx (-static) compilation failed to > produce > executable Reverting: * src/c++98/compatibility-ldbl.cc: Guard with PIC fixes the failure. Based on this, does following patch looks OK: --cut here-- Index: src/c++98/compatibility-ldbl.cc =================================================================== --- src/c++98/compatibility-ldbl.cc (revision 186092) +++ src/c++98/compatibility-ldbl.cc (working copy) @@ -27,8 +27,6 @@ #include <cmath> #include <tr1/functional> -#ifdef PIC - #ifdef _GLIBCXX_LONG_DOUBLE_COMPAT #ifdef __LONG_DOUBLE_128__ @@ -80,5 +78,3 @@ __attribute__((alias ("_ZNKSt3tr14hashIeEclEe"))); #endif - -#endif --cut here--