https://sourceware.org/bugzilla/show_bug.cgi?id=23620
Bug ID: 23620 Summary: [gold] Support jobserver with --threads Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: romain.geissler at amadeus dot com CC: ian at airs dot com Target Milestone: --- Hi, The current gold implementation tries to create by default as many threads as the number of inputs, which can lead on big projects to EAGAIN error when calling pthread_create. An alternative is to define --thread-count, however this also scale poorly when you build in parallel several big binaries and each of them eat N threads. Would it be possible to implement a jobserver inside gold, similar to what can be found in gcc with -flto=jobserver. GNU Make describes how a jobserver aware tool shall behave: https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html Cheers, Romain -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils