The annobin plugin is failing when built against GCC 15: https://sourceware.org/bugzilla/show_bug.cgi?id=32429#c3 It looks like it's compiling against the "warning" decl in errors.h, rather than the one in diagnostic-core.h Should we be installing errors.h? Isn't it just for the various gen* tools in gcc's own build?
headers=`echo $(sort $(PLUGIN_HEADERS)) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \ Which was done in r5-7988-gb626318e125111 . Basically We install all *.{h,def} files.
PLUGIN_HEADERS should most likely include rtl-ssa/*.h, text-art/*.h, sym-exec/*.h too.