Hi, I downloaded gem5 from the gem5 dev repo. When compiling gem5 with using scons build/X86/gem5.opt command I get following error:
g++: Internal error: Killed (program cc1plus) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> <http://bugzilla.redhat.com/bugzilla> for instructions. scons: *** [build/X86/arch/x86/generated/decoder.o] Error 1 scons: building terminated because of errors. After looking up on this error, I tried setting my stack-size to unlimited. I am using a 4-core, 8GB RAM linux RedHat Enterprise box, The gcc version is g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) When I looked at the compile process using "top" command, i observe that at one point during the compilation, the memory usage goes over the 100% and then it crashes. The last statements that are printed on the terminal before crashing are - scons: Building targets ... [NEW DEPS] X86/arch/x86/generated/inc.d -> x86-deps [ENVIRONS] x86-deps -> x86-environs [ CXX] X86/arch/x86/generated/decoder.cc -> .o {standard input}: Assembler messages: {standard input}:81488839: Warning: end of file not at end of a line; newline inserted {standard input}:81489545: Error: unknown pseudo-op: `.' g++: Internal error: Killed (program cc1plus) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> for instructions. scons: *** [build/X86/arch/x86/generated/decoder.o] Error 1 scons: building terminated because of errors. I guess warning and error message are due to the process running out of memory space. I observed this happens when it is compiling decoder.cc for different types of build. Any idea on how to fix this build problem? Regards, Aditya
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
