From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahwFs-0004LQ-1j for qemu-devel@nongnu.org; Mon, 21 Mar 2016 05:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahwFr-00087N-Ab for qemu-devel@nongnu.org; Mon, 21 Mar 2016 05:36:07 -0400 Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]:32997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahwFr-00087J-3E for qemu-devel@nongnu.org; Mon, 21 Mar 2016 05:36:07 -0400 Received: by mail-vk0-x231.google.com with SMTP id k1so208265236vkb.0 for ; Mon, 21 Mar 2016 02:36:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <56EFB99D.3040109@redhat.com> References: <56EEF805.8040008@freebsd.org> <56EFB99D.3040109@redhat.com> From: Peter Maydell Date: Mon, 21 Mar 2016 09:35:47 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Sean Bruno , QEMU Developers On 21 March 2016 at 09:06, Paolo Bonzini wrote: > x86 can actually do 64-bit atomic loads and stores through the FPU, but > I'm not sure about other 32-bit targets? As I say, ppc32 linux is one that can't -- see commit 8a5956ad6392f1155 for last time this came up. Ideally we should put a compile-time assert in the atomic ops that the data being operated on isn't larger than sizeof(void*) so that this is a compile time error on all 32-bit hosts rather than just a small subset of them. thanks -- PMM