From patchwork Wed Oct 28 23:18:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 1389600 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=hauke-m.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=G0df73OW; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=hauke-m.de header.i=@hauke-m.de header.a=rsa-sha256 header.s=MBO0001 header.b=Gg5xVDG3; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CM4MC5nddz9sTD for ; Thu, 29 Oct 2020 10:21:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3SLm3k4xrlRR4J6tbyVYybwxn/QbhvnU9UzJAfGpqLQ=; b=G0df73OWtMX3X0Dyd3lL7wsdg 4wLap7uzQQ7ftahw3CxpGKGh+3KAup0TiULn1b6onhI0hyF/smId0l9RS+aadZRwXzxXmGl+qDOVn oF2v8FHgZcak6kq+brRWUPzpHxNPzj6PwfPLWBqzy3doXcYIrJKkHdjoqrO/izGDtgcUkePaPMEy9 uQatmVTKShMlGG6SM56oJ7N44VYrr22BmFwrN6pbZ5kED7H7CWbHXG00NpQV9skNgFdQG+nd4liLs liHe8U+NVvN+uajgixCJbN/e9InfdTBYGNauxwjV4lQi3PLmAufeUt665OyDnCOg+W4jykyUJ/cHl f42Czy4wA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXuiQ-0001Dj-T4; Wed, 28 Oct 2020 23:18:50 +0000 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXuiM-0001BX-As for openwrt-devel@lists.openwrt.org; Wed, 28 Oct 2020 23:18:48 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4CM4JM0R17zQlFN; Thu, 29 Oct 2020 00:18:43 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hauke-m.de; s=MBO0001; t=1603927121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8RO8+aZt2JrbxrRPODTv9I63vsmyRdl1UHUDLSqKZwA=; b=Gg5xVDG3T7cHb9XR8rgMDRK5tMaBrNJ5XVetaxTigL8ijIpnhb/vOthXcRdygOaZ/W9DdA j1t/aL8d8sG5JAmbtQ85y0VHjDhNdxwfDEAgg7oKQMZMUY9agPDRlpYvyHMr5cvzIcKJJ/ Bnsf5iA1w/zuZQLkqkSsdupmMnhChQG2HAOBhSxUxrXEgLApBc6UDsmBa8fZIKp6wTJ6KU 17eAbRVGwpx32uf9EuAe7UjpQRtelriewDpCPkfGjn3Y4Hc7mqOR8DT/2zgLMGnIe5OzbP GOx8iRZDhGiKEAkNsB9u6jlBjr7nk+0CbnvOzXP6qTXfvGxIjg0sQydCS7ZyVw== Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id Rl8imWpV4_PN; Thu, 29 Oct 2020 00:18:39 +0100 (CET) From: Hauke Mehrtens To: openwrt-devel@lists.openwrt.org Subject: [PATCH 2/5] toolchain: gdb: Disable tests Date: Thu, 29 Oct 2020 00:18:22 +0100 Message-Id: <20201028231825.6597-2-hauke@hauke-m.de> In-Reply-To: <20201028231825.6597-1-hauke@hauke-m.de> References: <20201028231825.6597-1-hauke@hauke-m.de> MIME-Version: 1.0 X-MBO-SPAM-Probability: X-Rspamd-Score: -4.77 / 15.00 / 15.00 X-Rspamd-Queue-Id: 0D918181D X-Rspamd-UID: 8d1c3a X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201028_191846_582030_1AD0739B X-CRM114-Status: GOOD ( 16.57 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.172 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hauke Mehrtens Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Instead of patching the tests out, just remove them with a configure option. No files were generates in the testsuite and unit-test directories. Signed-off-by: Hauke Mehrtens --- toolchain/gdb/Makefile | 2 ++ toolchain/gdb/patches/110-no_testsuite.patch | 21 -------------------- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 toolchain/gdb/patches/110-no_testsuite.patch diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile index 0b4af1164b61..3bcc9d123841 100644 --- a/toolchain/gdb/Makefile +++ b/toolchain/gdb/Makefile @@ -36,6 +36,8 @@ HOST_CONFIGURE_ARGS = \ --enable-threads \ --with-expat \ --without-python \ + --disable-unit-tests \ + --disable-ubsan \ --disable-binutils \ --disable-ld \ --disable-gas \ diff --git a/toolchain/gdb/patches/110-no_testsuite.patch b/toolchain/gdb/patches/110-no_testsuite.patch deleted file mode 100644 index 90a2574cafb7..000000000000 --- a/toolchain/gdb/patches/110-no_testsuite.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/gdb/configure -+++ b/gdb/configure -@@ -952,8 +952,7 @@ DEBUGINFOD_LIBS - YACC - YFLAGS - XMKMF' --ac_subdirs_all='testsuite --gdbtk' -+ac_subdirs_all='gdbtk' - - # Initialize some variables set by options. - ac_init_help= -@@ -6668,7 +6667,7 @@ $as_echo "$with_auto_load_safe_path" >&6 - - - --subdirs="$subdirs testsuite" -+subdirs="$subdirs" - - - # Check whether to support alternative target configurations