You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/08/25 09:27:31 UTC

[GitHub] [camel-quarkus] ppalaga opened a new issue #1598: Deep Java Library native support

ppalaga opened a new issue #1598:
URL: https://github.com/apache/camel-quarkus/issues/1598


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] JiriOndrusek commented on issue #1598: Deep Java Library native support

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on issue #1598:
URL: https://github.com/apache/camel-quarkus/issues/1598#issuecomment-681950721


   DJL native support can not be finished without changes in DJL library. Djl library heavily depends on JNA (mostly models). Full support for JNA is not available or planned (see https://github.com/oracle/graal/issues/673 or https://github.com/oracle/graal/issues/1701)
   
   Here is a stack trace with error caused by JNA from model.
   
   >java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J [symbol: Java_com_sun_jna_Native_malloc or Java_com_sun_jna_Native_malloc__J]
   	at com.oracle.svm.jni.access.JNINativeLinkage.getOrFindEntryPoint(JNINativeLinkage.java:145)
   	at com.oracle.svm.jni.JNIGeneratedMethodSupport.nativeCallAddress(JNIGeneratedMethodSupport.java:57)
   	at com.sun.jna.Native.malloc(Native.java)
   	at com.sun.jna.Memory.malloc(Memory.java:722)
   	at com.sun.jna.Memory.<init>(Memory.java:114)
   	at com.sun.jna.ptr.ByReference.<init>(ByReference.java:42)
   	at com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:40)
   	at com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:36)
   	at ai.djl.mxnet.jna.JnaUtils.createSymbolFromFile(JnaUtils.java:1062)
   
   My WIP is available in branch https://github.com/JiriOndrusek/camel-quarkus/commits/1598-djl-native


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] JiriOndrusek commented on issue #1598: Deep Java Library native support

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on issue #1598:
URL: https://github.com/apache/camel-quarkus/issues/1598#issuecomment-679965697


   Please, assign to me.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org