[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/23620] New: [gold] Support jobserver with --threads
From: |
romain.geissler at amadeus dot com |
Subject: |
[Bug gold/23620] New: [gold] Support jobserver with --threads |
Date: |
Sun, 09 Sep 2018 11:32:27 +0000 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/23620] New: [gold] Support jobserver with --threads,
romain.geissler at amadeus dot com <=