From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 2BFF13894C09 for ; Fri, 7 May 2021 18:21:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2BFF13894C09 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: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=+7ZkiEXpVNmSVZ6/VZkz3/LsD9mKyfQT+ohojo8uHhc=; b=oZk9r0fC288iAp2nmRZgHxqFCF 2cvQ0hM0w7J/iSVsWs8iCRIPXego05ObUg3MoWfldlrLucWmg7gBIayX41rBEwZ3C1/48T9aYw86B lwofBsXpvNkbZEtXcd0IJv1RCwm/yQYazZLij2oqfmSgvEMYaXVZ83dGaaz6TPRo85NXlfml/z3xo aAzrhkEAgvqZa6XZoDrHG23AF9ypWvoChytR+CpW80hTpWL4isowu9Nb9oQhqmjQRPUirncKP/o1W D4Mr6dbo+nxByd7zqHS/ozTe3gSgEwwUg6YKYopUC2kTzZ8mkXaFl2pyZoDIAEXCMA0r6XWUwlkvA pHDlpsgg==; Received: from [95.87.234.74] (port=43544 helo=localhost.localdomain) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lf56X-0008Kp-Vf; Fri, 07 May 2021 21:21:40 +0300 From: Dimitar Dimitrov To: gdb-patches@sourceware.org Subject: [PATCH/committed] sim: Add bfd include path for common testsuite tools Date: Fri, 7 May 2021 21:21:25 +0300 Message-Id: <20210507182125.28292-1-dimitar@dinux.eu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <22824111.e6QXDZrZfI@tpdeb> References: <22824111.e6QXDZrZfI@tpdeb> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Fri, 07 May 2021 18:21:45 -0000 On a host without installed libbfd, 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" | ^~~~~~~ sim/ChangeLog: * Makefile.in: Rebuild. sim/testsuite/ChangeLog: * local.mk (%C%_CPPFLAGS): Add ../bfd include path. 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