On 2026-01-25 05:05, Bruno Haible via Gnulib discussion list wrote:
The workarounds I can see:

   - Use a gcc version 14 or older.
   - Locally modify the /usr/include/sys/cdefs.h file, to avoid defining the
     '__glibc_const_generic' macro.
   - For m4, users can use a snapshot tarball. [3]
   - For other packages, users can build from git (not generally recommended).

Any other workarounds that people can see?

I suppose something like (2) can be done without locally modifying /usr/include/sys/cdefs.h, by doing something like the following in the build script:

  sed 's/__glibc_const_generic/_NO_&/g' \
     /usr/include/sys/cdefs.h >mycdefs.h
  ./configure CC="gcc -include $PWD/mycdefs.h"

Reply via email to