Using SA tools on a transported core file, with SA_ALTROOT on Linux, it enforces finding the ELF interpreter/runtime loader, e.g. /lib/ld-linux-aarch64.so.1.
There does not seem to be a need in the SA tools to resolve this.
Not resolving it would solve two problems:
The ld-linux* file would not need to be transported with the libraries and be present in the SA_ALTROOT directory. Without it, the tools fail with, e.g.:
libsaproc DEBUG: ELF interpreter /lib/ld-linux-aarch64.so.1
libsaproc DEBUG: can't open runtime loader
Unable to open core file
If moving the local ld-lnux* file in place to make the tools work, a mismatch in segment size can be detected, which makes the tools fail to start, giving the error:
libsaproc DEBUG: can't read segments of interpreter
Unable to open core file
There does not seem to be a need in the SA tools to resolve this.
Not resolving it would solve two problems:
The ld-linux* file would not need to be transported with the libraries and be present in the SA_ALTROOT directory. Without it, the tools fail with, e.g.:
libsaproc DEBUG: ELF interpreter /lib/ld-linux-aarch64.so.1
libsaproc DEBUG: can't open runtime loader
Unable to open core file
If moving the local ld-lnux* file in place to make the tools work, a mismatch in segment size can be detected, which makes the tools fail to start, giving the error:
libsaproc DEBUG: can't read segments of interpreter
Unable to open core file
- relates to
-
JDK-8355047 SA fails to discover JDK libraries for Linux core files
-
- Open
-