Skip to content

Can't Run or debug dynamically linked ELF #58

Open
@stefan1wan

Description

@stefan1wan

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions