I have managed to get gcc to build stage2 with debug info, and here is the new stack trace that I get: #0 0x10efd9b4 in std::__timepunct<char>::__timepunct(std::__timepunct_cache<char>*, unsigned long) () #1 0x10ef7dd8 in std::locale::_Impl::_Impl(unsigned long) () at _start_ :420 #2 0x10efe4a8 in std::locale::_S_initialize_once () at _start_ :267 #3 0x10efe444 in std::locale::_S_initialize () at _start_ :279 #4 0x10ef7864 in text () at _start_ :210 #5 0x10ef187c in std::ios_base::Init::Init() () at _start_ :543 #6 0x10a8d674 in _Z41__static_initialization_and_destruction_0ii (__initialize_p=1, __priority=65535) at /local/cds/alitvin/aix-ppc-7.1/gcc-4.8.0p1/prev-powerpc-ibm-aix7.1/libstdc++-v3/include/iostream:74 #7 0x10a8d724 in _GLOBAL__sub_I__Z10free_scops3vecIP4scop7va_heap6vl_ptrE () at /mnts/cdstools/build/source/gcc-4.8.0p1/gcc/graphite-sese-to-poly.c:3208 #8 0x10a8d820 in _GLOBAL__I_65535_0__Z10free_scops3vecIP4scop7va_heap6vl_ptrE () at /mnts/cdstools/build/source/gcc-4.8.0p1/gcc/graphite-sese-to-poly.c:3208 #9 0x1122fc44 in _GLOBAL__FI_cc1 () #10 0xd017f974 in mod_init1 () from /usr/lib/libc.a(shr.o) #11 0xd017f674 in __modinit () from /usr/lib/libc.a(shr.o) #12 0x100001c8 in __start () (gdb) --Andrei