I've been trying to compile gem5.opt for x86, using both the unmodified gem5-stable repo (with 'scons build/X86_SE/gem5.opt') and the unmodified gem5 repo (with 'scons build/X86/gem5.opt'). I've tried on gcc 4.3.2, 4.5.2, and 4.6.1, and in all cases the build fails when it gets to decoder.cc after a very long time. The error is always something like:
[ CXX] X86/arch/x86/decoder.cc -> .o build/X86/arch/x86/decoder.cc:120069:3: fatal error: error writing to -: Broken pipe compilation terminated. g++: Internal error: Killed (program as) Please submit a full bug report. See <http://gcc.gnu.org/bugs.html> for instructions. scons: *** [build/X86/arch/x86/decoder.o] Error 1 scons: building terminated because of errors. I've seen several other related errors on both the users and dev mailing list, but I haven't seen any solutions. On the dev list, I saw a discussion about splitting decoder.cc into several files, so that gcc could compile it, but I haven't come across any followup. Does anyone have an techniques for getting past this point in the compile? Thanks, Max Other system details: The system has 8GB memory Red Hat (Enterprise 4) Python 2.6.7
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
