RFR: 8276174: Build failure on MacBook Air (M1) in JFX component graphics

Kevin Rushforth kcr at openjdk.java.net
Thu Nov 11 13:40:36 UTC 2021


On Thu, 11 Nov 2021 10:46:26 GMT, Andreas Heger <duke at openjdk.java.net> wrote:

> By changing the value for the clang -arch parameter to "arm64", the jfx project compiles on an apple silicon system. Are there any side effects which I might be missing in this simple solution?

Did you build WebKit and media with this fix? This might be an OK stop gap, but a more permanent solution would probably be to automatically set `TARGET_ARCH` to `arm64` when `OS_ARCH` is set to `aarch64`.

-------------

PR: https://git.openjdk.java.net/jfx/pull/666


More information about the openjfx-dev mailing list