From: Stefan Weil <sw@weilnetz.de>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Stefan Weil <sw@weilnetz.de>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 2/2] configure: Fix errors in test for__sync_fetch_and_and
Date: Sun, 15 Jul 2012 20:34:32 +0200 [thread overview]
Message-ID: <1342377272-32511-2-git-send-email-sw@weilnetz.de> (raw)
In-Reply-To: <1342377272-32511-1-git-send-email-sw@weilnetz.de>
The old test code raises two compiler warnings which are errors since
commit 417c9d72d48275d19c60861896efd4962d21aca2.
These errors could result in compilations with compiler flag
-march486 (so all nice features of newer processors got lost).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 0269ba0..df5c99a 100755
--- a/configure
+++ b/configure
@@ -2809,7 +2809,7 @@ fi
# specification is necessary
if test "$vhost_net" = "yes" && test "$cpu" = "i386"; then
cat > $TMPC << EOF
-int sfaa(unsigned *ptr)
+static int sfaa(int *ptr)
{
return __sync_fetch_and_and(ptr, 0);
}
--
1.7.0.4
next prev parent reply other threads:[~2012-07-15 18:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-15 18:34 [Qemu-devel] [PATCH 1/2] configure: Replace bash code by standard shell code Stefan Weil
2012-07-15 18:34 ` Stefan Weil [this message]
2012-07-17 18:43 ` Peter Maydell
2012-07-17 19:07 ` Stefan Weil
2012-07-17 19:19 ` Peter Maydell
2012-07-20 12:28 ` Andreas Färber
2012-07-20 12:30 ` Peter Maydell
2012-07-20 12:35 ` Olaf Hering
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=1342377272-32511-2-git-send-email-sw@weilnetz.de \
--to=sw@weilnetz.de \
--cc=blauwirbel@gmail.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).