DenisTarasyuk opened a new pull request, #41497:
URL: https://github.com/apache/arrow/pull/41497

   ### Rationale for this change
   
   Java does not use RTLD_GLOBAL flag when loading gandiva native library, this 
causes bug when llvm generated code tries to use one of functions imported by 
gandiva library as it is not visible to Java process (as example math functions 
from libgcc).
   
   ### What changes are included in this PR?
   
   This change adds jna to be able to load gandiva library with RTLD_GLOBAL 
flag.
   
   ### Are these changes tested?
   
   It is hard to test this specifc case as it only reproduces on some builds of 
JDK on Arm on specific OS (for example openjdk-11 arm docker image). 
    
   ### Are there any user-facing changes?
   
   No.
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to