From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from master.debian.org (master.debian.org [82.195.75.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7486AC95B for ; Tue, 18 Apr 2023 23:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.master; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description; bh=UrSgNVhG6G9tLQ9y2kNP4SAdaIAOR/JMnrL8whaDLMo=; b=YATfebh/pmK47yU+2g2godhTlx /ajQWiHmtZ2WAfZeJQcO5kdyOiZY8tMMJdc1YWFFWFeZMOdDrpbUrZPX8LdiRFcxd+9hQF1y6ES2o 0acd4ldJthMZkWdYRYYOGCjquWb0asmrM6uVls0rUP0R0keoie+6ROY+KiPlG5AQVrIZvAIto9hSk Ux91Nh7UP9DjbG6q8ebyNFi2ouvnDVIvdPpuCCQKBp5uWwmA0aLcpvj2LQDKjy3VE8vDj/oQvHnnj DCRaJsDuvaGxD9XtFZ7o+yXzwA1x+b8OLaIn1sV0vTXaas/yynWy6dx50fgBjD+a/oPZ4y1CK3WBL 0+3omZ4g==; Received: from guillem by master.debian.org with local (Exim 4.94.2) (envelope-from ) id 1pouaC-001dFi-Az; Tue, 18 Apr 2023 23:17:56 +0000 Date: Wed, 19 Apr 2023 01:17:55 +0200 From: Guillem Jover To: "G. Branden Robinson" Cc: Florian Weimer , debian-devel@lists.debian.org, debian-gcc@lists.debian.org, c-std-porting@lists.linux.dev Subject: Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.) Message-ID: Mail-Followup-To: "G. Branden Robinson" , Florian Weimer , debian-devel@lists.debian.org, debian-gcc@lists.debian.org, c-std-porting@lists.linux.dev References: <87y1mpe11q.fsf@oldenburg.str.redhat.com> <20230418225420.qoedd6vam4pkobin@illithid> Precedence: bulk X-Mailing-List: c-std-porting@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230418225420.qoedd6vam4pkobin@illithid> Hi! On Tue, 2023-04-18 at 17:54:20 -0500, G. Branden Robinson wrote: > At 2023-04-18T16:07:45+0200, Florian Weimer wrote: > > TL;DR: I want to propose a GCC 14 change which will impact > > distributions, so I'd like to gather some feedback from Debian. > > I would appreciate some discussion on the Debian impact. As Debian > > generally doesn't do mass rebuilds and we have upstreamed the fixes, > > maybe the impact is somewhat reduced? Given that you'll get the fixes > > as part of the rebases. Of course, other mass-changes might trigger > > rebuilds at a larger scale. I guess it also depends on when you want > > to update to GCC 14. The later, the more likely other packages have > > already imported the upstream fixes. The alternative would be to > > apply the fixes in a proactive manner, like we are trying to in > > Fedora. > > Debian has little fear of sweeping transitions, but it does like them to > be precisely defined in scope, and easily measured in adoption. The > addition of a versioned contour flag to "DEB_BUILD_OPTIONS" or > similar[3] is straightforward to measure by scanning source packages. At the time I got aware of this effort, I implemented a dpkg-buildflags feature (qa=+c99) to enable most of these flags (see [F]), but didn't mention it because it was not clear whether this was a desired direction and the current implementation seemed slightly restrictive, also due to the freeze. But perhaps switching more gradually does indeed work better, at least in the Debian context. I think the feature name is not great, because it is not very descriptive and precisely because once used it could not be currently extended, and that ties with work I've been doing to version feature flags (but I guess this one could always be introduced and be considered v0 or similar, probably with a better name(?)). Thanks, Guillem [F] https://git.hadrons.org/git/debian/dpkg/dpkg.git/commit/?h=next/modern-c&id=3316845bf415436299d61501db655fd2c1813436