Relative Content

Tag Archive for riscvgem5

Trying to compile the c code of sqrt with riscv64-unknown-elf-gcc and then run as workload on gem5 it give me error

build/RISCV/arch/riscv/linux/se_workload.cc:60: warn: Unknown operating system; assuming Linux.
build/RISCV/base/statistics.hh:280: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
build/RISCV/base/statistics.hh:280: warn: One of the stats is a legacy stat. Legacy stat is a stat that does not belong to any statistics::Group. Legacy stat is deprecated.
0: system.remote_gdb: listening for remote gdb on port 7000
Beginning simulation!
build/RISCV/sim/simulate.cc:194: info: Entering event queue @ 0. Starting simulation…
build/RISCV/sim/faults.cc:102: panic: panic condition !handled && !tc->getSystemPtr()->trapToGdb(SIGSEGV, tc->contextId()) occurred: Page table fault when accessing virtual address 0
Memory Usage: 8488576 KBytes
Program aborted at tick 2331
fish: Job 5, ‘build/RISCV/gem5.opt configs/…’ terminated by signal SIGABRT (Abort)