JDK-8307527 : MacOS Zero builds fail with undefined FFI_GO_CLOSURES after JDK-8304265
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.foreign
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2023-05-05
  • Updated: 2023-06-13
  • Resolved: 2023-06-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Relates :  
Description
Seems to be another manifestation of JDK-8284732.

% CONF=macosx-aarch64-zero-fastdebug make images
Using exact match for CONF=macosx-aarch64-zero-fastdebug (other matches are possible)
Building target 'images' in configuration 'macosx-aarch64-zero-fastdebug'
Creating support/modules_libs/java.base/libfallbackLinker.dylib from 1 file(s)
In file included from /Users/shipilev/Work/shipilev-jdk/src/java.base/share/native/libfallbackLinker/fallbackLinker.c:29:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/ffi/ffi.h:483:5: error: 'FFI_GO_CLOSURES' is not defined, evaluates to 0 [-Werror,-Wundef]
#if FFI_GO_CLOSURES
    ^
1 error generated.
make[3]: *** [/Users/shipilev/Work/shipilev-jdk/build/macosx-aarch64-zero-fastdebug/support/native/java.base/libfallbackLinker/fallbackLinker.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [java.base-libs] Error 2
Comments
Closing as duplicate of JDK-8309880.
13-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13827 Date: 2023-05-05 09:11:40 +0000
05-05-2023