On Fri, 17 Jun 2011, Shu Wang wrote:

Hi all,

I found I can use command "build/ALPHA_SE/m5.debug configs/example/se.py" to
run a simple C program(hello world).
However I cannot use this way to run a complex C++ program.
The terminal always show these errors:
$ build/ALPHA_SE/gem5.opt configs/example/se.py
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jun 16 2011 16:03:26
gem5 started Jun 17 2011 13:58:00
gem5 executing on shu
command line: build/ALPHA_SE/gem5.opt configs/example/se.py
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: ignoring syscall rt_sigaction(4831385680, 32, ...)
warn: ignoring syscall rt_sigaction(4831385680, 33, ...)
warn: ignoring syscall rt_sigaction(4831385680, 34, ...)
warn: ignoring syscall osf_sigprocmask(2147483648, 1, ...)
warn: ignoring syscall osf_sigprocmask(4294967296, 2, ...)
fatal: syscall _sysctl (#319) unimplemented.
@ cycle 1101500
[unimplementedFunc:build/ALPHA_SE/sim/syscall_emul.cc, line 83]
Memory Usage: 552708 KBytes

I didn't find the solution in gem5's guide.
Could you please tell me how to run a complex C++ program on Gem5?
Are there some useful documentation can help me to solve this problem?

Regards, Shu


Are you using the sysctl function in your application? It is used for tuning the kernel paramemters. But in SE mode, no kernel runs. So no point in making use of this system call.

--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to