From patchwork Wed Jul 20 15:26:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 591873 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5817:0:0:0:0 with SMTP id j23csp5065357max; Wed, 20 Jul 2022 08:34:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vGVGZuAmNsJKB95M3gTDlG5EMuGEAPI0fkumvXJ/deOoL0amJPo0jAZZflrqkXrOpUOI1C X-Received: by 2002:a05:620a:600b:b0:6b5:d3bc:341d with SMTP id dw11-20020a05620a600b00b006b5d3bc341dmr16305348qkb.49.1658331259636; Wed, 20 Jul 2022 08:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658331259; cv=none; d=google.com; s=arc-20160816; b=kWVTgj7QtSzeAq5vmW2Z1y/vKmUlkDyzr3dY1sxyAl1MiRyZGHX9ObQwU51xUm13OI 349bm2HYd7CEWZSx+/w9apcGqTdkXfOV34TwBJ/CIhh+MZWxUTBzH22zLjhNYkDEJlui xgla98C3EHm80D/9pgn2tU0VgbEO70ZJ7uieH4r4YeIWYqUTttuhQaTORXmmrCCsh1XA YuVgkXiSgbkxMZhNX7vlhP76IySNokw4xQq3KXMDzAGxxdDL0EMNakIVI3mOP5W1nbsm boMqW7+MVWYPxMVG27LpnldynwRfQq8B3TWudTGqHphN6RpnT9FRSG3kFle99EeqCG34 A1uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=241Cj3nRc+TfIsWqH9QSLVkPEH6LQqDnk//kT3z1Vb4=; b=kC4aOGtH1wf+VmEl6FcxUxkZ9ffX7TEAu1c5BvlUlJRLAd8CSOpkVq+X2KDKPp1UOi S9tDvN/bucQL04EsozUcG9Phyrs9g+0TBAqRYfhWFRLme2zSKmFVGhdxwq1T+5n1sAnO hBlOnTUNRdCub5o2LhGNWyxok6Az8PgeatSCK1cynSV+mkfV/itSy71pgse/LBQRXl71 K60Y1qUuXpTmgrl43HTOMAI4I9XC3s/JjxAmVjXUShkqUTQh1LCuh+i3ZDt+TP/WeH/4 39CTeFX08kMFBPMXqwbbzp2EgLd07ZS5O/OcIz4uRN1+isnmGXf3pnLMLjJvNDFaH5HV yPFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="j11TT9/O"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bv19-20020a05622a0a1300b0031ee340d1fesi5781084qtb.233.2022.07.20.08.34.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jul 2022 08:34:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="j11TT9/O"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:41434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEBiN-0001tR-9C for patch@linaro.org; Wed, 20 Jul 2022 11:34:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEBay-0002RU-UQ for qemu-devel@nongnu.org; Wed, 20 Jul 2022 11:26:41 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:33766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEBaw-0005CM-MK for qemu-devel@nongnu.org; Wed, 20 Jul 2022 11:26:39 -0400 Received: by mail-wr1-x435.google.com with SMTP id h9so1545702wrm.0 for ; Wed, 20 Jul 2022 08:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=241Cj3nRc+TfIsWqH9QSLVkPEH6LQqDnk//kT3z1Vb4=; b=j11TT9/OHYcYAu68D4+6RWK/QS08SMs1gkkboplA4Suw/1+hVNqxeaklBQ2sAXh/Yd X98iGuCpZtdONu6ql9BZcyj+iBjQ909zSiiVq3x5Hyzrytcu+2niKe5ssn3/4cmW1bkO ZUrINSHoYp4DNBe830QvRJMwwmZSiPFkxOutwWH5efjPyR/pBxi0D0tD81zC85KYS/cH PVZrzwczhHo3FMy4O37NgdCDtEn5fe8lJmICwh3wzuKJ8RfMAT7PptGDjj1a2q9ayn9j fAnozdbKltm4aV/rIvZqK0Hilfh7Zdq7Q2sKWayJnvUDsY4rohF6RTvbyxLiBhsNfBJX JMrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=241Cj3nRc+TfIsWqH9QSLVkPEH6LQqDnk//kT3z1Vb4=; b=69UKGmMZ+Qfo+wQfZ7p7fJTosxNF2CziXY/X6w2knWIBmkou0sV9SiykqgfxmtUnnn N8s8uAvwVOZmfVAcsoszKWIn1eE5+RvfN1AZFkSBDMhgrIMqme5/2ajK9qzAmVzZVbUN pwrnqEIREvZpuLgYVX4qT4ogDP6KqHC8uqYQHevc/uiX90Ps6L9wakkBTXGeQowDp64W CL2XwPOMoLx6q/TYbKlusnjmrXr5/BvYi7e3hPpk5gzh8IgNJDZkL/U5Iw5d1oR4ul55 A5asqWG1rgteFxz8mFldQFKwJugEfaH518LcqEaiyPbC/nVY1hNMJwlbZAI+97leUIRd 7z3w== X-Gm-Message-State: AJIora+O5Calu+29KAv4o2QKr607AB9n9xpygVD3xf02jMz6HLpKdjFH PTMmwume1ZXcTK/z0p+fIAqWnYOb2W6L5w== X-Received: by 2002:adf:e505:0:b0:21e:5134:c7b6 with SMTP id j5-20020adfe505000000b0021e5134c7b6mr211923wrm.159.1658330797373; Wed, 20 Jul 2022 08:26:37 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id r10-20020a056000014a00b0021d68a504cbsm16395987wrx.94.2022.07.20.08.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 08:26:37 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , Thomas Huth , Richard Henderson Subject: [PATCH 4/5] configure: Drop dead code attempting to use -msmall-data on alpha hosts Date: Wed, 20 Jul 2022 16:26:30 +0100 Message-Id: <20220720152631.450903-5-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220720152631.450903-1-peter.maydell@linaro.org> References: <20220720152631.450903-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" In commit 823eb013452e93d we moved the setting of ARCH from configure to meson.build, but we accidentally left behind one attempt to use $ARCH in configure, which was trying to add -msmall-data to the compiler flags on Alpha hosts. Since ARCH is now never set, the test always fails and we never add the flag. There isn't actually any need to use this compiler flag on Alpha: the original intent was that it would allow us to simplify our TCG codegen on that platform, but we never actually made the TCG changes that would rely on -msmall-data. Drop the effectively-dead code from configure, as we don't need it. This was spotted by shellcheck: In ./configure line 2254: case "$ARCH" in ^---^ SC2153: Possible misspelling: ARCH may not be assigned, but arch is. Signed-off-by: Peter Maydell Reviewed-by: Thomas Huth --- configure | 7 ------- 1 file changed, 7 deletions(-) diff --git a/configure b/configure index c05205b6085..d0e9a51462e 100755 --- a/configure +++ b/configure @@ -2251,13 +2251,6 @@ if test "$fortify_source" = "yes" ; then QEMU_CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" fi -case "$ARCH" in -alpha) - # Ensure there's only a single GP - QEMU_CFLAGS="-msmall-data $QEMU_CFLAGS" -;; -esac - if test "$have_asan" = "yes"; then QEMU_CFLAGS="-fsanitize=address $QEMU_CFLAGS" QEMU_LDFLAGS="-fsanitize=address $QEMU_LDFLAGS"