From patchwork Fri Jan 17 18:26:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 37426 Received: (qmail 60782 invoked by alias); 17 Jan 2020 18:26:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 60725 invoked by uid 89); 17 Jan 2020 18:26:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=agentc, agent.c, UD:agent.c, configure-bfd X-HELO: mail.efficios.com Received: from mail.efficios.com (HELO mail.efficios.com) (167.114.26.124) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Jan 2020 18:26:34 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 3251324D4E3; Fri, 17 Jan 2020 13:26:32 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id K5c4zScON8WH; Fri, 17 Jan 2020 13:26:31 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id D45A624D4E1; Fri, 17 Jan 2020 13:26:31 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com D45A624D4E1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1579285591; bh=3QXSJS/wScMbgVXeZ6ACYAla/pUptM5H6V8va9IMTE8=; h=From:To:Date:Message-Id:MIME-Version; b=LXmZmjzaSUz0UeHG21gsab5BWUgBYLGae31dojnxjpqLgTv2LdDfMk5KlrwH/0stx x9Jf56lLX3gnckzJXwubM+gKQKVaYiBA9hIx6aQ+A2/us1zF9jAtwz/+yaEsXlYuvU C5sB3Yio7Xb6ypnptQvQid4sTSJ26555rwZ3cPuPG1Zvvm6N3f9zORGD6LYwx51ste qUzYHyekxkJWkQqwYp1cfLJ0Ig+NlD5pQgL2riU2/nrkPk9c+SFjNLMUjYfymBCgLR Z8oFNMbZoFnn8YgNnwYr3j9kZic9s8JHsIE7KMuG1Kz7P3wSdnTC1LhtyNe4b/LmCa lCsNWGbWSaH2A== Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id h4t7j3rYt76F; Fri, 17 Jan 2020 13:26:31 -0500 (EST) Received: from smarchi-efficios.internal.efficios.com (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) by mail.efficios.com (Postfix) with ESMTPSA id 26C7424D4E0; Fri, 17 Jan 2020 13:26:31 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: Simon Marchi Subject: [PATCH] Make all-gdbsupport depend on all-bfd Date: Fri, 17 Jan 2020 13:26:22 -0500 Message-Id: <20200117182622.4216-1-simon.marchi@efficios.com> MIME-Version: 1.0 Trying to run "make all-gdbsupport" at the top-level in a build from scratch results in: make[2]: Entering directory '/home/smarchi/build/binutils-gdb/gdbsupport' CC agent.o In file included from /home/smarchi/src/binutils-gdb/gdbsupport/common-defs.h:133, from /home/smarchi/src/binutils-gdb/gdbsupport/agent.c:20: /home/smarchi/src/binutils-gdb/gdbsupport/common-types.h:35:10: fatal error: bfd.h: No such file or directory 35 | #include "bfd.h" | ^~~~~~~ Before building all-gdbsupport, we need all-bfd to run, so that bfd.h is generated. (Once this patch is merged in the binutils-gdb repo, I'll send it to gcc to keep the files in sync.) ChangeLog: * Makefile.def: Add dependencies of all-gdbsupport on all-bfd. * Makefile.in: Re-generate. --- Makefile.def | 1 + Makefile.in | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.def b/Makefile.def index 079fd3e4f16f..253eb45ef141 100644 --- a/Makefile.def +++ b/Makefile.def @@ -417,6 +417,7 @@ dependencies = { module=all-libgui; on=all-itcl; }; dependencies = { module=configure-gdbsupport; on=configure-bfd; }; dependencies = { module=configure-gdbsupport; on=configure-gnulib; }; +dependencies = { module=all-gdbsupport; on=all-bfd; }; dependencies = { module=all-gdbsupport; on=all-gnulib; }; // Host modules specific to binutils. diff --git a/Makefile.in b/Makefile.in index 3f6938a771ce..af38671cbeab 100644 --- a/Makefile.in +++ b/Makefile.in @@ -51991,6 +51991,7 @@ all-gdb: maybe-all-opcodes all-gdb: maybe-all-libdecnumber all-gdb: maybe-all-libctf configure-gdbsupport: maybe-configure-bfd +all-gdbsupport: maybe-all-bfd configure-gprof: maybe-configure-intl all-gprof: maybe-all-libiberty all-gprof: maybe-all-bfd