https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63773

--- Comment #14 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #13)
> There is still a bootstrapping issue with libcc1 when bootstrapping with gcc
> 4.9:

Regarding that one, it should be fixed in the top-level Makefile. The targets
that configure and build libcc1 in this Makefile call $(HOST_EXPORTS), which
should do the trick. Instead, it should probably do like lto, and use
$(HOST_EXPORTS) and $(POSTSTAGE1_HOST_EXPORTS) together for stages > 1.

Looking at Makefile.def, the only difference I see is that libcc1 is not
bootstrapped, so maybe we could fix it this way?

Index: Makefile.def
===================================================================
--- Makefile.def    (revision 217355)
+++ Makefile.def    (working copy)
@@ -123,7 +123,8 @@ host_modules= { module= gnattools; };
 host_modules= { module= lto-plugin; bootstrap=true;
         extra_configure_flags='--enable-shared @extra_linker_plugin_flags@
@extra_linker_plugin_configure_flags@';
         extra_make_flags='@extra_linker_plugin_flags@'; };
-host_modules= { module= libcc1; extra_configure_flags=--enable-shared; };
+host_modules= { module= libcc1; bootstrap=true;
+        extra_configure_flags=--enable-shared; };

 target_modules = { module= libstdc++-v3;
            bootstrap=true;

Reply via email to