From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcBeT-0003XD-If for qemu-devel@nongnu.org; Tue, 14 May 2013 05:36:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcBeS-0000Nl-6m for qemu-devel@nongnu.org; Tue, 14 May 2013 05:36:09 -0400 Received: from mail-gg0-x236.google.com ([2607:f8b0:4002:c02::236]:36525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcBeS-0000Nf-2e for qemu-devel@nongnu.org; Tue, 14 May 2013 05:36:08 -0400 Received: by mail-gg0-f182.google.com with SMTP id f1so37529ggn.13 for ; Tue, 14 May 2013 02:36:07 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51920581.3000107@redhat.com> Date: Tue, 14 May 2013 11:36:01 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20130513204627.25790.62828.malonedeb@chaenomeles.canonical.com> <20130513204627.25790.62828.malonedeb@chaenomeles.canonical.com> <20130514073743.GA3632@stefanha-thinkpad.redhat.com> In-Reply-To: <20130514073743.GA3632@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Bug 1179664] [NEW] migration.c:293: undefined reference to `__sync_val_compare_and_swap_4' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Bug 1179664 <1179664@bugs.launchpad.net>, qemu-devel@nongnu.org Il 14/05/2013 09:37, Stefan Hajnoczi ha scritto: > On Mon, May 13, 2013 at 08:46:27PM -0000, therock247uk wrote: >> Public bug reported: >> >> latest git qemu error i get on compiling with mingw >> >> LINK i386-softmmu/qemu-system-i386w.exe >> ../migration.o: In function `migrate_finish_set_state': >> C:\MinGW\msys\1.0\home\therock247uk\qemu/migration.c:293: undefined reference to >> `__sync_val_compare_and_swap_4' >> C:\MinGW\msys\1.0\home\therock247uk\qemu/migration.c:293: undefined reference to >> `__sync_val_compare_and_swap_4' >> C:\MinGW\msys\1.0\home\therock247uk\qemu/migration.c:293: undefined reference to >> `__sync_val_compare_and_swap_4' >> collect2.exe: error: ld returned 1 exit status >> make[1]: *** [qemu-system-i386w.exe] Error 1 >> make: *** [subdir-i386-softmmu] Error 2 > > Please post your gcc version: > > $ gcc --version > > Stefan Weil has a patch for this, I'll ping it. Paolo