From 3f05e114671b9c52991704a62bf4dd9c1ca7de05 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 4 Apr 2019 12:10:09 -0400 Subject: [PATCH] temp/qemu: Link qemu static against jemalloc (!312) Work around for issue #1715 Link qemu static binaries to jemalloc. This malloc implementation does not appear to be susceptible to the deadlock after fork issue. --- temp/qemu/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/temp/qemu/APKBUILD b/temp/qemu/APKBUILD index b620793de..6935c359f 100644 --- a/temp/qemu/APKBUILD +++ b/temp/qemu/APKBUILD @@ -16,6 +16,7 @@ makedepends=" glib-static gnutls-dev gtk+3.0-dev + jemalloc-dev libaio-dev libcap-dev libcap-ng-dev @@ -243,7 +244,8 @@ build() { --disable-brlapi \ --disable-mpath \ --disable-libnfs \ - --disable-capstone + --disable-capstone \ + --enable-jemalloc cd "$builddir"/build _compile_common \