hsdis perhaps also need to be linked with -z noexecstack for JDK-8201398
Florian Weimer
fweimer at redhat.com
Tue Aug 14 06:15:01 UTC 2018
On 08/14/2018 04:08 AM, Leslie Zhai wrote:
> But workaround for mips64el's PrintLIRWithAssembly is adding
> -Wl,-z,noexecstack linking flag, strangely X86 does *not* need such
> flag, so I am investigating the root cause.
MIPS soft-float apparently needs an executable stack:
<https://sourceware.org/ml/libc-alpha/2016-01/msg00567.html>
<https://sourceware.org/ml/libc-alpha/2016-01/msg00719.html>
This could be why the toolchain does not specify a non-executable stack
by default.
Florian
More information about the jdk8u-dev
mailing list