From: Sage Weil <sage@newdream.net>
To: Xiaoguang Liu <syslxg@gmail.com>
Cc: Yehuda Sadeh Weinraub <yehudasa@gmail.com>, ceph-devel@vger.kernel.org
Subject: Re: rbd create command fails to create image
Date: Fri, 6 Aug 2010 09:44:16 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.1008060940300.26680@cobra.newdream.net> (raw)
In-Reply-To: <AANLkTikyKWEObcbRJ1pTjMuEHOAXrRxiKO5ts+9m9cx0@mail.gmail.com>
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 {} ';'
next prev parent reply other threads:[~2010-08-06 16:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 6:50 rbd create command fails to create image Xiaoguang Liu
2010-08-06 7:10 ` Yehuda Sadeh Weinraub
2010-08-06 7:35 ` Xiaoguang Liu
2010-08-06 16:44 ` Sage Weil [this message]
2010-08-07 11:38 ` Thomas Mueller
2010-08-09 3:04 ` Xiaoguang Liu
2010-08-09 3:48 ` Yehuda Sadeh Weinraub
2010-08-09 6:27 ` Xiaoguang Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.1008060940300.26680@cobra.newdream.net \
--to=sage@newdream.net \
--cc=ceph-devel@vger.kernel.org \
--cc=syslxg@gmail.com \
--cc=yehudasa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.