Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8307527

MacOS Zero builds fail with undefined FFI_GO_CLOSURES after JDK-8304265

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 21
    • core-libs

      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

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: