RISCV 32 bits in SE mode #3183
Replies: 1 comment
|
Hi Maria, The issue you are seeing with The clean solution here is to update your gem5 repository to the latest release (v25.1.0.0 or later). This issue was officially addressed in pull request #2525, which forces the simulator to gracefully ignore If you'd like to trace the exact system call sequence right before it crashes to double-check, you can run your script with the gem5.opt --debug-flags=SyscallAll config_se_riscv.pyUpdating your gem5 build should clear this right up. Let us know if pulling the latest version fixes the crash for you! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm trying to run a simulation in SE mode for riscv 32 bits, the host is M2 Apple (gem5 version 25.0.0.1). I have the binary I want to simulate that has been compiled statically for riscv32 using musl C library inside a docker container with linux environment, but I get an error 'bad_alloc' due of writev syscall. I also tried to compile the binary using glibc and newlib but the same I get errors related with rseq syscall and page fault.
Is it possible to run this kind of simulation in SE mode?
Also I'm not sure if the configuration is correct for this case (see file attached). I paste the configuration here as well:
Thank you in advance.
Maria
config_se_riscv.py
All reactions