From d3676a1fc5c90f0500e2bc0445fc92b190a18189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Fri, 9 Jul 2021 11:19:17 +0200 Subject: [PATCH] Disable jemalloc on softhsm2.4 branch 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e328317ce6..ea7bd423f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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