qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-1.5 1/2] w32: Fix configure test for -march=


From: Stefan Weil
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
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

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 <address@hidden>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>  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 via email to

[Prev in Thread] Current Thread [Next in Thread]