Hello all I have been trying for a long time to build gcc-4.9.2 and now gcc-5.1.0-RC-20150412 but it always dies with: make[2]: *** [s-attrtab] Segmentation fault (core dumped) I did succeed once for some unknown reason with gcc-4.9.2, installed it and built the entire system with it but it absolutely refuses to build itself. The same for gcc-5.1.0-RC-20150412 and now gcc-5.1.0. Any help is welcome. below are some details: System ------ armv7l-unknown-linux-gnueabihf Configure --------- ../gcc-5.1.0-RC-20150412/configure --enable-languages=c,c++ --disable-bootstrap Tail end of make before the error --------------------------------- make[2]: Entering directory '/tmp/gcc_build/gcc' build/genattrtab ../../gcc-5.1.0-RC-20150412/gcc/common.md ../../gcc-5.1.0-RC-20150412/gcc/config/arm/arm.md insn-conditions.md \ -Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c Makefile:2147: recipe for target 's-attrtab' failed make[2]: *** [s-attrtab] Segmentation fault (core dumped) make[2]: Leaving directory '/tmp/gcc_build/gcc' Makefile:4120: recipe for target 'all-gcc' failed make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory '/tmp/gcc_build' Makefile:873: recipe for target 'all' failed make: *** [all] Error 2 Some output from gdb -------------------- gcc_build>gdb gcc/build/genattrtab gcc/core Reading symbols from gcc/build/genattrtab...done. [New LWP 14821] Core was generated by `build/genattrtab ../../gcc-5.1.0-RC-20150412/gcc/common.md ../../gcc-5.1.0-RC-2'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0004524c in attr_hash_table () (gdb) where #0 0x0004524c in attr_hash_table () #1 0x0001b460 in rtx_equal_p (x=<optimized out>, y=<optimized out>) at ../../gcc-5.1.0-RC-20150412/gcc/rtl.c:628 #2 0xfffffffe in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) thread apply all bt Thread 1 (LWP 14821): #0 0x0004524c in attr_hash_table () #1 0x0001b460 in rtx_equal_p (x=<optimized out>, y=<optimized out>) at ../../gcc-5.1.0-RC-20150412/gcc/rtl.c:628 #2 0xfffffffe in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?)