RFR: 8340574: Drop stackMapTable.cpp to -O1 for MacOS on XCode 16 to work around JDK-8340341
Julian Waters
jwaters at openjdk.org
Sun Sep 22 11:04:33 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.
I was about to raise a second concern about Link Time Optimization possibly not working with this patch, but remembered that macOS's only supported compiler, clang, doesn't support LTO in our build system. Wonder how I could've forgotten that
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21119#issuecomment-2366727375
More information about the build-dev
mailing list