http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52887
--- Comment #18 from David Edelsohn <dje at gcc dot gnu.org> 2012-06-20 21:14:36 UTC --- Strangely, someone else is reporting a runtime error with the same symbol: exec(): 0509-036 Cannot load program a.out because of the following errors: rtld: 0712-001 Symbol _ZNSt8functionIFvRKNSt7__regex14_PatternCursorERNS0_8_ResultsEEEC1ERKS7_ was referenced from module /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.7.1/ppc64/libstdc++.a(libstdc++.so.6), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol _ZNSt8functionIFbRKNSt7__regex14_PatternCursorEEEC1ERKS5_ was referenced from module /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.7.1/ppc64/libstdc++.a(libstdc++.so.6), but a runtime definition of the symbol was not found. rtld: 0712-002 fatal error: exiting. Maybe the <regex> code is non-functional, but *something* is referencing the symbol under certain circumstances. The kludge patch fixes it, so the missing instantiation is a problem. In the shared library case, if the symbol really is referenced, I don't know how this is working on GNU/Linux.