From: Venky Shankar Date: Tue, 24 Jan 2023 06:19:26 +0000 (+0530) Subject: Revert "cmake: do not link ceph-dencoder against global" X-Git-Tag: v18.1.0~423^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7fa088516f1b0bac10f2812b10b4758a5ea7095a;p=ceph.git Revert "cmake: do not link ceph-dencoder against global" Reverting since this is causing the following ceph-dencoder exception: [src/tcmalloc.cc:332] Attempt to free invalid pointer 0x558f14e3a000 NOTE: I didn't debug this any more further since there is sizable backlog of PRs that need testing/merging, but reverting the change makes it work. Fixes: http://tracker.ceph.com/issues/58219 Signed-off-by: Venky Shankar --- diff --git a/src/tools/ceph-dencoder/CMakeLists.txt b/src/tools/ceph-dencoder/CMakeLists.txt index b40da0833ee20..5cb56e1361592 100644 --- a/src/tools/ceph-dencoder/CMakeLists.txt +++ b/src/tools/ceph-dencoder/CMakeLists.txt @@ -99,7 +99,7 @@ target_compile_definitions(ceph-dencoder PRIVATE target_link_libraries(ceph-dencoder StdFilesystem::filesystem - ceph-common + global ${DENCODER_EXTRALIBS} cls_log_client cls_version_client