问题描述
我完全实现了以下网页的内容: http://www.gem5.org/documentation/learning_gem5/part3/running/ 该程序可以根据网页要求在X86下进行编译,但是我想获取一个ARM二进制文件,因此我使用以下代码对其进行编译:
aarch64-linux-gnu-g++ -o threads threads.cpp -pthread -std = c ++ 11 -static
我可以编译并获取二进制文件,但是在运行过程中出现以下错误:
erminate called after throwing an instance of 'std::system_error'
what(): Enable multithreading to use std::thread: Operation not permitted
由于gem5的bin文件夹中未提供已编译的ARM二进制文件,这是否意味着gem5不支持运行ARM多线程程序,或者我的编译选项错误?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)