RFR: 8340574: Drop stackMapTable.cpp to -O1 for MacOS on XCode 16 to work around JDK-8340341

David Holmes dholmes at openjdk.org
Sun Sep 22 22:29:34 UTC 2024


On Sun, 22 Sep 2024 09:46:43 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Trivial change to drop the optimization level (for both fastdebug and release) of stackMapTable.cpp to O1 on MacOS with Xcode 16.
> 
> This is a workaround for https://bugs.openjdk.org/browse/JDK-8340341, which prevents building on MacOS.
> 
> Tested: with patch fastdebug and release builds are green again.

Personally I think it is foolish to trust this compiler and rather than dropping the optimisation level for the one file we've been lucky enough to know has been compiled incorrectly, we should issue a fatal error if this compiler is used. Downgrade your compilers again and complain  en-masse to Apple. This compiler simply cannot be trusted.

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

PR Comment: https://git.openjdk.org/jdk/pull/21119#issuecomment-2366992837


More information about the build-dev mailing list