Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2024 21:04:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281765] llvm - ThinLTO never uses more than a single thread by default
Message-ID:  <bug-281765-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281765-227>