http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54283
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-28 21:40:38 UTC --- > The general assumption on non-cross scenarios is that we're able to run a > program created by CC and CXX. If this is not the case, not even > configure-time execution tests involving the compilers would fail. This > suggests to me that we don't have a bug or even a regression here; it just so > happens that we use CXX now, and CXX has never worked “properly” on Rainer's > setting. I suggest setting LD_LIBRARY_PATH so that CXX works “properly”, or > using a CXX with -static-libstdc++ and whatever other options are needed to > make newly-created executables run. -static-libstdc++ is already automatically used if supported.