Hi, I am trying to simulate my personal code written in C++ with gem5.... I started just by compiling "hello.c" that came with gem5 and use it instead of using the pre-compiled binary"hello". here is what I get:
build/X86/gem5.opt configs/example/se.py -c ../c_code/my_hello fatal: Object file is a dynamic executable however only static executables are supported! Please recompile your executable as a static binary and try again. @ cycle 0 then I recompiled it with g++ -static -o my_hello hello.c running it again give me kernel error as: FATAL: kernel too old panic: Tried to read unmapped address 0xffffffffffffffc0. @ cycle 812500 [invoke:build/X86/arch/x86/faults.cc, line 160] Memory Usage: 618776 KBytes Program aborted at cycle 812500 Aborted (core dumped) but my kernel version is: nmtshiba@ubuntu:~/gem5$ cat /proc/version Linux version 3.2.0-23-generic (buildd@crested) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 I have a ubuntu 12.04 installed on x86 machine. any idea how I to compile my own binaries to run with gem5?
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users