[PATCH][LTO] Fix PR41858

Toon Moene moene@knmi.nl
Thu Oct 29 14:45:00 GMT 2009


Richard Guenther wrote:

> On Thu, 29 Oct 2009, Toon Moene wrote:
> 
>> You wrote:
>>
>>> I refrained from adding a 4000 file testcase ;)
>> Never mind - I have one.  I didn't understand why lto1 said this:
>>
>> /usr/snp/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux
>> -gnu/bin/ld: fatal error: could not open/create temporary file
>>
>> while dealing with the largest executable of our weather forecasting system.
>>
>> [ BTW, you could just say ulimit -n 10 before running the test :-) ]
> 
> Heh, indeed.  Btw, I didn't yet hit the above error.  Are you using
> the linker plugin?

Indeed.  Your fix *does* work for that case, no ?

-- 
Toon Moene, KNMI (Weer/Onderzoek), The Netherlands
Phone: +31 30 2206443; e-mail: moene@knmi.nl



More information about the Gcc mailing list