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

[macos] zerovm is broken due to libffi headers location

    Details

    • Resolved In Build:
      b05
    • CPU:
      x86

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vkempik Vladimir Kempik
                  Reporter:
                  vkempik Vladimir Kempik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: