From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20895 invoked by alias); 11 Feb 2015 12:49:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19780 invoked by uid 48); 11 Feb 2015 12:48:58 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/64837] lto plugin doesn't call ld_plugin_release_input_file Date: Wed, 11 Feb 2015 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg01172.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64837 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #13 from Markus Trippelsdorf --- (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.