]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: link only radosgw with ALLOC_LIBS
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 1 Nov 2023 17:16:46 +0000 (13:16 -0400)
committerIgor Fedotov <igor.fedotov@croit.io>
Thu, 14 Nov 2024 11:47:41 +0000 (14:47 +0300)
commit67972caf076a57b9667aa94e48df12866c11c25a
treeef0987c9fd2847e0f8ba9ab8a53be46cea0ea47f
parent321d9d66bffd685c9c73c617f19a5da68c874dc2
rgw: link only radosgw with ALLOC_LIBS

In particular, do not link intermediate dependencies nor librgw.so.2
with a custom allocator (normally tcmalloc).

This prevents illegal behavior due to mismatched allocators when run
under nfs-ganesha or other consumers.

Fixes: https://tracker.ceph.com/issues/63394
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit c4b4ba554d285d9342cf16e4ce6782f18bd405ce)
src/rgw/CMakeLists.txt