Kouhei Sutou created ARROW-17246:
------------------------------------

             Summary: [Packaging][deb][RPM] Don't use system jemalloc
                 Key: ARROW-17246
                 URL: https://issues.apache.org/jira/browse/ARROW-17246
             Project: Apache Arrow
          Issue Type: Bug
          Components: Packaging
            Reporter: Kouhei Sutou
            Assignee: Kouhei Sutou
             Fix For: 9.0.0


Because system jemalloc can't be used with {{dlopen()}}. If system jemalloc 
can't used with {{dlopen()}}, our shared libraried can't be loaded as bindings 
of script languages such as Ruby:

{noformat}
+ ruby -r gi -e 'p GI.load('\''Arrow'\'')'
(null)-WARNING **: Failed to load shared library 'libarrow-glib.so.900' 
referenced by the typelib: /lib64/libjemalloc.so.2: cannot allocate memory in 
static TLS block
{noformat}

This is caused because system jemalloc isn't built with 
{{--disable-initial-exec-tls}}. See also:

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951704
* https://github.com/jemalloc/jemalloc/issues/1237



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

Reply via email to