From aad3f7f27533e1ba364fa663af6739abe0380c6d Mon Sep 17 00:00:00 2001 From: Christian Brunner Date: Mon, 8 Nov 2010 22:03:02 -0800 Subject: [PATCH] ceph.spec.in: don't strip rados classes Signed-off-by: Christian Brunner --- ceph.spec.in | 5 +++++ src/common/assert.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 0d3fd71d099c3..5c06cea3166cd 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -75,6 +75,11 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp/ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/stat +# To avoid that libcls_rbd.so.1.0.0 is beeing stiped by find-debuginfo.sh +# we petend that the debug symbols have already been extracted +mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/%{_libdir}/rados-classes/ +touch $RPM_BUILD_ROOT/usr/lib/debug/%{_libdir}/rados-classes/libcls_rbd.so.1.0.0.debug + %clean rm -rf $RPM_BUILD_ROOT diff --git a/src/common/assert.cc b/src/common/assert.cc index a045c47972c17..900e373fc9d03 100644 --- a/src/common/assert.cc +++ b/src/common/assert.cc @@ -10,7 +10,7 @@ namespace ceph { void __ceph_assert_fail(const char *assertion, const char *file, int line, const char *func) { - BackTrace *bt = new BackTrace(2); + BackTrace *bt = new BackTrace(1); _dout_lock.TryLock(); *_dout << file << ": In function '" << func << "':" << std::endl; -- 2.39.5