From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id PT5+HGY7a2DoMQAAWB0awg (envelope-from ) for ; Mon, 05 Apr 2021 12:31:34 -0400 Received: by simark.ca (Postfix, from userid 112) id 6524B1E789; Mon, 5 Apr 2021 12:31:34 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 127891E01F for ; Mon, 5 Apr 2021 12:31:31 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 47AA4385803F; Mon, 5 Apr 2021 16:31:30 +0000 (GMT) Received: from smtp-out1.superhosting.bg (smtp-out1.superhosting.bg [185.123.190.50]) by sourceware.org (Postfix) with ESMTPS id BCF15385803F for ; Mon, 5 Apr 2021 16:31:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BCF15385803F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dimitar@dinux.eu Received: from server28.superhosting.bg ([217.174.156.11]) by smtp-out1.superhosting.bg with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lTS8I-00E2xi-03 for gdb-patches@sourceware.org; Mon, 05 Apr 2021 19:31:24 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=0E3F7LNUfaOYERhymHJtUu1sAqELDlwBxKpN97FeIfU=; b=nFlS519mqsz2RoG18yUC8W48Cg cgoPg9OAp6vHBzMYFbALT69bsNCnnc0to5qCvtYu/jQ0tKdAM4Gmr0/DuVz5xBfiDFgAbhUvvcaoF 0IuoR7nf7RWW8/Y6JsDHxzFg4ZOlZdwe9D85kB0Jd7krpXFSkII5REFxxb2aQGcJ5C7g7OvPSA4E9 rdE1qzT2qFb+iMTvYmhNwxisv+elTpKxWLomUTanWMur3Q4Nvmi8NMtQ76KVoChooiG7UjX19pMRf kL3DxHk6GBCE+IO+8f/8zQ08kGqBRORK4gwGP0L545WWHDqnjgi1HJlGbbl1Ca7BkX1UPhMvOFH9V I+dNv+/w==; Received: from [95.87.234.74] (port=40374 helo=tpdeb.localnet) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lTS8F-0006mI-P3; Mon, 05 Apr 2021 19:31:21 +0300 From: Dimitar Dimitrov To: gdb-patches@sourceware.org, Mike Frysinger Subject: Re: [PATCH 1/3] sim: testsuite: calculate $arch from $subdir Date: Mon, 05 Apr 2021 19:31:19 +0300 Message-ID: <5328944.Q7PVtjR6cZ@tpdeb> In-Reply-To: <20210404143538.14995-1-vapier@gentoo.org> References: <20210404143538.14995-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3692588.uWe0QyxmHl" Content-Transfer-Encoding: 7Bit X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-SA-Score: 0.1 (/) X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" This is a multi-part message in MIME format. --nextPart3692588.uWe0QyxmHl Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Sun, 4 Apr 2021 17:35:36 EEST Mike Frysinger via Gdb-patches wrote: > Since we require ports to use a matching subdir name in the testsuite > tree, we can use that to calculate the $arch value. > --- > sim/testsuite/aarch64/allinsn.exp | 4 ---- > sim/testsuite/arm/allinsn.exp | 4 ---- > sim/testsuite/arm/iwmmxt/iwmmxt.exp | 4 ---- > sim/testsuite/arm/misc.exp | 4 ---- > sim/testsuite/arm/thumb/allthumb.exp | 4 ---- > sim/testsuite/arm/xscale/xscale.exp | 4 ---- > sim/testsuite/avr/allinsn.exp | 4 ---- > sim/testsuite/bfin/allinsn.exp | 4 ---- > sim/testsuite/bpf/allinsn.exp | 4 ---- > sim/testsuite/cr16/allinsn.exp | 4 ---- > sim/testsuite/cr16/misc.exp | 4 ---- > sim/testsuite/cris/asm/asm.exp | 4 ---- > sim/testsuite/cris/c/c.exp | 4 ---- > sim/testsuite/cris/hw/rv-n-cris/rvc.exp | 7 +----- > sim/testsuite/d10v/allinsn.exp | 4 ---- > sim/testsuite/example-synacor/allinsn.exp | 4 ---- > sim/testsuite/frv/allinsn.exp | 4 ---- > sim/testsuite/frv/fr400/allinsn.exp | 4 ---- > sim/testsuite/frv/fr500/allinsn.exp | 4 ---- > sim/testsuite/frv/fr550/allinsn.exp | 4 ---- > sim/testsuite/frv/interrupts.exp | 4 ---- > sim/testsuite/frv/misc.exp | 4 ---- > sim/testsuite/frv/parallel.exp | 4 ---- > sim/testsuite/ft32/allinsn.exp | 4 ---- > sim/testsuite/h8300/allinsn.exp | 4 ---- > sim/testsuite/iq2000/allinsn.exp | 4 ---- > sim/testsuite/lib/sim-defs.exp | 27 ++++++++++++++--------- > sim/testsuite/lm32/allinsn.exp | 4 ---- > sim/testsuite/m32c/allinsn.exp | 4 ---- > sim/testsuite/m32r/allinsn.exp | 4 ---- > sim/testsuite/m32r/misc.exp | 4 ---- > sim/testsuite/m68hc11/allinsn.exp | 4 ---- > sim/testsuite/mcore/allinsn.exp | 4 ---- > sim/testsuite/microblaze/allinsn.exp | 4 ---- > sim/testsuite/mips/basic.exp | 4 ---- > sim/testsuite/mn10300/allinsn.exp | 4 ---- > sim/testsuite/moxie/allinsn.exp | 4 ---- > sim/testsuite/msp430/allinsn.exp | 4 ---- > sim/testsuite/or1k/alltests.exp | 4 ---- > sim/testsuite/pru/allinsn.exp | 4 ---- > sim/testsuite/riscv/allinsn.exp | 4 ---- > sim/testsuite/sh/allinsn.exp | 4 ---- > sim/testsuite/v850/allinsns.exp | 4 ---- > 43 files changed, 18 insertions(+), 180 deletions(-) Hi, This patch set, in combination with the attached minor fix, is resolving all "check-sim" errors and failures for PRU target. Thanks, Dimitar --nextPart3692588.uWe0QyxmHl Content-Disposition: attachment; filename="0001-sim-Add-bfd-include-path-for-common-testsuite-tools.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-sim-Add-bfd-include-path-for-common-testsuite-tools.patch" >From 6f0fb28ff86acc17b5038978cc42144ffa5a5cb4 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Mon, 5 Apr 2021 19:21:35 +0300 Subject: [PATCH] sim: Add bfd include path for common testsuite tools On my Fedora33 host this patch fixes the following "make check-sim" errors for both pru cross target, and native x86_64: In file included from ../../../binutils/sim/common/sim-basics.h:131, from testsuite/common/bits32m0.c:13:../../../binutils/sim/../include/gdb/callback.h:55:10: fatal error: bfd.h: No such file or directory 55 | #include "bfd.h" | ^~~~~~~ Signed-off-by: Dimitar Dimitrov --- sim/testsuite/common/local.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sim/testsuite/common/local.mk b/sim/testsuite/common/local.mk index 38ffb0b0b7d..4db7981d160 100644 --- a/sim/testsuite/common/local.mk +++ b/sim/testsuite/common/local.mk @@ -29,7 +29,8 @@ check_PROGRAMS += $(TESTS) %C%_CPPFLAGS = \ -I$(srcdir)/common \ - -I$(srcroot)/include + -I$(srcroot)/include \ + -I../bfd # These tests are build-time only tools. Override the default rules for them. %D%/%.o: %D%/%.c -- 2.20.1 --nextPart3692588.uWe0QyxmHl--