RFR JDK-8209786: gcc 7.3 compiler errors on zLinux (original) (raw)

Brian Burkhalter brian.burkhalter at oracle.com
Tue Aug 28 14:52:43 UTC 2018


Hi Andrew,

It was suggested that it would be preferable to dial down the compilation settings for the fdlibm code rather than make a source code change. Was this investigated?

Thanks,

Brian

On Aug 28, 2018, at 7:18 AM, Andrew Leonard <andrew_m_leonard at uk.ibm.com> wrote:

We have discovered issues with gcc 7.3 on zLinux, combined with OpenJDK's default compiler options has highlighted a couple of native code issues, with undefined behaviours: - validating loop test array bounds - left shifts of negative values I have created bug https://bugs.openjdk.java.net/browse/JDK-8209786 and attached the webrev fix here: http://cr.openjdk.java.net/~aleonard/8209786/webrev.00/

This has already been discussed and refined on the "s390x-port-dev" maillist and as it was pointed out, it should have been posted here... I'd like to request a sponsor for this fix please?



More information about the core-libs-dev mailing list