This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/64837] lto plugin doesn't call ld_plugin_release_input_file


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #13 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #11)
> (In reply to Markus Trippelsdorf from comment #1)
> > > It may also leak file descriptor when gold is used.
> > 
> > It certainly does. I ran into this issue when building Chromium with LTO.
> > (I just increased ulimit -n as a workaround)
> 
> Can you try the patch
> 
> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34725

Unfortunately no. It was possible to build Chromium with LTO
on my 8GB machine two years ago, but not anymore.

Maybe Martin can give it a try? CCing him.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]