Project

General

Profile

Actions

Support #23676

closed

How to disable compiler optimization for ceph?

Added by Nayana Thorat about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

I am building ceph from source v12.2.4 using the steps mentioned in
https://github.com/ceph/ceph/tree/v12.2.4 -- README.md

git clone git://github.com/ceph/ceph
cd ceph
git checkout v12.2.4
./install-deps.sh
./do_cmake.sh
cd build
make
ctest

on debugging test: unittest_bloom_filter, gdb shows optimized out for few variables.

Actions #1

Updated by Patrick Donnelly about 6 years ago

  • Status changed from New to Resolved

Try passing CMAKE_BUILD_TYPE=Debug to make.

Actions

Also available in: Atom PDF