We are experiencing cannot allocate memory in static TLS block error when trying to dlopen shared libraries built with mimalloc, same thing is happening with jemallocator but we can solve it by disable_initial_exec_tlsfeature flag.
For more information see: https://github.com/microsoft/mimalloc/issues/147
This pull request adds new feature flag with name consistent with cmake build flag, local_dynamic_tls.
Hello,
We are experiencing
cannot allocate memory in static TLS block
error when trying todlopen
shared libraries built with mimalloc, same thing is happening with jemallocator but we can solve it bydisable_initial_exec_tls
feature flag. For more information see: https://github.com/microsoft/mimalloc/issues/147This pull request adds new feature flag with name consistent with cmake build flag,
local_dynamic_tls
.