From patchwork Fri Sep 24 10:49:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 1532196 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=embecosm.com header.i=@embecosm.com header.a=rsa-sha256 header.s=google header.b=KhgIREj+; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4HG81P4lhSz9sxS for ; Fri, 24 Sep 2021 20:49:45 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7DB2A385843F for ; Fri, 24 Sep 2021 10:49:43 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id A902C3858403 for ; Fri, 24 Sep 2021 10:49:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A902C3858403 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x42e.google.com with SMTP id d21so25977963wra.12 for ; Fri, 24 Sep 2021 03:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Np8uK3F/E4u1XLOLl3/Ank1+ZBIy/StZ67ABW8/NtJk=; b=KhgIREj+t/CNMZ0Z/ptNzZl+kv1+K7fQegyd0lT8eA8CTVJq6mF+reiuFkV0SKCX/Z 8wXXYTV/JCyQ+qTgKbcyoWYM69eJpj/7+zmcvu6h0/FZkW1fZCuPf7/rp2o3SuEA2ptm 2tIz0reimyGoZXERYVcKUi2vDNc019yGsclq8K007/ob+4rJeQ20h8u/vLJHlSs5UliD QBdtnZVmquDluZhQ3gGvBVH6iyOEVSh/lBoOVjg9xTjvqzU/tWiOTY/xUmaX3Vz9Sgeu xy0U0xo6CANiSM1WTIU/HelmiWJ+D5JMgDd3Bf1DUcNnEXG4Jb86mjrYTuQfwk3LYy9i 75zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Np8uK3F/E4u1XLOLl3/Ank1+ZBIy/StZ67ABW8/NtJk=; b=a8Y727R1jfp3wb+VYgu1s9abh3oKt9R02MWow7uTNhdZlV85oxtTg8e3wM6YypJTSX 4dSvjm4wP6Vosx2Nc+VbAIBFXMX9VTUeInuEjz94MN1R65H/qIchyZOMQnerROTgSvXU xQygj57atywwIizwLYhDNbkNYjktst6lfqXzyA9OS/GYqwWppDLQ5JsAnPPu7YizCAfd q5A7OuQFdFJitUylRGviFboyvr+iGx2msjV9jwf9NrS9kjvvwE0YCMkCLkKJ8b5LdUsF nM8XgKGK6JgtMmmQrJeYZL34xd1vA1YeNO7mG54FfPi28ItVw5Iy0qq6NjXqZcNACyaY Gvjg== X-Gm-Message-State: AOAM533MXwNtFEQ45IhU//KUMbv8X1BvPn9+EYMSm6Scac1gTMfPmeln JRLRqu78bAv+YPD6cyQMMmrgql6X8SGTIA== X-Google-Smtp-Source: ABdhPJz8StB+FJUn0n+mNaafH9kuKaZrSqT7AaUy3/1oK3HxQ6w6Xs0C8223YjOoIBncAFyokk8PHg== X-Received: by 2002:a05:600c:225a:: with SMTP id a26mr1422885wmm.57.1632480559365; Fri, 24 Sep 2021 03:49:19 -0700 (PDT) Received: from localhost (host86-169-137-11.range86-169.btcentralplus.com. [86.169.137.11]) by smtp.gmail.com with ESMTPSA id z133sm15193214wmc.45.2021.09.24.03.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 03:49:19 -0700 (PDT) From: Andrew Burgess To: gcc-patches@gcc.gnu.org Subject: [PATCH] top-level: merge Makefile.def patches from binutils-gdb repository Date: Fri, 24 Sep 2021 11:49:16 +0100 Message-Id: <20210924104916.1819054-1-andrew.burgess@embecosm.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" This commit back-ports two patches to Makefile.def from the binutils-gdb repository, these patches were committed over there without first being merged in to the gcc repository. These commits all relate to dependencies for binutils-gdb modules, so should have no impact on gcc, I tested a gcc build/install on x86-64 GNU/Linux, and everything looked OK. The two patches being backported are binutils-gdb commits: commit ba4d88ad892fe29c6ca7938c8861f8edef5f7a3f (gdb-gnulib-issues) Date: Mon Oct 12 16:04:32 2020 +0100 gdb/gdbserver: add dependencies for distclean-gnulib And commit 755ba58ebef02e1be9fc6770d00243ba6ed0223c Date: Thu Mar 18 12:37:52 2021 +0000 Add install dependencies for ld -> bfd and libctf -> bfd OK to merge? 2021-09-07 Andrew Burgess Merge from binutils-gdb: 2021-09-08 Nick Alcock PR libctf/27482 * Makefile.def: Add install-bfd dependencies for install-libctf and install-ld, and install-strip-bfd dependencies for install-strip-libctf and install-strip-ld; move the install-ld dependency on install-libctf to join it. * Makefile.in: Regenerated. And: 2020-10-14 Andrew Burgess * Makefile.in: Rebuild. * Makefile.def: Make distclean-gnulib depend on distclean-gdb and distclean-gdbserver. --- ChangeLog | 19 +++++++++++++++++++ Makefile.def | 14 ++++++++++++++ Makefile.in | 8 ++++++++ 3 files changed, 41 insertions(+) diff --git a/Makefile.def b/Makefile.def index de3e0052106..143a6b469b2 100644 --- a/Makefile.def +++ b/Makefile.def @@ -471,6 +471,14 @@ dependencies = { module=all-ld; on=all-libctf; }; dependencies = { module=install-binutils; on=install-opcodes; }; dependencies = { module=install-strip-binutils; on=install-strip-opcodes; }; +// Likewise for ld, libctf, and bfd. +dependencies = { module=install-libctf; on=install-bfd; }; +dependencies = { module=install-ld; on=install-bfd; }; +dependencies = { module=install-ld; on=install-libctf; }; +dependencies = { module=install-strip-libctf; on=install-strip-bfd; }; +dependencies = { module=install-strip-ld; on=install-strip-bfd; }; +dependencies = { module=install-strip-ld; on=install-strip-libctf; }; + // libopcodes depends on libbfd dependencies = { module=install-opcodes; on=install-bfd; }; dependencies = { module=install-strip-opcodes; on=install-strip-bfd; }; @@ -564,6 +572,12 @@ dependencies = { module=configure-libctf; on=all-zlib; }; dependencies = { module=configure-libctf; on=all-libiconv; }; dependencies = { module=check-libctf; on=all-ld; }; +// The Makefiles in gdb and gdbserver pull in a file that configure +// generates in the gnulib directory, so distclean gnulib only after +// gdb and gdbserver. +dependencies = { module=distclean-gnulib; on=distclean-gdb; }; +dependencies = { module=distclean-gnulib; on=distclean-gdbserver; }; + // Warning, these are not well tested. dependencies = { module=all-bison; on=all-intl; }; dependencies = { module=all-bison; on=all-build-texinfo; }; diff --git a/Makefile.in b/Makefile.in index 61af99dc75a..7613da5a378 100644 --- a/Makefile.in +++ b/Makefile.in @@ -60763,6 +60763,12 @@ all-stageautoprofile-ld: maybe-all-stageautoprofile-libctf all-stageautofeedback-ld: maybe-all-stageautofeedback-libctf install-binutils: maybe-install-opcodes install-strip-binutils: maybe-install-strip-opcodes +install-libctf: maybe-install-bfd +install-ld: maybe-install-bfd +install-ld: maybe-install-libctf +install-strip-libctf: maybe-install-strip-bfd +install-strip-ld: maybe-install-strip-bfd +install-strip-ld: maybe-install-strip-libctf install-opcodes: maybe-install-bfd install-strip-opcodes: maybe-install-strip-bfd configure-gas: maybe-configure-intl @@ -61131,6 +61137,8 @@ check-stagetrain-libctf: maybe-all-stagetrain-ld check-stagefeedback-libctf: maybe-all-stagefeedback-ld check-stageautoprofile-libctf: maybe-all-stageautoprofile-ld check-stageautofeedback-libctf: maybe-all-stageautofeedback-ld +distclean-gnulib: maybe-distclean-gdb +distclean-gnulib: maybe-distclean-gdbserver all-bison: maybe-all-build-texinfo all-flex: maybe-all-build-bison all-flex: maybe-all-m4