From patchwork Wed Jul 18 14:10:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 10122 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7731023E56 for ; Wed, 18 Jul 2012 14:10:43 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 47788A180E3 for ; Wed, 18 Jul 2012 14:10:43 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so1720098ggn.11 for ; Wed, 18 Jul 2012 07:10:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Rg/eq1mIYsXYHJ26hBTDFOms95F5f9HBN3zA3eE4UFA=; b=cdqHImcm04bvMoQ5A2ShCxP+ec5cCfPmaCubWVLfZ2WFCe9diomxMYFzYQZAggwyk8 2cBGjHV+F/HuQNj+AMWD+wsQ+KOQBAuCr7COToZJcGftHM4n5dD9lp9h4Y7VgjXk/Hdr kG5c8dcO7qwJESS43WQHg5DBUUdMB+LhWu8BL60FSwXR9NRFOv2tTLbIMDM7XYzcqRdd vF0MZ+8oMBYMy88qLCfBdkGWKoqj9j1UW3BMXgFBvkTwN4gdgilTZQJxYqOjEN8z6BPk cZH4+JIQNTzQW5qPKTPzs6DCm3fmG1eSLBmoPzn/yM4RTnQOPqWWSjgJoTUOxPScLcYh EqxQ== Received: by 10.50.46.232 with SMTP id y8mr2096647igm.57.1342620642897; Wed, 18 Jul 2012 07:10:42 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.153.7 with SMTP id i7csp257ibw; Wed, 18 Jul 2012 07:10:39 -0700 (PDT) Received: by 10.216.134.97 with SMTP id r75mr674873wei.127.1342620634506; Wed, 18 Jul 2012 07:10:34 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id fl5si16690399wib.46.2012.07.18.07.10.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jul 2012 07:10:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SrUxQ-0003KI-Hy; Wed, 18 Jul 2012 15:10:28 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Stefan Weil Subject: [PATCH 06/11] configure: Fix errors in test for__sync_fetch_and_and Date: Wed, 18 Jul 2012 15:10:23 +0100 Message-Id: <1342620628-12751-7-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> References: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQky7QmuXi0ljI+Rg0Z3sj/v+sHy1Bi1ZZOLehez+M5ciDbwKRPfAcM817r/d/NkkAMjE8ko From: Stefan Weil 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 Reviewed-by: Peter Maydell --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 3de4ea7..aced52e 100755 --- a/configure +++ b/configure @@ -2797,7 +2797,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); }