From a82d2a83e87eee8bb4e0025582bc4afed1a9b332 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 2 Apr 2024 17:19:29 +0200 Subject: musl-gcc: Ship mimalloc.o with musl GCCs --- doc/COMPILERS.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/COMPILERS.md') diff --git a/doc/COMPILERS.md b/doc/COMPILERS.md index 6fd4d64..4c1e756 100644 --- a/doc/COMPILERS.md +++ b/doc/COMPILERS.md @@ -30,6 +30,11 @@ binutils and GCC versions. Unfortunately, *musl-cross-make* does not call the `install-strip` target. Therefore, we apply manual stripping to achieve reproducibility. +Additionally, the alternative allocator object +[`mimalloc.o`](https://github.com/microsoft/mimalloc) is also built and added to +GCC's lib folder. Linking it can solve Musl's slowdowns with allocator +contention in multithreaded applications. + ## GCC Musl Static Static building is achieved by using the GCC 13.2.0 Musl toolchain -- cgit v1.2.3