params.h is listed in PLUGIN_HEADERS. As of r227566 params.h #includes params.list, but the latter is not in PLUGIN_HEADERS, leading to compilation failure for plugins that include params.h e.g. for gcc-python-plugin:
In file included from gcc-cfg.c:40:0: /install-dogfood/lib/gcc/x86_64-pc-linux-gnu/6.0.0/plugin/include/params.h:87:23: fatal error: params.list: No such file or directory #include "params.list" The following patch fixes it in the obvious way, by adding params.list to PLUGIN_HEADERS so that it gets installed. Successfully bootstrapped®rtested on x86_64-pc-linux-gnu. Verified via "make install" and then verifying the build of the affected files in gcc-python-plugin. OK for trunk? gcc/ChangeLog: PR plugins/69758 * Makefile.in (PLUGIN_HEADERS): Add params.list. --- gcc/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index aa3c018..6c15830 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3320,7 +3320,8 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \ tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \ hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \ - lcm.h cfgloopmanip.h builtins.def chkp-builtins.def pass-instances.def + lcm.h cfgloopmanip.h builtins.def chkp-builtins.def pass-instances.def \ + params.list # generate the 'build fragment' b-header-vars s-header-vars: Makefile -- 1.8.5.3