riscv-software-src/riscv-tools

bbl loader ../pk/elf.c:41: assertion failed: IS_ELF64(eh) Power off

Manahil14 opened this issue · 2 comments

spike pk /home/akeana/proj/cores/aqlrv32-main/sw/hello/hello.elf
I am trying to use elf generated by my core in spike pk. but it gives this error message.

bbl loader
../pk/elf.c:41: assertion failed: IS_ELF64(eh)
Power off

I want to run my 32-architecture elf in spike for testing.

riscv-tools isn't supported.

But it sounds like you're trying to run a 32-bit binary on a 64-bit host.

But spike can also work on 32-bit