You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may wish to check if libjemalloc_pic.a is compiled with the same prefix as tikv-jemalloc-sys, which is use _rjem_ by default. By enabling unprefixed_malloc_on_supported_platforms feature, prefix can be removed completely on Linux and other supported platforms.
Indeed, the jemalloc that ships with debian and arch linux is not prefixed, and using CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 compiles properly.
using
JEMALLOC_OVERRIDE=/usr/lib/libjemalloc_pic.a cargo build
to build against jemalloc 5.2.1 fails withThis is with mold but it's the same with other linkers. Building with the original
jemallocator
instead does work.The text was updated successfully, but these errors were encountered: