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.
(In reply to Andrew Pinski from comment #1) > 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. interesting, for some reason this doesn't pick up gcc/lto/lto.h .
(In reply to PaX Team from comment #3) > (In reply to Andrew Pinski from comment #1) > > 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. > interesting, for some reason this doesn't pick up gcc/lto/lto.h . Because it is not recursive