hsdis perhaps also need to be linked with -z noexecstack for JDK-8201398
Leslie Zhai
zhaixiang at loongson.cn
Tue Aug 14 06:22:46 UTC 2018
Hi Florian,
Thanks for your response!
在 2018年08月14日 14:15, Florian Weimer 写道:
> 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.
I will rebuild the toolchain to test it, thank you very much!
>
> Florian
--
Regards,
Leslie Zhai
More information about the jdk8u-dev
mailing list