kou commented on PR #43770: URL: https://github.com/apache/arrow/pull/43770#issuecomment-2299793645
In this context, "ORC" is not "Apache ORC". "ORC" is a JIT API in LLVM: https://llvm.org/docs/ORCv2.html ORC JIT can work with LLVM 17+ but it requires that the main process (`java` in this case) exports some ORC JIT symbols such as `llvm_orc_registerEHFrameSectionWrapper` globally. To do this, we have some approaches: * Use `LD_PRELOAD=/.../libLLVM-XX.so java ...` (or something) * Use `RTLD_GLOBAL` not `RTLD_LOCAL` (this is the default) for `dlopen(`libgandiva_jni.so')` * Remove the restriction in LLVM See also: https://github.com/apache/arrow/issues/39695#issuecomment-1912186637 If we can't do any of them, we need to pin LLVM 16-. But it's just a workaround because LLVM 16- will reach EOL eventually. -- 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]
