gem5 syscall emulation arm C hello world fails with “fatal: syscall gettid (#224) unimplemented”

后端 未结 2 1902
被撕碎了的回忆
被撕碎了的回忆 2021-01-24 01:15

I am having the following error in gem5. This happens in ARM only. With X86 I see some syscalls being ignored but none causing a fatal error.

tomas@ubuntu:~/gem5         


        
2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-24 01:30

    uclibc is the answer for compiling for gem5. It doesn't use a bunch of syscalls that glibc uses and that gem5 doesn't have implemented. So using crosstool-ng and arm-unknown-linux-uclibcgnueabi solved the issue.

提交回复
热议问题