Everything works as expected but you cannot use jdk-16 FFI pathways in a graal native executable due to missing symbols at link time -- which is pretty damn far, honestly.
I am hesitant to start a thread about this in graal-native channel of graalvm considering I just asked about this last week.
/usr/bin/ld: tech.v3.datatype.main.o:(.data+0xb28): undefined reference to `Java_jdk_internal_misc_ScopedMemoryAccess_closeScope0'
I guess it means that if we all push on that thread we could get https://download.java.net/java/early_access/jdk16/docs/api/jdk.incubator.foreign/jdk/incubator/foreign/CLinker.html supported in GraalNative. That would give you efficient Cython-like access to foreign libraries through graal native.
> Everything works as expected but you cannot use jdk-16 FFI pathways in a graal native executable due to missing symbols at link time Sounds like something worth posting an issue about on oracle/graal github?
I posted on their slack; let's see what the response is.