[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49167: [PATCH core-updates] gnu: jemalloc: --disable-initial-exec-tl
From: |
Ludovic Courtès |
Subject: |
bug#49167: [PATCH core-updates] gnu: jemalloc: --disable-initial-exec-tls |
Date: |
Fri, 03 Sep 2021 12:06:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Ryan,
Ryan Sundberg <ryan@arctype.co> skribis:
> From 8b97b60ab78ba1e616efaf477e629cfa2457b1a9 Mon Sep 17 00:00:00 2001
> From: Ryan Sundberg <ryan@arctype.co>
> Date: Fri, 29 Jan 2021 21:18:56 -0800
> Subject: [PATCH] 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.
It took a long while, but it’s now in ‘core-updates-frozen’ as
68dd6d809398297dc2ebef522186c9b9f2566739 (with minor tweaks so it would
apply and so that ‘jemalloc-4.5.0’ remains public.)
Thanks!
Ludo’.
- bug#49167: [PATCH core-updates] gnu: jemalloc: --disable-initial-exec-tls,
Ludovic Courtès <=