Am Fri, 06 Aug 2010 09:44:16 -0700 schrieb Sage Weil: > Hi Xiaoguang, > > The problem is that /usr/lib/rados-classes/* shouldn't have symbols > stripped. I'm no rpmbuild expert, but a search for 'rpmbuild strip' > turned up a few things. Can you see if the below patch fixes the > problem for you? > > Thanks! > sage > > > diff --git a/ceph.spec.in b/ceph.spec.in index 20e0251..f068edd 100644 > --- a/ceph.spec.in > +++ b/ceph.spec.in > @@ -64,6 +64,7 @@ conjunction with any FastCGI capable web server. > make -j$(getconf _NPROCESSORS_ONLN) CFLAGS="$RPM_OPT_FLAGS" > CXXFLAGS="$RPM_OPT_FLAGS" > > %install > +export DONT_STRIP=1 > rm -rf $RPM_BUILD_ROOT > make install DESTDIR=$RPM_BUILD_ROOT > find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' I'm not a rpm expert either. :) but grepping /usr/lib/rpm did not reveal any DONT_STRIP information. the strip'ing is done by "%__os_install_post" macro: %__os_install_post \ /usr/lib/rpm/brp-compress \ /usr/lib/rpm/brp-strip \ /usr/lib/rpm/brp-strip-comment-note \ maybe redefining it in spec like this: %define __os_install_post /usr/lib/rpm/brp-compress may help? either way, it disables strip'ing for all the files. Is this good? :) - Thomas -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html