public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/64837] New: lto plugun doesn't call ld_plugin_release_input_file
@ 2015-01-28 14:24 hjl.tools at gmail dot com
  2015-01-28 14:30 ` [Bug lto/64837] " trippels at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: hjl.tools at gmail dot com @ 2015-01-28 14:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64837

            Bug ID: 64837
           Summary: lto plugun doesn't call ld_plugin_release_input_file
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ccoutant at gcc dot gnu.org

Since lto plugin doesn't call ld_plugin_release_input_file,
plugin_maybe_claim in ld/plugin.c does

  /* fd belongs to us, not the plugin; but we don't need it.  */
  close (file->fd);

It may not work for other plugins, like LLVM plugin.  It
may also leak file descriptor when gold is used.


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-02-12 12:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 14:24 [Bug lto/64837] New: lto plugun doesn't call ld_plugin_release_input_file hjl.tools at gmail dot com
2015-01-28 14:30 ` [Bug lto/64837] " trippels at gcc dot gnu.org
2015-01-28 14:33 ` hjl.tools at gmail dot com
2015-01-28 18:46 ` [Bug lto/64837] lto plugin " hjl.tools at gmail dot com
2015-01-28 19:40 ` hjl at gcc dot gnu.org
2015-01-28 19:41 ` hjl.tools at gmail dot com
2015-02-06 13:29 ` burnus at gcc dot gnu.org
2015-02-06 13:56 ` hjl at gcc dot gnu.org
2015-02-06 13:56 ` hjl.tools at gmail dot com
2015-02-11 12:38 ` hjl.tools at gmail dot com
2015-02-11 12:39 ` hjl.tools at gmail dot com
2015-02-11 12:44 ` hjl.tools at gmail dot com
2015-02-11 12:49 ` trippels at gcc dot gnu.org
2015-02-11 15:34 ` trippels at gcc dot gnu.org
2015-02-11 15:40 ` hjl.tools at gmail dot com
2015-02-11 15:43 ` trippels at gcc dot gnu.org
2015-02-11 15:47 ` hjl.tools at gmail dot com
2015-02-11 15:52 ` trippels at gcc dot gnu.org
2015-02-12  9:04 ` marxin at gcc dot gnu.org
2015-02-12 12:23 ` hjl.tools at gmail dot com

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).