------- Comment #2 from pluto at agmk dot net 2010-09-16 21:02 ------- ha, my gcc was built with: export CXXFLAGS="-O2"; ./configure --disable-shared..." and this CXXFLAGS afaics affects libstdc++.a debuginfo level. with CXXFLAGS="-O2 -g2" the python pretty printer works fine.
testcase compiled with -gdwarf-4 -g2 and linked with stripped libstdc++.a ends with undebugable std::string. of course with -gdwarf-3 everything works fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45690