From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahvnQ-0005TC-Rg for qemu-devel@nongnu.org; Mon, 21 Mar 2016 05:06:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahvnM-0001jm-Rm for qemu-devel@nongnu.org; Mon, 21 Mar 2016 05:06:44 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:35544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahvnM-0001jX-KZ for qemu-devel@nongnu.org; Mon, 21 Mar 2016 05:06:40 -0400 Received: by mail-wm0-x235.google.com with SMTP id l68so100893902wml.0 for ; Mon, 21 Mar 2016 02:06:40 -0700 (PDT) Sender: Paolo Bonzini References: <56EEF805.8040008@freebsd.org> From: Paolo Bonzini Message-ID: <56EFB99D.3040109@redhat.com> Date: Mon, 21 Mar 2016 10:06:37 +0100 MIME-Version: 1.0 In-Reply-To: <56EEF805.8040008@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: Sean Bruno , QEMU Developers On 20/03/2016 20:20, Sean Bruno wrote: > aarch64 targets are now failing to build on i386 hosts due to missing > __atomic_load_8() calls since this commit: > > https://github.com/qemu/qemu/commit/a0aa44b488b3601415d55041e4619aef5f3a4ba8#diff-c143d686899ae51d7b927d9c682e12fd > > I'm unsure if Linux is disabling aarch64 targets for i386 hosts or if > this commit works "just fine" on Linux hosts right now, as it doesn't > work with clang or gcc. Where is the relevant load in QEMU code? x86 can actually do 64-bit atomic loads and stores through the FPU, but I'm not sure about other 32-bit targets? Paolo