------- Additional Comments From ian at airs dot com 2009-11-07 02:27 -------
I have tried to recreate this problem, but failed. As far as I can tell, gold
will react correctly to a lack of file descriptors. I will need more
information on what could be causing the issue for you.
gold will try to open as many file descriptors as it needs. If you give it more
than 1024 input files, then it will open more than 1024 descriptors. However,
if an open fails with ENFILE or EMFILE it will close some descriptors, and will
not try to open that many again.
The error you are getting is the error that gold gives if it runs out of file
descriptors but can not find any to close. It's not reasonable that it would
need to keep 1024 descriptors open--unless perhaps you are running with a very
large number of threads. Are you passing any --thread option to gold?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=10708------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils