Fork me on GitHub
#graalvm
<
2021-03-26
>
chrisn13:03:12

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.

chrisn13:03:25

/usr/bin/ld: tech.v3.datatype.main.o:(.data+0xb28): undefined reference to `Java_jdk_internal_misc_ScopedMemoryAccess_closeScope0'
I am hesitant to start a thread about this in graal-native channel of graalvm considering I just asked about this last week.

chrisn13:03:29

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.

borkdude13:03:48

> 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?

chrisn13:03:56

I posted on their slack; let's see what the response is.