From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C7141584AD for ; Sat, 19 Apr 2025 19:16:30 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 136E7343135 for ; Sat, 19 Apr 2025 19:16:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0A54B110494; Sat, 19 Apr 2025 19:16:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id F161C110494 for ; Sat, 19 Apr 2025 19:16:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A40F734312A for ; Sat, 19 Apr 2025 19:16:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D5AD1862 for ; Sat, 19 Apr 2025 19:16:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1745090076.73fda26842575668580ad90e98ef93cdb73cd329.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 73fda26842575668580ad90e98ef93cdb73cd329 X-VCS-Branch: master Date: Sat, 19 Apr 2025 19:16:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5411b0f7-9d17-488c-b366-0e3acd375e91 X-Archives-Hash: 61fc3994546b77c890d79b36ff2ed4bd commit: 73fda26842575668580ad90e98ef93cdb73cd329 Author: Sam James gentoo org> AuthorDate: Sat Apr 19 19:12:39 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 19 19:14:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73fda268 toolchain.eclass: only enable JIT with USE=jit My fix in 6335bd10dfd41fa1f1a508c9e4d3458b6ae39a91 exposed another issue with USE="-jit libgdiagnostics" that was being obscured by the issue I fixed in that commit: with USE=-jit, as long as we were still doing the separate host-shared build (with USE=libgdiagnostics), we were still passing --enable-languages=jit. Bug: https://bugs.gentoo.org/953823 Closes: https://bugs.gentoo.org/954077 Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index df6ed170fe1f..0857395b4234 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1915,7 +1915,6 @@ toolchain_src_configure() { --disable-systemtap --enable-host-shared - --enable-languages=jit # Might be used for the just-built GCC. Easier to just # respect USE=graphite here in case the user passes some @@ -1924,6 +1923,12 @@ toolchain_src_configure() { --with-system-zlib ) + if is_jit ; then + confgcc_jit+=( --enable-languages=jit ) + else + confgcc_jit+=( --enable-languages=c,c++ ) + fi + if tc_has_feature zstd ; then confgcc_jit+=( $(use_with zstd) ) fi