If this works on x86, the chances are good that the system call
implementations are fine since they're likely the same between the two, but
there could be some glue (flag translation, which system calls that are
hooked up) which is different. You should try enabling the system call
DPRINTF flags (--debug-flags on the command line) to see what system calls
are being called, and what they're returning. If a system call which isn't
implemented is being called, there should be a message about it from gem5.

Gabe

On Tue, Apr 20, 2021 at 1:45 PM Bobby Bruce via gem5-users <
gem5-users@gem5.org> wrote:

> Hey Majid,
>
> Are you running in FS or SE mode? If you're running in SE mode, I don't
> find this too surprising as not all System calls are currently supported.
>
> Kind regards,
> Bobby
> --
> Dr. Bobby R. Bruce
> Room 2235,
> Kemper Hall, UC Davis
> Davis,
> CA, 95616
>
> web: https://www.bobbybruce.net
>
>
> On Wed, Apr 14, 2021 at 8:16 PM Majid Jalili via gem5-users <
> gem5-users@gem5.org> wrote:
>
>> Hi,
>> When I was running SPEC CPU 2017, in particular 505.mcf_r, I noticed that
>> if gem5 should open a file, it will not make any progress. I dig into mcf
>> code and found when the read_min function is called the simulation freezes.
>> Then I started running a simple benchmark as follows, that just prints
>> the content of a file:
>>
>> https://www.geeksforgeeks.org/c-program-print-contents-file/
>>
>> For this example, I also run into the same problem. I tried X86 and
>> everything works just fine
>>
>> Repo:  I tried both dev and stable
>> gcc: aarch64-linux-gnu-gcc-7 aarch64-linux-gnu-gcc-5
>>
>> Any help is great!
>>
>>
>> _______________________________________________
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to