From: Stefan Weil <sw@weilnetz.de>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Stefan Weil <sw@weilnetz.de>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH for-1.5 1/2] w32: Fix configure test for -march=i486
Date: Sat, 11 May 2013 21:46:58 +0200 [thread overview]
Message-ID: <1368301619-32097-2-git-send-email-sw@weilnetz.de> (raw)
In-Reply-To: <1368301619-32097-1-git-send-email-sw@weilnetz.de>
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 <i.mitsyanko@gmail.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
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;
}
--
1.7.10.4
next prev parent reply other threads:[~2013-05-11 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-11 19:46 [Qemu-devel] [PATCH for-1.5 0/2] Stefan Weil
2013-05-11 19:46 ` Stefan Weil [this message]
2013-05-14 18:20 ` [Qemu-devel] [PATCH for-1.5 1/2] w32: Fix configure test for -march=i486 Stefan Weil
2013-05-11 19:46 ` [Qemu-devel] [PATCH for-1.5 2/2] w32: Include stdio.h to get the declaration of ssize_t Stefan Weil
2013-05-16 12:50 ` [Qemu-devel] [PATCH for-1.5 0/2] Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1368301619-32097-2-git-send-email-sw@weilnetz.de \
--to=sw@weilnetz.de \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).