You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Pindikura Ravindra (JIRA)" <ji...@apache.org> on 2019/01/16 14:11:00 UTC
[jira] [Created] (ARROW-4274) [Gandiva] static jni library broken
after decimal changes
Pindikura Ravindra created ARROW-4274:
-----------------------------------------
Summary: [Gandiva] static jni library broken after decimal changes
Key: ARROW-4274
URL: https://issues.apache.org/jira/browse/ARROW-4274
Project: Apache Arrow
Issue Type: Bug
Components: Gandiva
Reporter: Pindikura Ravindra
Assignee: Pindikura Ravindra
With the decimal changes, there can be cpp calls from the IR code. The symbols for theseĀ need to be visible in the gandiva cpp library. but, the jni library makes visible only a limited set of symbols from gandiva (the ones specified in src/gandiva/jni/symbols.map).
This breaksĀ if the jni library links with the static-libstdc++ (dremio builds the gandiva binary with stdc++ statically linked) due to two reasons
# The cpp symbols like std::ios_base::init are not exported via symbols.map. This causes LLVM to complain that there is are unresolved symbols.
# Also, there is a problem with exceptions (string_view.hpp can throw exceptions) - This alsi causes LLVM to complain that unwindResume is unresolved.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)