From: Alan Modra <amodra@sourceware.org>
To: bfd-cvs@sourceware.org
Subject: [binutils-gdb] Re: Stop the linker's --dependency-file option from including temporary lto files.
Date: Thu, 6 Jul 2023 01:31:23 +0000 (GMT) [thread overview]
Message-ID: <20230706013123.0E0B43856969@sourceware.org> (raw)
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5f60df9974516867c02562b56c3a98cf4714a915
commit 5f60df9974516867c02562b56c3a98cf4714a915
Author: Alan Modra <amodra@gmail.com>
Date: Wed Jul 5 21:33:01 2023 +0930
Re: Stop the linker's --dependency-file option from including temporary lto files.
PR 30568
* ldfile.c (ldfile_try_open_bfd): Fix build failure when
!BFD_SUPPORTS_PLUGINS.
Diff:
---
ld/ldfile.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ld/ldfile.c b/ld/ldfile.c
index c8a6874978b..9d9c036dfab 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -353,7 +353,9 @@ ldfile_try_open_bfd (const char *attempt,
}
/* PR 30568: Do not track lto generated temporary object files. */
+#if BFD_SUPPORTS_PLUGINS
if (!entry->flags.lto_output)
+#endif
track_dependency_files (attempt);
/* Linker needs to decompress sections. */
reply other threads:[~2023-07-06 1:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230706013123.0E0B43856969@sourceware.org \
--to=amodra@sourceware.org \
--cc=bfd-cvs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).