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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08294138334 for ; Sat, 17 Aug 2019 22:56:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4373CE08DD; Sat, 17 Aug 2019 22:56:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28317E08DD for ; Sat, 17 Aug 2019 22:56:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7543349CED for ; Sat, 17 Aug 2019 22:56:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC6B0A8 for ; Sat, 17 Aug 2019 22:56:17 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1566082567.006c932930706e3d1aed08c9b2270ea7c456050d.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/base/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/base/package.use.force X-VCS-Directories: profiles/base/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 006c932930706e3d1aed08c9b2270ea7c456050d X-VCS-Branch: master Date: Sat, 17 Aug 2019 22:56:17 +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: 04948d80-7075-49e0-b808-e2249cbff8ba X-Archives-Hash: 483ec9089dfdeff3f2053eeefd373e13 commit: 006c932930706e3d1aed08c9b2270ea7c456050d Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 17 22:49:01 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 17 22:56:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006c9329 base/package.use.force: force sys-devel/gcc[cxx] Modern gcc needs c++ to boostrap. Self-hosted Gentoo system can't do it with USE=-cxx gcc. Historically toolchain.eclass prevented from disabling the flag by accident. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/692126 Signed-off-by: Sergei Trofimovich gentoo.org> profiles/base/package.use.force | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force index c68f65c9bc6..081b86bcd41 100644 --- a/profiles/base/package.use.force +++ b/profiles/base/package.use.force @@ -1,6 +1,12 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Sergei Trofimovich (2019-08-17) +# USE=-cxx us a sure way to break native install as modern gcc +# requires C++ to bootstrap. But in rare cases it's useful +# to have a compiler not capable of C++, bug #692126. +sys-devel/gcc cxx + # Andreas K. Hüttel (2019-04-14) # Make sure glibc static libs are installed for now. Not installing # them is an experimental feature and needs testing.