[llvm-bugs] [Bug 45559] New: lld trunk doesn't accept anymore the argument "--threads" with no thread count value contrary to lld <= 10

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 15 13:09:17 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45559

            Bug ID: 45559
           Summary: lld trunk doesn't accept anymore the argument
                    "--threads" with no thread count value contrary to lld
                    <= 10
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: romain.geissler at amadeus.com
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

Hi,

I used to use the flag "--threads" with lld <= 10 for years now, to make sure
that the multi threading was enabled (even if I know it was enabled by default
since quite some time, but it wasn't always the case). This was set in the
config of many project, some of them not updated regularly.

Right now lld trunk requires explicitly that we provide an argument count, like
for example "--threads=42", and doesn't accept just "--threads". Would it
possible, for the sake of backward compatibility with lld <= 10 to continue
supporting "--threads" (which would mean "use as many threads as needed") ?

Cheers,
Romain

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200415/2099b4a5/attachment-0001.html>


More information about the llvm-bugs mailing list