Relative Content

Tag Archive for armjava-native-interfaceapache-arrow

Exception thrown when JAVA calls libgandiva_jni.so on ARM (but successfully on x86 platform)

We have encountered a wierd issue about libgandiva_jni.so. Same Java program calls Arrow 9.0.0’s libgandiva_jni.so (compiled successfully) with different results on ARM and x86 platform. On ARM platform, it throwed out an exception as below,
“undefined symbol: _ZN4llvm3sys14DynamicLibrary19getPermanentLibraryEPKcPSs”. Then we traced this problem, and found it was blocked in the method:
“llvm::sys::DynamicLibrary::getPermanentLibrary(char const, std::basic_string<char, std::char_traits, std::allocator >)”* .
Furthermore, we have found this method lies in “libLLVMSupport.a”, but we are sure this libLLVMSupport.a file has been linked in shared lib. Below is the command we used: