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

[macos] zerovm is broken due to libffi headers location

XMLWordPrintable

    • b05
    • x86

        For Xcode8-12 (and maybe earlier) on macos the ffi.h is located in usr/include/ffi/ffi.h path in sdk, not in system folder.

        Therefore its not possible to pass additonal flags, like -I/usr/include/ffi as it will make clang to look into system's /usr/include/ffi folder (but not into sdk's usr/include/ffi) while /usr/include may (in case of Command line tools installed) or may not be present at all.

        It might be reasonable to change default location for ffi.h from <ffi.h> to <ffi/ffi.h> for MacOS

        ffi is needed to build Zero VM

              vkempik Vladimir Kempik
              vkempik Vladimir Kempik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: