------- Comment #14 from bkoz at gcc dot gnu dot org 2006-01-26 16:32 -------
Gaby, here's the one thing that I can think of that changed between 3.4.x and mainline/4.1 in this code path: 2005-10-10 Ian Lance Taylor <ian@airs.com> PR libstdc++/13583 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache): Move out of line. * src/locale.cc: Define here, add mutex. You might want to try reverting this and seeing if it has any impact. I kind of doubt it, but it's the only thing that really changed WRT ios/locale init. I'm surprised to see this issue. I would imagine that if this is a libstdc++ issue everybody and their dog would have found it by now. best, benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25608