From nobody Mon Feb 9 13:39:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1493294678153101.2923713857831; Thu, 27 Apr 2017 05:04:38 -0700 (PDT) Received: from localhost ([::1]:60223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3iA0-0007Q4-JF for importer@patchew.org; Thu, 27 Apr 2017 08:04:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3i5q-0003rJ-PG for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:00:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3i5p-0001N7-0f for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:00:18 -0400 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:33405) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3i5o-0001Mj-QT for qemu-devel@nongnu.org; Thu, 27 Apr 2017 08:00:16 -0400 Received: by mail-wr0-x244.google.com with SMTP id w50so3539818wrc.0 for ; Thu, 27 Apr 2017 05:00:16 -0700 (PDT) Received: from bigtime.twiddle.net.com (251.red-80-29-7.adsl.static.ccgg.telefonica.net. [80.29.7.251]) by smtp.gmail.com with ESMTPSA id i199sm3056470wmf.33.2017.04.27.05.00.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Apr 2017 05:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Q55tMjDBsgKg6czCMP/NhBeCPwRzUyWjBgFurKZqoIY=; b=DoQjo6JbZaEiPuFcfHZL79Wk/CJz00TT77VsmOui07NGm37lQzsVflNoehvnACQAnz h6W4+3hQFGZLmtJZ9v7Eg5krvUBXNVAJ10gjgH1v7CeUAn9tzHhFa1m8iMvi/s579ufh KoW3MLDYoChiAxUGjuw1ZyvY1+UdHslGol6gMfEecy1/t59rqknLAX39PudW1fFmfFBd k+Wbx/1I8jjieEdVey52FuoDYJHlM95RotmjnJih9sfCZooptSVetxsUk+oU7SHuGh4G 5MuFYWneQ49qgTc8RVk4ggtdVmQgyUBFs0evWGsSz5eeNR3XUPPhaFhRkrzdBgar7nOk Ru2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Q55tMjDBsgKg6czCMP/NhBeCPwRzUyWjBgFurKZqoIY=; b=TtbAEUPcjMzb50/ltl3x64pUjymrm/spUwftITQHZT1GNjE9AVTIHCSqfd42Hqvq2w 5t6GifqUxe97X4wajcbPjNVRcrpqTL41f7igqIf+xogVTeeB7AJ8BIvpIq/Z2MPeGYDG wJef7+T5jAvNIbg8Ts2Y2N9kjU06ZHL6No7jOddrk+wKztiB+fRDyK6whhRyg8M9KTuP gh1qih+N4DlbRLDx4oM/TpgdBnqhSrcNf1OuMfBhD678HM0s6/t9qAgtpz+7+ozOVEeR T0GS1cjb5DKfWYI41iQ2pxQXeGOUUg7w2t7lGoWK4CCxCsaKFN1NohFTe5To9r2FfET8 eTBA== X-Gm-Message-State: AN3rC/7W69ZU9WIheGDlQLw57VpaT6FBg+A4JZt5Ccgbd+WpYWLuDdZB QOsqkIv11GMSCw== X-Received: by 10.223.128.101 with SMTP id 92mr3474039wrk.108.1493294415784; Thu, 27 Apr 2017 05:00:15 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 27 Apr 2017 13:59:49 +0200 Message-Id: <20170427120006.20564-3-rth@twiddle.net> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170427120006.20564-1-rth@twiddle.net> References: <20170427120006.20564-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 Subject: [Qemu-devel] [PATCH v5 02/19] tcg/sparc: Use the proper compilation flags for 32-bit X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cota@braap.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" We have required a v9 cpu since 9b9c37c36439ee0452632253dac7a31897f27f70. However, the flags we were using did not reliably enable v8plus, which meant that the compiler didn't know it could inline 64-bit atomics. Signed-off-by: Richard Henderson Reviewed-by: Alex Benn=C3=A9e --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index c35acf1..55dd9c3 100755 --- a/configure +++ b/configure @@ -1206,12 +1206,12 @@ case "$cpu" in LDFLAGS=3D"-m64 $LDFLAGS" ;; sparc) - LDFLAGS=3D"-m32 $LDFLAGS" - CPU_CFLAGS=3D"-m32 -mcpu=3Dultrasparc" + CPU_CFLAGS=3D"-m32 -mv8plus -mcpu=3Dultrasparc" + LDFLAGS=3D"-m32 -mv8plus $LDFLAGS" ;; sparc64) - LDFLAGS=3D"-m64 $LDFLAGS" CPU_CFLAGS=3D"-m64 -mcpu=3Dultrasparc" + LDFLAGS=3D"-m64 $LDFLAGS" ;; s390) CPU_CFLAGS=3D"-m31" --=20 2.9.3