All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joao Eduardo Luis <joao@suse.de>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Errors building ceph post c++11 merge
Date: Mon, 10 Aug 2015 18:07:14 +0100	[thread overview]
Message-ID: <55C8DA42.3070001@suse.de> (raw)

To all of those who may be afflicted by various build failures after the
c++11 patches were merged, don't panic just yet.

If you are using ccache to help your builds, try clearing the whole
cache first.

As of right now, this has fixed the following build errors on trusty for
(at least) two developers:


> ./.libs/librados.so: undefined reference to
`__cxa_throw_bad_array_new_length'
> collect2: error: ld returned 1 exit status

and

> /usr/bin/ld: test/librados/ceph_test_rados_api_io-io.o: relocation
R_X86_64_32 against `.rodata' can not be used when making a shared
object; recompile with -fPIC


Hope this email helps someone else avoid wasting a morning on this.

  -Joao

                 reply	other threads:[~2015-08-10 17:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=55C8DA42.3070001@suse.de \
    --to=joao@suse.de \
    --cc=ceph-devel@vger.kernel.org \
    /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.