https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110610
--- Comment #4 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to avieira from comment #2) > I can't reproduce this but it seems like the modula2 build also suffers from > the same issue, see PR110284. > > David, what exactly are you trying to build? Can you give us the configure > command? The OP is building a GCC plugin, it includes internal-fn.h. But internal-fn.h includes insn-opinit.h, and insn-opinit.h is not installed. See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/gcc-plugins/gcc-common.h#n73