On Mon, 29 Jun 2026 09:02:03 GMT, Aleksey Shipilev <[email protected]> wrote:

>> make/autoconf/platform.m4 line 663:
>> 
>>> 661:   AC_ARG_ENABLE(deprecated-ports, 
>>> [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
>>> 662:       [Suppress the error when configuring for a deprecated port 
>>> @<:@no@:>@])])
>>> 663:   if test "x$OPENJDK_TARGET_OS" = xmacosx && test 
>>> "x$OPENJDK_TARGET_CPU" = xx86_64; then
>> 
>> Do we need to exclude zero here the way we did for 32-bit x86?
>
> Probably.
> 
> That said, I am not sure MacOS/x86/Zero even builds. Most if not all Zero 
> builds we realistically use are on Linux. Maybe there is enough of BSD glue 
> to make it build, though. @vidmik, try `--with-jvm-variants=zero` on MacOS 
> x86, does it even work?

I had to use `--disable-warnings-as-errors` but with that the build is 
successful and runs HelloWorld. Updated the logic accordingly.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31684#discussion_r3495164479

Reply via email to