Skip to content

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

@mali-0024

Description

@mali-0024

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions