]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable jemalloc on softhsm2.4 branch
authorOndřej Surý <ondrej@sury.org>
Fri, 9 Jul 2021 09:19:17 +0000 (11:19 +0200)
committerOndřej Surý <ondrej@sury.org>
Fri, 9 Jul 2021 13:58:02 +0000 (15:58 +0200)
It was discovered that softhsm2.4 has a bug that causes invalid free()
call to be called when unloading libsofthsm.so.2 library.  The native
PKCS#11 API is scheduled to removed in the 9.17+ release, we could
safely just disable jemalloc for this particular build.

.gitlab-ci.yml

index e328317ce68b71378e6cfdff8a17c2d38950a817..ea7bd423f2bd53131e3d2d98db9887d6335f7291 100644 (file)
@@ -998,7 +998,7 @@ gcc:softhsm2.4:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON}"
-    EXTRA_CONFIGURE: "--enable-native-pkcs11 --with-pkcs11=/usr/lib/softhsm/libsofthsm2.so"
+    EXTRA_CONFIGURE: "--without-jemalloc --enable-native-pkcs11 --with-pkcs11=/usr/lib/softhsm/libsofthsm2.so"
   <<: *base_image
   <<: *build_job