From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcJps-0005lM-RL for qemu-devel@nongnu.org; Tue, 14 May 2013 14:20:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcJpr-00024R-HH for qemu-devel@nongnu.org; Tue, 14 May 2013 14:20:28 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:46982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcJpq-00024D-Q6 for qemu-devel@nongnu.org; Tue, 14 May 2013 14:20:27 -0400 Message-ID: <5192805B.7030000@weilnetz.de> Date: Tue, 14 May 2013 20:20:11 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1368301619-32097-1-git-send-email-sw@weilnetz.de> <1368301619-32097-2-git-send-email-sw@weilnetz.de> In-Reply-To: <1368301619-32097-2-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-1.5 1/2] w32: Fix configure test for -march=i486 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Blue Swirl , Paolo Bonzini , qemu-devel@nongnu.org Am 11.05.2013 21:46, schrieb Stefan Weil: > The latest version of MinGW needs a test for __sync_val_compare_and_swap > to fix a missing symbol linker error. > > Reported-by: Igor Mitsyanko > Signed-off-by: Stefan Weil > --- > configure | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure b/configure > index 9439f1c..3a75f66 100755 > --- a/configure > +++ b/configure > @@ -1341,6 +1341,7 @@ static int sfaa(int *ptr) > int main(void) > { > int val = 42; > + val = __sync_val_compare_and_swap(&val, 0, 1); > sfaa(&val); > return val; > } Ping. The above patch 1 is still needed for latest QEMU. Patch 2 is no longer needed. Regards, Stefan Weil