Bruno Haible via Gnulib discussion list <[email protected]> writes: > 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 don't think distributions wil like the first, third, or fourth options. Usually they use whatever gcc version is packaged, and then checkout a git tag. My idea was similar to the second, messing around with things to prevent __glibc_const_generic from being defined. However, that is probably equally as much work as just applying the patch that fixes the build error. Collin
