https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64837
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW --- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> --- (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