I am firstly building gem5 on ubuntu18.04 using the command "scons build/X86/gem5.opt"
. When it built "X86/arch/X86/generated/inst-constrs.cc->o"
an unexpected error is raised, How should I solve this?
Beforehand, I met the error
"unknown pseudo code"
I have found a feasible solution. That is to degrade gcc and g++ to 5 version. However, there is a new
"unknown pseudo-op '.lbb366010'"
error raised.
{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