https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91092
--- Comment #9 from Florian Weimer <fw at gcc dot gnu.org> --- (In reply to Andreas Schwab from comment #8) > What about cmake, metaconfig, meson, scons, ... I hope that the more modern things get this correct and encourage more high-level checks. I plan to build Fedora with a special GCC with additional logging for these kinds of errors, and then submit the required changes upstream.