From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86376 invoked by alias); 4 Dec 2019 21:03:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 86271 invoked by uid 89); 4 Dec 2019 21:03:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:8d02a9f, H*i:sk:8d02a9f, H*MI:sk:8d02a9f X-HELO: esa2.mentor.iphmx.com Received: from esa2.mentor.iphmx.com (HELO esa2.mentor.iphmx.com) (68.232.141.98) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Dec 2019 21:03:16 +0000 IronPort-SDR: 9LVrji/beP3PNLM0AWGmZnWFqoxiRzhKKWMJ3wThFEfQcPJM1qdc/XbGWJHIhtmJdGAHOQ0AEd rUOIRRlS4RNxB4x9qdmz/URFnD2KWGfuA8t09yZatuVqHe/KxBohHxkmxnuLuwDAO5g14+xxoj UpC45gCfcVBClnFpqFu6qRa1Mn4iCJAAZOq3veVgPyxJrAyWUXxbwpFH1SRNspzP+Es5t0Du4J vsezYxEyb5QGh5O1RvLtdE96kOnw5auzqBY1cadl8UddfS99p02bRRbHLz/exJx9ho6/AYIYzr TuM= Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 04 Dec 2019 13:03:11 -0800 IronPort-SDR: uRpS/V5G9aRvOFeS9dB4RuJZBh+flGoujS1syCQcXuxWzYK6Kll1lemHkXpQavWbseRU3Wk4uA EDBS1pXMsqpPVr5PWxKWbViFVPlEgHyPTNsI4tuEN1okajWqZqmKIKaimfBI/54PXVOpg/f2GE ayxVyriiyIaMaWYV/7R++j5tR39IUSIwbp9fKH441JegJIUI20zUcetbnARkDSkbQw+RlIrz1G DWto7nGyR7rz4sbMHZFe/OQ9xq/G5KEE5syeWdU6j1QjzO6ec+vak/tU83GV0qixpHFQRJrD7P 9G4= Date: Wed, 04 Dec 2019 21:03:00 -0000 From: Joseph Myers To: Jeff Law CC: Wilco Dijkstra , =?ISO-8859-15?Q?Martin_Li=A8ka?= , GCC Patches Subject: Re: [PATCH] PR85678: Change default to -fno-common In-Reply-To: <8d02a9f7-48cf-1974-a149-d00f05204e31@redhat.com> Message-ID: References: <2600d107-dc05-95b0-8864-5a9c4d7bb85e@suse.cz> <80b78a44-0983-fcee-0125-bca5140618a4@redhat.com> <8d02a9f7-48cf-1974-a149-d00f05204e31@redhat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-Path: joseph@codesourcery.com X-SW-Source: 2019-12/txt/msg00241.txt.bz2 On Wed, 4 Dec 2019, Jeff Law wrote: > > So what normally happens with the numerous new warnings/errors in GCC > > releases? I suppose that could cause package failures too. Would it be feasible > > to override the options for any failing packages? > Usually we're talking about a few dozen packages that are tripped by any > particular issue. The -fno-common issue is a full order of magnitude > larger. My builds show ~450 failures due to this issue. I'll note here as an advance warning that WG14 has indicated support for making bool, true and false into keywords for C2x, which seems likely to be the sort of change that would cause large numbers of build failures in pre-C99 code that does "typedef char bool;" and similar. Assuming it does get into C2x, it might make sense, once implemented in GCC, to try such distribution builds with a local patch to change the default C language to -std=gnu2x, to see the extent of the build failures and possibly get them addressed well before the actual GCC default does change to gnu2x. (The proposal also makes alignas, alignof, static_assert and thread_local into keywords, but I'd expect those to cause much smaller numbers of build failures than bool, true and false.) -- Joseph S. Myers joseph@codesourcery.com