AArch64: "R_AARCH64_JUMP_SLOT" caused "Cannot relocate DynamoRIO" error
Created by: shenhanc78
Description The DynamoRIO lib that is built using clang-16 on an AArch64 machine contains R_AARCH64_JUMP_SLOT, which causes the "Cannot relocate DynamoRIO" error. Reference file: "core/unix/loader.c".
To Reproduce
- build DynamoRIO on a AArch64 system using llvm clang-16 (upstream llvm trunk build)
- ./bin64/drrun ls: ERROR: failed to relocate DynamoRIO! Please file an issue at http://dynamorio.org/issues.
Expected behavior drrun should finish without error.
# ./drrun ls ERROR: failed to relocate DynamoRIO! Please file an issue at http://dynamorio.org/issues.
Versions
- What version of DynamoRIO are you using? Upstream trunk DynamoRIO.