From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 310A415800A for ; Fri, 4 Aug 2023 02:05:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A38A2BC016; Fri, 4 Aug 2023 02:05:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 pigeon.gentoo.org (Postfix) with ESMTPS id 425FD2BC016 for ; Fri, 4 Aug 2023 02:05:12 +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 559FD335D1F for ; Fri, 4 Aug 2023 02:05:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD385EEB for ; Fri, 4 Aug 2023 02:05:09 +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: <1691114701.5b03a882f4fae447bf9d0a5e568ce91c9548e232.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: 5b03a882f4fae447bf9d0a5e568ce91c9548e232 X-VCS-Branch: master Date: Fri, 4 Aug 2023 02:05:09 +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: 25d3004a-83a6-40a1-bd06-961c41dd7a53 X-Archives-Hash: 2c516133b300230b0377707b27bf1bb9 commit: 5b03a882f4fae447bf9d0a5e568ce91c9548e232 Author: Sam James gentoo org> AuthorDate: Fri Aug 4 02:03:12 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 4 02:05:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b03a882 toolchain.eclass: pass --disable-dependency-tracking, --disable-silent-rules We already do this for gdb and binutils, do the same for gcc. Portage/econf only greps the top-level configure which has neither of these, but the subconfigure dirs do. There's been problems in the past upstream here, see e.g. https://gcc.gnu.org/PR55930, but seems fine now. Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index cf6cb158a3b3..9f626c5bfc77 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -791,8 +791,19 @@ toolchain_src_configure() { --mandir="${DATAPATH}/man" --infodir="${DATAPATH}/info" --with-gxx-include-dir="${STDCXX_INCDIR}" + + # portage's econf() does not detect presence of --d-s-r + # because it greps only top-level ./configure. But not + # libiberty's or gcc's configure. + --disable-silent-rules ) + if tc_version_is_at_least 10 ; then + confgcc+=( + --disable-dependency-tracking + ) + fi + # Stick the python scripts in their own slotted directory (bug #279252) # # --with-python-dir=DIR