[PATCH][LTO] Fix PR41858

Toon Moene toon@moene.org
Thu Oct 29 21:12:00 GMT 2009


Rafael Espindola wrote:

 > I wrote:

>> Would that be helpful ?  As far as I can see, the function that generates
>> this message just opens file descriptors like there's no tomorrow (implying
>> in the comments that it is for every object file - "FIXME lto: lto1 should
>> know how to handle archives").
>>
>> On my system, an ordinary user has ulimit -n set to 1024; the executable in
>> question certainly needs more.
>>
>> I have no idea what a good solution to this problem would be (I also do not
>> know why all these files have to be kept open).
> 
> I quick look suggests a simple bug with us not closing some files. Can
> you open a bug and assign it to me?  I will try to reproduce by running
> with a low ulimit -n.

It's PR 41871

Hope the explanation is clear enough.

Kind regards,

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html



More information about the Gcc-patches mailing list