1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 14:40:36 +02:00
Files
guix/gnu/packages/jemalloc.scm
Ryan Sundberg 68dd6d8093 gnu: jemalloc: --disable-initial-exec-tls
Disable the thread local storage model in jemalloc 5 to prevent
shared libraries linked to libjemalloc from crashing on dlopen().
https://github.com/jemalloc/jemalloc/issues/937

This bug affects both Java JNI and python libraries which link to
jemalloc 5, such as RocksDB, which will crash the program when loaded.

* gnu/packages/jemalloc.scm (jemalloc)[arguments]: Add --disable-initial-exec-tls
configure flag.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-09-03 12:04:16 +02:00

3.7 KiB