Dear Sirs:
    I'm learning to use gem5, and downloaded the newest version through the
following instruction:

hg clone http://repo.gem5.org/gem5

   I built it like this: scons build/MIPS_SE/gem5.opt
   I wrote a simple hello world C program:

#include        <stdio.h>

int main()
{
        printf("Hello World");
        return 0;
}

   And compiled it:

*mips-linux-gnu-gcc --static -EL -o test2 test2.c

  When I execute the following instruction:

./build/MIPS_SE/gem5.opt configs/example/se.py -c ../CrossCompilerTest/test2

  An error came up:

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Sep 22 2011 00:40:05
gem5 started Sep 23 2011 22:20:04
gem5 executing on localhost.localdomain
command line: ./build/MIPS_SE/gem5.opt configs/example/se.py -c
../CrossCompilerTest/test2
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
info: Increasing stack size by one page.
warn: Not extending stack: address 0xffff9014 isn't at the end of the stack.
panic: Page table fault when accessing virtual address 0xffff9014
 @ cycle 370000
[invoke:build/MIPS_SE/sim/faults.cc, line 71]
Memory Usage: 554772 KBytes
Program aborted at cycle 370000
Aborted (core dumped)

  What should I do? Please help me, Thank you:-)
*
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to