http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52689
--- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-04-03 09:46:30 UTC --- > --- Comment #12 from Uros Bizjak <ubizjak at gmail dot com> 2012-04-03 > 08:56:13 UTC --- > Reverting: > > * src/c++98/compatibility-ldbl.cc: Guard with PIC > > fixes the failure. Based on this, does following patch looks OK: I need this patch diff --git a/libstdc++-v3/src/c++98/compatibility-list.cc b/libstdc++-v3/src/c++98/compatibility-list.cc --- a/libstdc++-v3/src/c++98/compatibility-list.cc +++ b/libstdc++-v3/src/c++98/compatibility-list.cc @@ -24,8 +24,6 @@ #include <bits/move.h> -#ifdef PIC - #ifndef _GLIBCXX_BEGIN_NAMESPACE_COMPAT # define _GLIBCXX_BEGIN_NAMESPACE_COMPAT #endif @@ -146,5 +144,3 @@ _GLIBCXX_BEGIN_NAMESPACE_COMPAT _GLIBCXX_END_NAMESPACE_COMPAT } // namespace std - -#endif to allow go1 to build on Solaris. Rainer