Bug 117972 - Problems with plugin/include/errors.h
Summary: Problems with plugin/include/errors.h
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: plugins (show other bugs)
Version: 15.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-09 18:13 UTC by David Malcolm
Modified: 2024-12-10 13:19 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Malcolm 2024-12-09 18:13:58 UTC
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?
Comment 1 Andrew Pinski 2024-12-09 18:28:09 UTC
        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.
Comment 2 Andrew Pinski 2024-12-09 18:30:34 UTC
PLUGIN_HEADERS should most likely include rtl-ssa/*.h, text-art/*.h, sym-exec/*.h too.