Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17246

[Packaging][deb][RPM] Don't use system jemalloc

    XMLWordPrintableJSON

Details

    Description

      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:

      + 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
      

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

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h