* Jan Kratochvil:

> On Mon, 13 Apr 2020 18:43:07 +0200, Tom Callaway wrote:
>> The linker said: error adding symbols: Malformed archive. Searching leads
>> me to translate that error to "too many open files". See:
>> https://github.com/OSSystems/meta-browser/issues/194
>> 
>> Apparently, gold does not have this issue, but I have not tested.
>
> gold is also limited by 'ulimit -S -n', I had to raise it while building LLDB
> (using -DLLVM_USE_LINKER=gold).

gold should either do this upon start (like OpenJDK does), or degrade
gracefully if running out of descriptors (perhaps resulting in less
parallelism, or additional open/close system calls, like databases
handle this).

Raising ulimit -n is just a kludge.  We can't do it globally because it
introduces memory corruption in some select-using programs.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to