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.

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

Reply via email to