Hi, https://github.com/apache/arrow/issues/30701 may be related.
BTW, recent our Gandiva packages include libgandiva_jni.so for ARM. You may able to use it instead of building it manually. Thanks, -- kou In <sezpr02mb55192609c92ff3a349e0f10ddf...@sezpr02mb5519.apcprd02.prod.outlook.com> "[DISCUSS][C++][JNI] libgandiva_jni.so fails to run on ARM platform (but compilation successful)" on Mon, 20 May 2024 10:10:28 +0000, 即 云 <[email protected]> wrote: > Greetings, > I have encountered an issue about Arrow on ARM platform. > We compiled successfully“libgandiva_jni.so”on ARM v8, but when we call > this lib from JAVA environment, it throws out an error "Exception > java.lang.UnsatisfiedLinkError:/tmp/libgandiva_jni.so9f8bef08-ab7f-425d-8b42-11f522026a10;undefined > symbol: _ZTIN4llvm11ObjectCacheE" > Would you anybody give me some clues to handle this issue? Thanks in > advance! > > Env. details: > Arrow version:maint-9.0.0 (https://github.com/apache/arrow/tree/maint-9.0.0) > OS:CentOS 7.6 with ARM > Gcc/llvm:gcc 8.3.1 ,llvm 14.0.0 > Compilation flags: > mkdir cpp/build > cd cpp/build > cmake .. -DARROW_GANDIVA_JAVA=ON -DARROW_GANDIVA=ON -DARROW_WITH_RE2=ON > -DARROW_WITH_UTF8PROC=ON > make > > CPU info: > [root@ecs-5f21 arrow]# lscpu > Architecture: aarch64 > Byte Order: Little Endian > CPU(s): 2 > On-line CPU(s) list: 0,1 > Thread(s) per core: 1 > Core(s) per socket: 2 > Socket(s): 1 > NUMA node(s): 1 > Model: 0 > CPU max MHz: 2400.0000 > CPU min MHz: 2400.0000 > BogoMIPS: 200.00 > L1d cache: 64K > L1i cache: 64K > L2 cache: 512K > L3 cache: 32768K > NUMA node0 CPU(s): 0,1 > Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics > fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
