[PATCH] D64930: [ELF][AArch64] Allow PT_LOAD to have overlapping p_offset ranges
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 23 05:30:09 PDT 2019
peter.smith added a comment.
I can reproduce a segfault with this image on an Ubuntu 16.04 linux machine (CPU is a cortex-a72). For reference I needed to alter the response file to change the dynamic linker --dynamic-linker=/lib/ld-linux-aarch64.so.1
At the moment I'm not very far in debugging what the problem is
execve("./bin", ["./bin"], [/* 20 vars */]) = -1 EINVAL (Invalid argument)
- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0}
expanding the truncated /* 20 vars */ is not helpful, just the standard arguments passed to execve.
A critical part of the failure seems to be -znow, if I take that out then I get
./bin: error while loading shared libraries: libclang_rt.hwasan-aarch64-android.so: cannot open shared object file: No such file or directory
Will see if I can reproduce in QEMU.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64930/new/
https://reviews.llvm.org/D64930
More information about the llvm-commits
mailing list