[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build: link with libatomic on powerpc-linux
From: |
Olaf Hering |
Subject: |
Re: [Qemu-devel] [PATCH] build: link with libatomic on powerpc-linux |
Date: |
Fri, 1 Apr 2016 17:31:14 +0200 |
User-agent: |
Mutt/1.5.24 (6598) |
On Fri, Apr 01, Peter Maydell wrote:
> On 1 April 2016 at 13:00, Olaf Hering <address@hidden> 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