qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH] build: link with libatomic on powerpc-linux
Date: Fri, 1 Apr 2016 17:31:14 +0200	[thread overview]
Message-ID: <20160401153114.GB22458@aepfle.de> (raw)
In-Reply-To: <CAFEAcA8YwgcgeymPtXU9QJP7DDj7ot1f+=oAoKhENvR1UVxFkA@mail.gmail.com>

On Fri, Apr 01, Peter Maydell wrote:

> On 1 April 2016 at 13:00, Olaf Hering <olaf@aepfle.de> wrote:
> > Building on powerpc-linux fails with undefined reference to __atomic_load_8 in
> > icount_warp_rt(). Force linking to -latomic.
> 
> We should instead be fixing this by not doing atomic operations
> on types of larger than void*. This also causes problems on x86
> BSDs. I think there's already a proposed patch on the list for that.

Do you have a pointer to the proposed patch?
My change does not work for the --enable-linux-user case for some
reason.

Olaf

      reply	other threads:[~2016-04-01 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 12:00 [Qemu-devel] [PATCH] build: link with libatomic on powerpc-linux Olaf Hering
2016-04-01 12:24 ` Peter Maydell
2016-04-01 15:31   ` Olaf Hering [this message]

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=20160401153114.GB22458@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=stefano.stabellini@eu.citrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).