|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug gold/10708] "out of file descriptors and couldn't close any" -- probably fd leak |
Date: | Sun, 27 Feb 2011 15:17:46 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=10708 --- Comment #13 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-02-27 15:17:32 UTC --- CVSROOT: /cvs/src Module name: src Branch: binutils-2_21-branch Changes by: address@hidden 2011-02-27 15:17:29 Modified files: gold : ChangeLog copy-relocs.cc gold.cc icf.cc mapfile.cc plugin.cc Log message: Backport from mainline: 2010-11-05 Cary Coutant <address@hidden> PR gold/10708 * copy-relocs.cc (Copy_relocs::emit_copy_reloc): Hold a lock on the object when reading from the file. * gold.cc (queue_middle_tasks): Hold a lock on the object when doing second layout pass. * icf.cc (preprocess_for_unique_sections): Hold a lock on the object when reading section contents. (get_section_contents): Likewise. (icf::find_identical_sections): Likewise. * mapfile.cc (Mapfile::print_discarded_sections): Hold a lock on the object when reading from the file. * plugin.cc (Plugin_manager::layout_deferred_objects): Hold a lock on the object when doing deferred section layout. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.664.2.15&r2=1.664.2.16 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/copy-relocs.cc.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.11&r2=1.11.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/gold.cc.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.85&r2=1.85.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/icf.cc.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.15.2.1&r2=1.15.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/mapfile.cc.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.6&r2=1.6.2.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/plugin.cc.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.40.2.1&r2=1.40.2.2 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |