bug#80205: Problem building coreutils-9.9 on Fedora 44

Pádraig Brady <[email protected]> Thu, 15 Jan 2026 21:18:43 +0000
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <c60fbd70-844c-48a9-9346-0c23f4f1f8a5__12216.892505397$1768511978$gmane$org@draigBrady.com>
On 15/01/2026 17:17, George R Goffe via GNU coreutils Bug Reports wrote:
> Howdy,
> 
> 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'

So using GCC 16.

I did see some posts to gnulib recently re GCC 16 and language levels,
and also some recent gnulib tweaks re _Generic support,
so CC'ing gnulib.

Note coreutils 9.9 is using gnulib from Nov 2025.
It would be good to test if this is already addressed
with a gnulib (7606f1f2) from a couple of days ago using:

wget https://pixelbeat.org/cu/coreutils-9.9.192-6b32a.tar.xz
tar -xf coreutils-9.9.192-6b32a.tar.xz
cd coreutils-9.9.192-6b32a
./configure --quiet && make -j $(nproc)

thank you,
Padraig