]> 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)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 1 Nov 2023 19:58:56 +0000 (15:58 -0400)
commitc4b4ba554d285d9342cf16e4ce6782f18bd405ce
tree0d35068ff45f8c4051ce77fea8bb142346fa4dfc
parentddd2c61077c566964f6b0aa4835396740fe9c9b3
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>
src/rgw/CMakeLists.txt