[Bug 281765] llvm - ThinLTO never uses more than a single thread by default

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Sep 2024 21:04:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281765

            Bug ID: 281765
           Summary: llvm - ThinLTO never uses more than a single thread by
                    default
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
                CC: brooks@FreeBSD.org, dim@FreeBSD.org,
                    pkubaj@FreeBSD.org

Maybe I'm missing something obvious/intentional but according to upstream
documentation [1] it should default to one thread per physical core but at
least I have never seen that happen on various amd64 and aarch64 systems. Addin
-Wl,--thinlto-jobs=N to LDFLAGS makes it work as expected though.

1: https://clang.llvm.org/docs/ThinLTO.html

-- 
You are receiving this mail because:
You are the assignee for the bug.