On Tue, Oct 1, 2013 at 8:56 AM, Jonathan Wakely <jwakely....@gmail.com> wrote: > On 1 October 2013 16:49, Paul Pluzhnikov wrote: >> >> The same problem likely exists on trunk, so please do tell how to configure >> GCC in order to reproduce it. > > The std::__7 namespace implies --enable-symvers=gnu-versioned-namespace'
Thanks! I'll test trunk breakage with --enable-symvers above, and then attached patch should fix it. libstdc++-v3/ChangeLog: 2013-10-01 Paul Pluzhnikov <ppluzhni...@google.com> * src/c++11/snprintf_lite.cc: Add missing _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION
Index: libstdc++-v3/src/c++11/snprintf_lite.cc =================================================================== --- libstdc++-v3/src/c++11/snprintf_lite.cc (revision 202927) +++ libstdc++-v3/src/c++11/snprintf_lite.cc (working copy) @@ -28,10 +28,12 @@ #include <bits/locale_facets.h> namespace std { +_GLIBCXX_BEGIN_NAMESPACE_VERSION template<typename _CharT, typename _ValueT> int __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit, ios_base::fmtflags __flags, bool __dec); +_GLIBCXX_END_NAMESPACE_VERSION } namespace __gnu_cxx {