From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31201 invoked by alias); 11 Nov 2014 20:47:27 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31150 invoked by uid 48); 11 Nov 2014 20:47:23 -0000 From: "fxcoudert at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0 Date: Tue, 11 Nov 2014 20:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fxcoudert at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg00907.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63773 --- Comment #14 from Francois-Xavier Coudert --- (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;