The standard library you're linking against is newer, and is using a system call that gem5 doesn't implement. You'll either need to use an older standard library, or implement that system call. If you're trying to run gem5's tests, then I know at least one of the x86 ones uses dynamic linking and links against libraries on your host system (!) which can include calls to the more recent system call. It really shouldn't do that in my opinion, but that's the way it's set up today unfortunately.
Gabe On Thu, Sep 2, 2021 at 2:16 PM Manas via gem5-users <gem5-users@gem5.org> wrote: > Hi, I think while building gem5, I may have missed something. And I > didn't realize it during testing the `hello` binary. > > Now, whenever any binary uses file operations (like `fopen`) then I > get the following error: > > ``` > build/X86/sim/syscall_emul.cc:66: fatal: syscall newfstatat (#262) > unimplemented. > ``` > > Can someone point me to where could the issue be? > > Thank you > -- > Manas > CSAM Undergraduate | 2022 > IIIT-Delhi, India > _______________________________________________ > 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