Looking some of the recent build logs, most of the Ceph packages are in fact compiled with -O2 and -g as Trent alluded to. Only rocksdb is compiled without them as Tyler noted.
However, the upstream rocksdbhas been changed to honour CMAKE_BUILD_TYPE recently [2]. So it's only the rocksdb in UCA that appear to be old; src/rocksdb/CMakeLists.txt [3] is different from the one in UCA [5]. So I believe that source rocksdb needs to be updated to use latest version and that'd naturally build rocksdb RelWithDebInfo, too, as upstream already has the changes for that.
Looking some of the recent build logs, most of the Ceph packages are in fact compiled with -O2 and -g as Trent alluded to. Only rocksdb is compiled without them as Tyler noted.
However, the upstream rocksdbhas been changed to honour CMAKE_BUILD_TYPE recently [2]. So it's only the rocksdb in UCA that appear to be old; src/rocksdb/ CMakeLists. txt [3] is different from the one in UCA [5]. So I believe that source rocksdb needs to be updated to use latest version and that'd naturally build rocksdb RelWithDebInfo, too, as upstream already has the changes for that.
[0] https:/ /launchpadlibra rian.net/ 475127725/ buildlog_ ubuntu- focal-amd64. ceph_15. 2.1-0ubuntu1_ BUILDING. txt.gz
[1] https:/ /launchpadlibra rian.net/ 494025636/ buildlog_ ubuntu- groovy- amd64.ceph_ 15.2.3- 0ubuntu3_ BUILDING. txt.gz
[2] https:/ /github. com/facebook/ rocksdb/ pull/5916/ files
[3] https:/ /github. com/ceph/ rocksdb/ blob/f86d378860 f399bf595bd1135 f39f03a9eaca59f /CMakeLists. txt
[4] https:/ /git.launchpad. net/ubuntu/ +source/ ceph/tree/ src/rocksdb/ CMakeLists. txt
[5] https:/ /git.launchpad. net/ubuntu/ +source/ ceph/tree/ src/rocksdb/ CMakeLists. txt