NI does not work on Mac/AMR64
running "make native" on an ARM Mac with GraalVM 24 EA 16 leads to the following error:
Error: Support for the Foreign Function and Memory API is currently available only on the AMD64 architecture.
The FFM API was disabled on Native Image for ARM64, because the linking/calling is not supported yet, but MemorySegment should work, at least, to build this project. I already reported the issue internally.
Any idea how I can build it for NI?
@RainerXE You may edit the Makefile and remove the -H:+ForeignAPISupport \ line. This will let you build the project, however, it fails when running with:
com.oracle.svm.core.jdk.UnsupportedFeatureError: Support for the Java Foreign Function and Memory API is not active: enable with -H:+ForeignAPISupport