You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2022/11/24 01:44:00 UTC

[jira] [Created] (IMPALA-11742) libfesupport.so should hide symbols that are not directly needed

Joe McDonnell created IMPALA-11742:
--------------------------------------

             Summary: libfesupport.so should hide symbols that are not directly needed
                 Key: IMPALA-11742
                 URL: https://issues.apache.org/jira/browse/IMPALA-11742
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 4.2.0
            Reporter: Joe McDonnell


libfesupport.so includes a large number of libraries (basically most of Impala's C++ code and C++ dependencies), but there are only a limited number of functions that users of libfesupport.so need to access externally. We should hide the symbols that are not directly needed so that they cannot conflict with the user's symbols.

One way to do that is to use ld's version-script to specify a symbol map. It can list the global symbols and then exclude all others.

The list of symbols exposed from libfesupport.so is somewhat complicated. it includes the JNI functions in fe-support.cc, as well as a large number of functions in the exprs directory. Essentially, the functions listed in common/function-registry/impala_functions.py need to be exposed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org