qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH for-1.5 1/2] w32: Fix configure test for -march=i486
Date: Tue, 14 May 2013 20:20:11 +0200	[thread overview]
Message-ID: <5192805B.7030000@weilnetz.de> (raw)
In-Reply-To: <1368301619-32097-2-git-send-email-sw@weilnetz.de>

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 <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;
>  }


Ping. The above patch 1 is still needed for latest QEMU.

Patch 2 is no longer needed.

Regards,
Stefan Weil

  reply	other threads:[~2013-05-14 18:20 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 ` [Qemu-devel] [PATCH for-1.5 1/2] w32: Fix configure test for -march=i486 Stefan Weil
2013-05-14 18:20   ` Stefan Weil [this message]
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=5192805B.7030000@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=pbonzini@redhat.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).