Hi,

What is the command you're using to build the executable? I'm unable to
reproduce this bug with the following command:

gcc -o hello hello.c util/m5/m5op_x86.o

I also tested for ARM.

It shouldn't be possible to compile without a parameter to m5_exit. Also,
looking through the code, as long as you specify a delay of 0 everything
should work. You *will* get the warning if you specify a delay other than
0, though.

Cheers,
Jason

On Wed, Feb 1, 2017 at 4:17 AM Pierre-Yves Péneau <
[email protected]> wrote:

Hi,

I get a warning [1] when I try to exit my simulation with m5_exit():

> "warn: exitSimLoop called with a delay and auto serialization. This is
currently unsupported."

What I am doing is restoring a simulation at the entry of my ROI, then
executing gem5 in FS mode and exiting at the end. My code looks like this:

>   m5_checkpoint(0,0);
>   for (i = 0; i < N; i++)
>   {
>     ...
>   }
>   m5_exit();

I tried to use m5_exit() with no parameter or zero, the result is the
same. So, I don't understand why gem5 is complaining about an exit
delay. And what is auto serialization ?

Thank you.


[1] http://grok.gem5.org/source/xref/gem5/src/sim/sim_events.cc#82

--
+-------------------------------------------------------------+
| Pierre-Yves Péneau - PhD student |  first.last at lirmm.fr  |
| LIRMM / CNRS - SYSMIC team       |    + 33 4 67 41 86 33
<+33%204%2067%2041%2086%2033>    |
| Building 4 Office H2.2           |    http://walafc0.org    |
+-------------------------------------------------------------+

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

Reply via email to