AArch64: temporary fix for trig and log functions in jdk11u

Andrew Dinn adinn at redhat.com
Tue Sep 25 09:10:20 UTC 2018


Oops. Apologies. Those were internal links!

Corrections inline.

On 25/09/18 09:49, Andrew Dinn wrote:
> Hi Rob,
> 
> There are two critical AArch64 bugs in progress in jdk/jdk which are
> also present in jdk11u (JDK-8210858 and JDK-8210461). The generated
> machine code for maths intrinsics has been shown to contain bugs.
> 
> The first bug has been fixed in jdk12 and we are pretty confident that
> the code has now been properly tested and is correct. the second has a
> proposed patch which is still being reviewed.
> 
> We resolved this issue in the jdk11u-aarch64 releases built from our
> downstream repo with the following patches:


https://src.fedoraproject.org/rpms/java-11-openjdk/blob/master/f/RHBZ-1628612-JDK-8210461-workaround-disable-aarch64-intrinsic.patch


https://src.fedoraproject.org/rpms/java-11-openjdk/blob/master/f/RHBZ-1630996-JDK-8210858-workaround-disable-aarch64-intrinsic-log.patch

> i.e. we disabled publishing of the generated assembler intrinsics.
> 
> Rather than wait for a backport of the upstream fixes would it be
> possible to apply this patch to jdk11u now? That would allow other Linux
> distros to cherry-pick this patch for their own jdk11u releases. This is
> quite urgent as we want to be sure those distros get a chance to push an
> updated release before the next official jdk11u version is ready.
> 
> I am not sure where this request sits as regards the current guidelines
> [1] for approving fixes nor what would be needed by way of JIRA to to
> cover this patch so your advice as to how we can proceed here would be
> very welcome.
> 
> [1 http://openjdk.java.net/projects/jdk-updates/approval.html

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the jdk-updates-dev mailing list