Project

General

Profile

Actions

Bug #57140

closed

radosgw* no longer linked with libtcmalloc despite -DALLOCATOR=tcmalloc

Added by Mark Kogan over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Following
https://tracker.ceph.com/issues/57050 -- Crash on startup of radosgw in librbd::rbd_features_from_string()
-->
https://github.com/ceph/ceph/pull/47504 -- rgw/cmake: stop building all of radosgw a shared lib #47504

bisect:

❯ git status
On branch main
Your branch is behind 'origin/main' by 347 commits, and can be fast-forwarded.
#                                      ^^^
❯ git branch -vv
* main                      41475848f53 [origin/main: behind 347] Merge pull request #47363 from tchaikov/boost-phoenix

❯ ldd ./build/bin/radosgw | grep libtc
        libtcmalloc.so.4 => /lib64/libtcmalloc.so.4 (0x00007ffff59a0000)
❯ git bisect good

....

❯ ldd ./build/bin/radosgw | grep libtc

❯ git bisect bad
69a231888e05e4504e20e6a32506ed2a3c48d139 is the first bad commit
commit 69a231888e05e4504e20e6a32506ed2a3c48d139
Author: Casey Bodley <cbodley@redhat.com>
Date:   Mon Aug 8 11:09:56 2022 -0700

    rgw/cmake: stop building all of radosgw a shared lib

    Fixes: https://tracker.ceph.com/issues/57050

    Signed-off-by: Casey Bodley <cbodley@redhat.com>

 ceph.spec.in            |  3 ---
 debian/radosgw.install  |  1 -
 src/CMakeLists.txt      |  2 +-
 src/rgw/CMakeLists.txt  | 34 ++++++++--------------------------
 src/rgw/radosgw.cc      | 13 -------------
 src/rgw/rgw_main.cc     | 12 +-----------
 src/test/CMakeLists.txt |  2 +-
 7 files changed, 11 insertions(+), 56 deletions(-)
 delete mode 100644 src/rgw/radosgw.cc

Actions

Also available in: Atom PDF