On Mon, Nov 21, 2022 at 08:58:12AM +0100, Florian Weimer wrote:
I'm still in the process of setting thigs up. I've created a wiki page separately from the change proposal that documents some project procedures:
https://fedoraproject.org/wiki/Toolchain/PortingToModernC
It has some instructions how to test things locally. Thanks to Kevin's help, we should soon have a special buildroot in Koji which will be useful for testing as well.
The first pass will focus on implicit ints and implicit function declarations, simply because we have to start somewhere, and I've got an instrumented GCC for this.
Below, I'm listing packages which use implicit ints and call an undeclared “exit” function. Detection is therefore extremely reliable. (In general, implicit function declarations are hard to detect because sometimes there are calls to functions from configure checks which are expected to be missing in Fedora, such as “getmntinfo”. No such problem with “exit” or implicit ints, though.) In the list, I have excluded issues that have already been fixed in rawhide, or for which I have filed help-needed Bugzilla bugs (I hope I haven't missed anything).
I'll try to capture the work we do in a tracking repository, so that other distributions can find it:
https://gitlab.com/fweimer-rh/fedora-modernc
If you find something, please submit an MR to this repository. (If we can make this repository or another one editable by Fedora packages, that would be fine, too.)
Thanks, Florian
Quite hard to scan this list without having maintainer names, but I would just comment that:
mingw-gcc
... this is just GCC with different compilation options, and hopefully GCC maintainers know about this :-) GCC 12.2.1 at time of writing.
Rich.