On Sun, 22 Sep 2024 09:46:43 GMT, Thomas Stuefe <stu...@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