From 9f4e34a8ccce48a06be63d90a2810ea7c90364f1 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 15 Jan 2023 00:01:11 +0300 Subject: [PATCH] Build client library without tcmalloc Fixes "[src/tcmalloc.cc:332] Attempt to free invalid pointer ..." when trying to run QEMU with both Vitastor and Ceph RBD disks and other possible allocator collisions. --- src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bb5d49c0..7efb33b6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -145,7 +145,6 @@ add_library(vitastor_client SHARED set_target_properties(vitastor_client PROPERTIES PUBLIC_HEADER "vitastor_c.h") target_link_libraries(vitastor_client vitastor_common - tcmalloc_minimal ${LIBURING_LIBRARIES} ${IBVERBS_LIBRARIES} )