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)
****Command that I used for generating the binary from the c code:
** riscv64-unknown-elf-gcc -o2 -c -o sqrt sqrt.c
****Command that I run on gem5:
**build/RISCV/gem5.opt configs/learning_gem5/part1/inorder-riscv.py
How may i compile the files of c containg the math.h library and then run as a workload on gem5.
Muhammad Waseem Abbas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.