JDK-8281459 : WebKit 613.1 build broken on M1
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u341,openjfx19
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,os_x
  • CPU: aarch64
  • Submitted: 2022-02-08
  • Updated: 2022-03-04
  • Resolved: 2022-02-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8u341Fixed openjfx11.0.15Fixed
Related Reports
Relates :  
Description
The update to WebKit 613.1 (see
https://bugs.openjdk.java.net/browse/JDK-8278980) does not build on Apple's Aarch64 systems.

The changes to MacroAssemblerARM64.h introduce duplicate code which causes the compilation to fail.

For example, 
void loadPair64(RegisterID src, FPRegisterID dest1, FPRegisterID dest2)
is implemented twice, at line 1641 and line 1657
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jfx11u/pull/78 Date: 2022-03-04 14:16:14 +0000
04-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jfx17u/pull/34 Date: 2022-02-11 18:35:37 +0000
11-02-2022

Changeset: cdebc6cb Author: Ambarish Rapte <arapte@openjdk.org> Date: 2022-02-10 13:25:43 +0000 URL: https://git.openjdk.java.net/jfx/commit/cdebc6cbafb579148b4addee44d307bd9739454b
10-02-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jfx/pull/730 Date: 2022-02-09 19:14:47 +0000
09-02-2022

Good to know. Ambarish will fix it and make sure it builds on macOS / aarch64 (e.g., Mac M1). Can you test the fix on Linux as part of reviewing it?
08-02-2022

The same issue occurs when building for Linux-AArch64 (e.g. Rasperry Pi 64 bit).
08-02-2022

[~jvos] We can fix this, unless you already have a fix in mind.
08-02-2022