> > I'm attempting to build coreutils on a Fedora 44 system and have run into
> > some problems. Here is a file created from a build log. I have the complete
> > log available if needed. I tried the Fedora 44 gcc as well as a locally
> > built gcc from the gcc repo. Same problem exists.
> >
> > Am I doing something wrong? Can you point me in the "right" direction
> > please?
> >
> > Best regards,
> >
> > George...
> >
> >
> > ./lib/stdlib.h:807:20: error: expected identifier or '(' before '_Generic'
> > ./lib/wchar.h:841:23: error: expected identifier or '(' before '_Generic'
Without a complete log file, I can only guess. Namely, my guess is that you
need the Gnulib commit df17f4f37ed3ca373d23ad42eae51122bdb96626 (from
2025-11-23).
In fact, the Fedora people include this fix already:
1. Go to https://packages.fedoraproject.org/pkgs/coreutils/coreutils/
2. Click on 'Sources'
3. Click on 'Files'
4. Click on coreutils-9.9-gnulib-c23.patch
Alternatively, you can
1. Go to https://packages.fedoraproject.org/pkgs/coreutils/coreutils/
2. Click on '9.9-2.fc44'
3. Click on 'View build'
4. Click on 'coreutils-9.9-2.fc44.src.rpm (info) (download)'
5. rpm2cpio < coreutils-9.9-2.fc44.src.rpm | cpio --extract
--no-absolute-filenames --make-directories --preserve-modification-time
--verbose
Here too, you find the file coreutils-9.9-gnulib-c23.patch
Bruno