From nobody Sun Sep 29 21:04:00 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XGxX06kvYz5XCXv for ; Sun, 29 Sep 2024 21:04:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XGxX01vZ4z4Ykx for ; Sun, 29 Sep 2024 21:04:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727643840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uiZBPFdbjgXx6Puig4Sb/HnmJJX6+9hQACwCPUKQmII=; b=qA3YEfITR9gL+9EgTVO3ZWoioprChCtHxXYC1kYlRDV10WeGmalMyqL7X94W29TTRvySf1 q/HchgNOcaXrpKVf9kmUfN03jCd4bOgs90rVgHyqeobayuY6YS2bAvGGsXjDEYoeahIcZu ASUgto+K9NoPB2WxFNGJifLNa6DSGb7cj0jcpLK5t3Idzujmq1AxQjaOResoJ9ap7cluvQ 6xyamX4FhxnPvyJggCu9M7AILrc340ZZ8UrRbTGh1zHCwjdrEbVe5FExb3zODuqcdMJXt+ T/CRtqMSXRICj0wshut/5CYVz2qCIoE/cUnNMap/VpwZa+V0gjqBOEB/Y08LaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727643840; a=rsa-sha256; cv=none; b=Jul93Y5Qiikw16MKzMLCCWC3tZaNauZ6s6jp67cwz4EMQgbzyXgmRvv9gX/ttKQPx0TlIq hYlH8QAQqKuXQ6QW2rc+2pB3WuE71+28IrvEzpTACOfeVZISxv/BUCPosjWb2Tc3xjwj/9 R/g5O0C/J3eSmlpbr3eUYLzeKrstoCDEzKG02/ws2Wjqe4GbAbbzrvFisqB4j8Sdr7w3c5 ELuGjqwuhnYC+jCLYWTqnyePpZU/YSH029MIzaAI35gk4YENy0vxbYzG5FwbdbQzQLWSnG jKyUoVL1HVD7FKBGM1ROh28bpkCRlN6+iTO3JBhzaSsNhrtZ1e6HET1+c58HWQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XGxX01WWDzQ3W for ; Sun, 29 Sep 2024 21:04:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48TL40lb096141 for ; Sun, 29 Sep 2024 21:04:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48TL40qn096128 for bugs@FreeBSD.org; Sun, 29 Sep 2024 21:04:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281765] llvm - ThinLTO never uses more than a single thread by default Date: Sun, 29 Sep 2024 21:04:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: diizzy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281765 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. A= ddin -Wl,--thinlto-jobs=3DN to LDFLAGS makes it work as expected though. 1: https://clang.llvm.org/docs/ThinLTO.html --=20 You are receiving this mail because: You are the assignee for the bug.=