Skip to content

Commit

Permalink
Explicitly expose std::__once_call* in SO files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed May 10, 2018
1 parent 154860c commit 1a96830
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cpp/src/arrow/symbols.map
Expand Up @@ -16,6 +16,15 @@
# under the License.

{
global:
extern "C++" {
# Export pthread_once-related symbols so that two SO files
# (e.g. libarrow.so and libplasma.so) don't use separate copies of
# those symbols.
# See https://github.com/apache/arrow/pull/1953#issuecomment-386057063
std::__once*;
};

# Symbols marked as 'local' are not exported by the DSO and thus may not
# be used by client applications.
local:
Expand Down

0 comments on commit 1a96830

Please sign in to comment.