[Bug gold/10708] "out of file descriptors and couldn't close any" -- probably fd leak

2011-02-27 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=10708

--- Comment #13 from 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:i...@sourceware.org2011-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  
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/10708] "out of file descriptors and couldn't close any" -- probably fd leak

2011-02-27 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10708

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED

--- Comment #14 from Ian Lance Taylor  2011-02-27 15:23:15 
UTC ---
Seems to be fixed on mainline and in the upcoming 2.21.1 release.

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

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12261] gold fails to link symbols explicitly defined in base-version

2011-02-27 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12261

--- Comment #7 from Ian Lance Taylor  2011-02-27 18:12:22 
UTC ---
The key question here is what the glibc developers believe the correct
behaviour should be.  If glibc is currently acting as intended, then GNU ld
should change (and fuse should change too).  If glibc is in error, then gold
should change to match the GNU ld behaviour.  Right now, as far as I can tell,
gold is protecting people from relying on unpredictable glibc behaviour.

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

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12261] gold fails to link symbols explicitly defined in base-version

2011-02-27 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12261

--- Comment #8 from Ian Lance Taylor  2011-02-27 21:31:18 
UTC ---
I raised the issue on the libc-alpha mailing list:

http://sourceware.org/ml/libc-alpha/2011-02/msg00154.html

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

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12513] bfd_getb32 in libbfd.c:609, crash in ranlib and nm

2011-02-27 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12513

Alan Modra  changed:

   What|Removed |Added

 AssignedTo|amodra at gmail dot com |unassigned at sources dot
   ||redhat.com

--- Comment #3 from Alan Modra  2011-02-28 05:58:25 
UTC ---
I could not reproduce the problem using a --target=x86_61-linux
--enable-targets-all build hosted on either i686-linux, powerpc-linux or
powerpc64-linux.

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

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12513] bfd_getb32 in libbfd.c:609, crash in ranlib and nm

2011-02-27 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12513

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at sources dot   |amodra at gmail dot com
   |redhat.com  |

--- Comment #4 from Alan Modra  2011-02-28 07:42:34 
UTC ---
Finally did manage to reproduce the problem locally..

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

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12513] bfd_getb32 in libbfd.c:609, crash in ranlib and nm

2011-02-27 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12513

--- Comment #5 from cvs-commit at gcc dot gnu.org  2011-02-28 07:46:41 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2011-02-28 07:46:37

Modified files:
bfd: ChangeLog archive.c 

Log message:
PR 12513
* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
stringsize.  Properly sanity check symdef_count.  Remove redundant
bfd_release.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5251&r2=1.5252
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/archive.c.diff?cvsroot=src&r1=1.70&r2=1.71

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

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12513] bfd_getb32 in libbfd.c:609, crash in ranlib and nm

2011-02-27 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12513

--- Comment #6 from cvs-commit at gcc dot gnu.org  2011-02-28 07:47:06 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_21-branch
Changes by:amo...@sourceware.org2011-02-28 07:47:04

Modified files:
bfd: ChangeLog archive.c 

Log message:
PR 12513
* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
stringsize.  Properly sanity check symdef_count.  Remove redundant
bfd_release.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.5180.2.19&r2=1.5180.2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/archive.c.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.69.2.1&r2=1.69.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.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/12513] bfd_getb32 in libbfd.c:609, crash in ranlib and nm

2011-02-27 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12513

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #7 from Alan Modra  2011-02-28 07:51:20 
UTC ---
Fixed

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

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils