chipsalliance / rocket-tools

Software tools that support rocket-chip (GNU toolchain, ISA simulator, tests)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

riscv-pk in ubuntu: "Error: unrecognized opcode fence.i' "

mali-0024 opened this issue · comments

resolved by adding the following line in the "build.sh" file

Original build command:
CC= CXX= build_project riscv-pk --prefix=$RISCV --host=riscv64-unknown-elf
updated build command:
CC= CXX= build_project riscv-pk --prefix=$RISCV --host=riscv64-unknown-elf --with-arch=rv64gc_zifencei

Thank for your soulution.