From patchwork Thu Sep 10 13:15:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 249611 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp721119ilk; Thu, 10 Sep 2020 06:16:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdbMukHhQQiuv2CtJR2AX3gCSZEGlHKwbyxjnQ/dVCkNqjO9TKm+2t3Q+xIs1N0/CsSrv7 X-Received: by 2002:a67:fa1a:: with SMTP id i26mr4120898vsq.26.1599743785734; Thu, 10 Sep 2020 06:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599743785; cv=none; d=google.com; s=arc-20160816; b=NRrVbRSOTXaj/MNqxo+ljX3XMLJTKcuMHP7wM3l5TIyl9yqbaoynTpcEvKgApRoCGN VQDMVj1e2tIZKG6SVdk7S8eOFVHhcNZ1wANhxDCAW3AEHz9r2XGbO2Y1Je4/Q7Xahjts rmLefxUj07YA3e0kQghxGueMdcYCo6uki72x7OLaYMtJE0x6nZOSLqvMJj3ANDKRVnpj 7970ZtJ5Wf02kRB5XjPcsyq0Y6uhOoCK9DWAkFpZ6h5ILk4V/zSt0IHjgdtM41HkStiL 0Ra8ZZGIcbaJcq3Daq5FzNMAGQFZSRFP3ozfHRv+26Uec0tODQbILmrJI06PZMchfsR5 I0Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=NerGAGER8t51tNNFzaXyr6ZuNtUYYRuPZHB2QB32qyI=; b=b6zFIVbVllDX4VVmQ2i5j1Wp6lnkcpMbahg9zh+oEsAJFJLeG90SUrauUJt+93Inn4 FT5Z/RZ41wMqJwZTuQ6WTVuYdwdI+KcqLpm+nTN6eD0Q7kho+PauV6kSmGRpX4ctZxg2 s3Cm7uB+vhYghcmraXefAoKyMxf40yKhrEmDVextbXMVyp32D0UyIYqvTosZ+Xz8mD5f AfgdAWHzVKeG+4S+OCdRK4nqP9+qQGRyOAnrwgY4kIB/T8QqirLQaAaE+tGo7Vnug1fo G8nJ2gvf/I6m+er8xtHpLZdvNeqi98xJ6em0qavypxYWDQXHYxOt0QQBwWVWrTAiA7/E fsXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IXrXmuTv; 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=fail (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 j3si877961vsf.225.2020.09.10.06.16.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Sep 2020 06:16:25 -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=fail header.i=@linaro.org header.s=google header.b=IXrXmuTv; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:55210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGMR7-0004HC-6L for patch@linaro.org; Thu, 10 Sep 2020 09:16:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGMQ4-0004Fj-Sl for qemu-devel@nongnu.org; Thu, 10 Sep 2020 09:15:21 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:36800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGMQ2-0006Bq-Uk for qemu-devel@nongnu.org; Thu, 10 Sep 2020 09:15:20 -0400 Received: by mail-wr1-x42c.google.com with SMTP id z1so6670153wrt.3 for ; Thu, 10 Sep 2020 06:15:18 -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=NerGAGER8t51tNNFzaXyr6ZuNtUYYRuPZHB2QB32qyI=; b=IXrXmuTvhPl0Rph80bXrcmCIanq6XLMnGnp36EV9dwAg+b76TS3WeO7TZPGBje7xIc pQUhxzq8kskRWeXqxy1bsKrpfmjhR0oim20ReEZD1dI+E+7ON2TL7Fuy0VwksIxSdjh0 mUVLKvyBydU5R4fFGG8aGUWJ1sAnpweWZqTUwVtsL2nPbrEP70VKtd4J1bHq7CyLNmQV XLWpUle8SYeSh5DfJotYtSH56lsUiqbRCNMGH3HdMd1CIgbdEgNk197I+Bi8X6u8XZus HeqtNI6QrNM71nSboriGN7QEjSfm3b2INRFTW7LB7mUxEdxu61vl5JYkgmaTxMUjE5cG /H9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NerGAGER8t51tNNFzaXyr6ZuNtUYYRuPZHB2QB32qyI=; b=RLAVACKkQNPeInl2PaIj6CLalxldi3P0Y1IyufAuYfegmS/aRpxjfwRHzoiXJQmI8d 7dsHPjQQUZoD7yAmBPm032E8MMRVCSvOBpW320F1pfWbIFejED/LqOp5lbJ180fSA16Q UovAnekhh6te9R/44EzAWXNxpfaHl38gia2HCSJpBC0RgAKEgYwz535Bw5ILC+eEqa2w 8Go2uu05BG+Y2lVYIxmV7RSMhC3A6DiuZ22lmPa32ULwWMxd/fuUQLxsv7z+zqODtQnr SxvZvBLpukXN8aP+PCC2edAhsW3U83Qw1U8hq0CK03cpbiG9aUJgyU+sgFJR3OlkvHFi Qp4g== X-Gm-Message-State: AOAM532GTnnHsTuWhLAfO00YH4Amm3zK9s9OftgrAzPeQ3j32PsaedSb melLUuRFcvGPSN7An9p8o0l6Yg== X-Received: by 2002:adf:9027:: with SMTP id h36mr8825477wrh.259.1599743717426; Thu, 10 Sep 2020 06:15:17 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z14sm8674078wrh.14.2020.09.10.06.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 06:15:10 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E47C51FF92; Thu, 10 Sep 2020 14:15:04 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 06/10] configure: don't enable ppc64abi32-linux-user by default Date: Thu, 10 Sep 2020 14:15:00 +0100 Message-Id: <20200910131504.11341-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200910131504.11341-1-alex.bennee@linaro.org> References: <20200910131504.11341-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The user can still enable this explicitly but they will get a warning at the end of configure for their troubles. This also drops any builds of ppc64abi32 from our CI tests. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20200909112742.25730-7-alex.bennee@linaro.org> -- 2.20.1 diff --git a/configure b/configure index 4231d56bcc0..2b5492a0d63 100755 --- a/configure +++ b/configure @@ -542,6 +542,8 @@ gettext="" bogus_os="no" malloc_trim="" +deprecated_features="" + # parse CC options first for opt do optarg=$(expr "x$opt" : 'x[^=]*=\(.*\)') @@ -1720,26 +1722,25 @@ if [ "$bsd_user" = "yes" ]; then mak_wilds="${mak_wilds} $source_path/default-configs/*-bsd-user.mak" fi -if test -z "$target_list_exclude"; then - for config in $mak_wilds; do - default_target_list="${default_target_list} $(basename "$config" .mak)" - done -else - exclude_list=$(echo "$target_list_exclude" | sed -e 's/,/ /g') - for config in $mak_wilds; do - target="$(basename "$config" .mak)" - exclude="no" - for excl in $exclude_list; do - if test "$excl" = "$target"; then - exclude="yes" - break; - fi - done - if test "$exclude" = "no"; then - default_target_list="${default_target_list} $target" +if test -z "$target_list_exclude" -a -z "$target_list"; then + # if the user doesn't specify anything lets skip deprecating stuff + target_list_exclude=ppc64abi32-linux-user +fi + +exclude_list=$(echo "$target_list_exclude" | sed -e 's/,/ /g') +for config in $mak_wilds; do + target="$(basename "$config" .mak)" + exclude="no" + for excl in $exclude_list; do + if test "$excl" = "$target"; then + exclude="yes" + break; fi done -fi + if test "$exclude" = "no"; then + default_target_list="${default_target_list} $target" + fi +done # Enumerate public trace backends for --help output trace_backend_list=$(echo $(grep -le '^PUBLIC = True$' "$source_path"/scripts/tracetool/backend/*.py | sed -e 's/^.*\/\(.*\)\.py$/\1/')) @@ -7557,7 +7558,7 @@ TARGET_SYSTBL="" case "$target_name" in i386) mttcg="yes" - gdb_xml_files="i386-32bit.xml" + gdb_xml_files="i386-32bit.xml" TARGET_SYSTBL_ABI=i386 TARGET_SYSTBL=syscall_32.tbl ;; @@ -7667,6 +7668,7 @@ case "$target_name" in TARGET_SYSTBL_ABI=common,nospu,32 echo "TARGET_ABI32=y" >> $config_target_mak gdb_xml_files="power64-core.xml power-fpu.xml power-altivec.xml power-spe.xml power-vsx.xml" + deprecated_features="ppc64abi32 ${deprecated_features}" ;; riscv32) TARGET_BASE_ARCH=riscv @@ -8011,6 +8013,12 @@ fi touch ninjatool.stamp fi +if test -n "${deprecated_features}"; then + echo "Warning, deprecated features enabled." + echo "Please see docs/system/deprecated.rst" + echo " features: ${deprecated_features}" +fi + # Save the configure command line for later reuse. cat <config.status #!/bin/sh