rv8 icon indicating copy to clipboard operation
rv8 copied to clipboard

Can't Run or debug dynamically linked ELF

Open stefan1wan opened this issue 4 years ago • 0 comments

If I use rv-jit or rv-sim to run or dubug a statically linked file, it can succeed;(like this)

asm: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), statically linked, stripped

But I cant't se rv-jit or rv-sim to run the dynamically linked file below.

level8: ELF 64-bit LSB executable, UCB RISC-V, version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 4.15.0, BuildID[sha1]=25c3cdaac8df2769c6c7d39a307ae7b1495287ca, stripped

The error is as below, even after I link the relative ld.so to /lib/ld-linux-riscv64-lp64d.so.1

error: can't find interpreter: /lib/ld-linux-riscv64-lp64d.so.1

And I can't figure out how to solve this, Could any one help me? thanks advance!

stefan1wan avatar Jul 09 '19 12:07 stefan1wan