Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Run or debug dynamically linked ELF #58

Open
stefan1wan opened this issue Jul 9, 2019 · 0 comments
Open

Can't Run or debug dynamically linked ELF #58

stefan1wan opened this issue Jul 9, 2019 · 0 comments

Comments

@stefan1wan
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant