首页 > 解决方案 > 如何解决以下 gem5 构建错误?

问题描述

我首先使用命令在 ubuntu18.04 上构建 gem5 "scons build/X86/gem5.opt"。当它构建时"X86/arch/X86/generated/inst-constrs.cc->o"出现意外错误,我应该如何解决这个问题?

之前,我遇到了错误

“未知的伪代码”

我找到了一个可行的解决方案。那就是将gcc和g++降级到5版本。然而,有一个新的

“未知的伪操作'.lbb366010'”

引发错误。

{standard input}: Assembler messages:
{standard input}: 87979: Warning: end of file not at end of a line; newline inserted
{standard input}: 88437: Error: unknown pseudo-op '.lbb366010'
{standard input}: Error: open CFI at the end of ifle; missing .cif_endproc directive

标签: gccg++gem5

解决方案


推荐阅读