https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111027
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This might fix the issue: diff --git a/gcc/Makefile.in b/gcc/Makefile.in index a00dad965c5..267f6258ee3 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3686,6 +3686,7 @@ install: install-common $(INSTALL_HEADERS) \ ifeq ($(enable_plugin),yes) install: install-plugin +all: s-header-vars endif install-strip: override INSTALL_PROGRAM = $(INSTALL_STRIP_PROGRAM) By creating `s-header-vars` while building instead of just while doing the installing ...