From patchwork Tue Jun 28 19:12:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 71148 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1763290qgy; Tue, 28 Jun 2016 12:24:41 -0700 (PDT) X-Received: by 10.55.161.73 with SMTP id k70mr4430656qke.189.1467141881195; Tue, 28 Jun 2016 12:24:41 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v32si18486940qtc.50.2016.06.28.12.24.41 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 28 Jun 2016 12:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyci-00057v-Bh for patch@linaro.org; Tue, 28 Jun 2016 15:24:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyRd-0001sK-Bf for qemu-devel@nongnu.org; Tue, 28 Jun 2016 15:13:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHyRZ-0006q2-DY for qemu-devel@nongnu.org; Tue, 28 Jun 2016 15:13:13 -0400 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:35483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyRZ-0006pv-5N for qemu-devel@nongnu.org; Tue, 28 Jun 2016 15:13:09 -0400 Received: by mail-lf0-x22a.google.com with SMTP id l188so18147226lfe.2 for ; Tue, 28 Jun 2016 12:13:09 -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; bh=N9tTYj+bXvpAnB/2l0KnYAv5wpiIVkYGoFtZN7M9Dxc=; b=HNdYUE0npLV64zSwoZWXEP9N+6CVeGiwL0S7cA2rCXYpMynYVHe529JjkEKdhRrZnS FJ6Ize0tYaK1r7IrNS78swo9noOIDwbuZ/CggYPO1g3ayHCf/pQ/Drn4JancGP2mCzdR FyG8enw+eGPAbHEY3AB6uAUfwHWpAM6Yl75Nw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=N9tTYj+bXvpAnB/2l0KnYAv5wpiIVkYGoFtZN7M9Dxc=; b=iBkONqZFZcKUv/ctzkGyBCAFI5v9mzRCtSiA5+ui+zRI60LDCHVJ/zsaGtCDbS7yR5 Ol0d7YHfNSkH7b/rEfjmLRY6zJpPdfrgZiKewTU+qG35df0H11g93+mdTt20Hwi26CqB VYuatCBnnBH/4CyKSCsMGn3JljG80OdDicPMFqvUxasjboXH+NPWLHiHfrQCAIUqyBR1 EHXF6splg2NOqALrqmKumeQdsYes1IR5FO3yQ5JmNJLXOW+c613Qhezg42pyeYz3vppB 2w4sBzToE5lAJaDWwzMUV8jTZWOheda6zAA3bbxHMoBHLHHvCQoboDhNshrDmdIw51UU kReg== X-Gm-Message-State: ALyK8tKTjLlLlCkBDg5mZMHMqU3y9WhYTNgQqZIrdyEZCKgB2DqBaCqFAd8EFyFvVng/Hd7D X-Received: by 10.25.83.80 with SMTP id h77mr1810930lfb.83.1467141188239; Tue, 28 Jun 2016 12:13:08 -0700 (PDT) Received: from beaming.home (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id h10sm4262823ljh.38.2016.06.28.12.13.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 12:13:07 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Tue, 28 Jun 2016 22:12:39 +0300 Message-Id: <997f6ed3a1aee93b1b759ff12ad4ca64977c86f9.1467138806.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22a Subject: [Qemu-devel] [PULL v2 05/24] configure: Don't override ARCH=unknown if enabling TCI 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: Peter Maydell Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Peter Maydell At the moment if configure finds an unknown CPU it will set ARCH to 'unknown', and then later either bail out or set it to 'tci' (depending on whether the user passed configure the --enable-tcg-interpreter switch). This is unnecessarily confusing, because we could be using TCI in two cases: * a known host architecture (in which case ARCH is set to the actual host architecture, like 'i386') * an unknown host architecture (in which case ARCH is set to 'tci') so nothing can rely on ARCH=tci to mean "using TCI". Remove the line setting ARCH, so we leave it as "unknown", which is what the actual situation is. Signed-off-by: Peter Maydell Reviewed-by: Laurent Vivier Reviewed-by: Richard Henderson Signed-off-by: Riku Voipio --- configure | 1 - 1 file changed, 1 deletion(-) -- 2.1.4 diff --git a/configure b/configure index 5929aba..6696316 100755 --- a/configure +++ b/configure @@ -1380,7 +1380,6 @@ fi if test "$ARCH" = "unknown"; then if test "$tcg_interpreter" = "yes" ; then echo "Unsupported CPU = $cpu, will use TCG with TCI (experimental)" - ARCH=tci else error_exit "Unsupported CPU = $cpu, try --enable-tcg-interpreter" fi