http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55808
--- Comment #3 from Patrick <mister.freeman at laposte dot net> 2012-12-31 15:06:03 UTC --- the options for compiling mame are : make NOWERROR=1 OPTIMIZE=2 PYTHON=python2 but I did also a test with no options ( by typing "make" ), each time the problem occurs if the system memory ( physical memory and swap memory ) is less than 1.5 Gb, it's easy to reproduce the problem by creating a virtual machine with virtualbox ( 1 Gb ram, 512 swap ), download the source code of mame and then compile it with gcc 4.7.2, after a long time the compilation will fail at this stage : Compiling src/emu/cpu/tms32051/tms32051.c... Generating TMS57002 source file... obj/sdl/build/tmsmake src/emu/cpu/tms57002/tmsinstr.lst obj/sdl/emu/cpu/tms57002/tms57002.inc Compiling src/emu/cpu/tms57002/tms57002.c... {standard input}: Assembler messages: {standard input}:3066: Warning: end of file not at end of a line; newline inserted {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive gcc: internal compiler error: Killed (program cc1plus) it fails because there was not sufficient memory to do the compilation, I can check it by typing "free -m" often in a console, but with an older version of gcc ( 4.4.5 ) there is no problem