-
![]() |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Typed out the message in slack and github was a pain to reformat so sorry for the image. |
Beta Was this translation helpful? Give feedback.
-
Hi, I think it would be beneficial if you could post the signature of the ppollFunc (I presume you took pollFunc and adapted it accordingly) |
Beta Was this translation helpful? Give feedback.
-
Hey, so I found a temporary solution — you can use ignoreFunc within the se_workload.cc file to handle certain syscall issues. For example, in my Rust code I needed to read files, and while the open and read syscalls worked, the statx syscall was causing problems. Even though statxFunc was implemented in syscall_emul.cc, it wasn’t linked in se_workload.cc. When I tried to link it like the other syscalls, it caused errors. As a workaround, I used ignoreFunc for statx, and then my Rust code ran successfully. So, if others are running into similar issues with Rust syscalls in gem5, especially with file-related operations, try using ignoreFunc as a workaround. |
Beta Was this translation helpful? Give feedback.
Hey, so I found a temporary solution — you can use ignoreFunc within the se_workload.cc file to handle certain syscall issues. For example, in my Rust code I needed to read files, and while the open and read syscalls worked, the statx syscall was causing problems. Even though statxFunc was implemented in syscall_emul.cc, it wasn’t linked in se_workload.cc. When I tried to link it like the other syscalls, it caused errors. As a workaround, I used ignoreFunc for statx, and then my Rust code ran successfully. So, if others are running into similar issues with Rust syscalls in gem5, especially with file-related operations, try using ignoreFunc as a workaround.