[Top][All Lists]

[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


            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: ---


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:


You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]