Re: [Qemu-devel] [PATCH] build: link with libatomic on powerpc-linux

2016-04-01 Thread Olaf Hering
On Fri, Apr 01, Peter Maydell wrote: > On 1 April 2016 at 13:00, Olaf Hering 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

Re: [Qemu-devel] [PATCH] build: link with libatomic on powerpc-linux

2016-04-01 Thread Peter Maydell
On 1 April 2016 at 13:00, Olaf Hering 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