Re: RFC: More C errors by default in GCC 14 (no more implicit function declarations etc.)

Arsen Arsenović <[email protected]> Wed, 19 Apr 2023 03:14:52 +0200
Newsgroups dev.linux.lists.c-std-porting
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Paul Wise <[email protected]> writes:

> On Tue, 2023-04-18 at 16:07 +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.
>
> Is this change being made the upstream defaults?
>
> Or will it be a distro override like the hardening flags are?

The intention is to make this a default, in order to brace people for a
future C default standard version changes.

>> I would appreciate some discussion on the Debian impact.
>
> Since most of the Debian archive can be reproducibly built, it seems
> like the way to gauge the impact of this change on Debian would be to
> do two archive rebuilds, once without the flags and once with the
> flags, then compare the two builds for each package using diffoscope.

This seems reasonable.  I suspect changes largely in configure scripts
based on our prior experience[1].

Have a lovely night.

> The reproducible builds fuzzing tests get 96.2% reproducible,
> this would only go up when not varying most of the fuzzed things.
>
> https://tests.reproducible-builds.org/debian/reproducible.html
>
> The existing documentation for Debian archive rebuilds is outdated and
> deleted, but Lucas Nusbaum and others have been doing them for a while.
>
> https://wiki.debian.org/MassRebuilds
> https://wiki.debian.org/qa.debian.org/ArchiveTesting?action=3Drecall&rev=
=3D23

[1] https://bugs.gentoo.org/870412
=2D-=20
Arsen Arsenovi=C4=87

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZD9CFV8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF
MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy
c2VuLm1lAAoJEFLClDAeosSTnl0BANhzJx/iCmsyTDxsmMXOqIjMo6kOtV+1oRLj
CPBcG3YtAP9S5pqQv4G7iPiloh4e8cCeAFmzIqeXKqEhk9QnbA8VAA==
=whP0
-----END PGP SIGNATURE-----
--=-=-=--