From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1949 invoked by alias); 4 Sep 2011 17:20:05 -0000 Received: (qmail 1928 invoked by uid 22791); 4 Sep 2011 17:20:03 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtprelay05.ispgateway.de (HELO smtprelay05.ispgateway.de) (80.67.31.94) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 04 Sep 2011 17:19:48 +0000 Received: from [87.180.32.105] (helo=stokes.schwinge.homeip.net) by smtprelay05.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1R0GME-00071a-Jq for gcc@gcc.gnu.org; Sun, 04 Sep 2011 19:19:46 +0200 Received: (qmail 18757 invoked from network); 4 Sep 2011 17:19:33 -0000 Received: from kepler.schwinge.homeip.net (192.168.111.7) by stokes.schwinge.homeip.net with QMQP; 4 Sep 2011 17:19:33 -0000 Received: (nullmailer pid 31376 invoked by uid 1000); Sun, 04 Sep 2011 17:19:33 -0000 From: Thomas Schwinge To: Diego Novillo , Ian Lance Taylor Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: PATCH RFA: Build stages 2 and 3 with C++ In-Reply-To: References: User-Agent: Notmuch/0.5-77-g335dd52 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Sun, 04 Sep 2011 17:20:00 -0000 Message-ID: <87ty8srzrw.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Df-Sender: thomas@schwinge.name Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00018.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 2020 Hi! On Sat, 16 Jul 2011 11:27:46 -0400, Diego Novillo wro= te: > On Sat, Jul 16, 2011 at 02:52, Ian Lance Taylor wrote: >=20 > > 2011-07-15 =C2=A0Ian Lance Taylor =C2=A0 > > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0* configure.ac: Add --enable-build-poststage= 1-with-cxx. =C2=A0If set, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0make C++ a boot_language. =C2=A0Set and subs= titute > > =C2=A0 =C2=A0 =C2=A0 =C2=A0POSTSTAGE1_CONFIGURE_FLAGS. > > =C2=A0 =C2=A0 =C2=A0 =C2=A0* Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS):= New variable. > > =C2=A0 =C2=A0 =C2=A0 =C2=A0(STAGE[+id+]_CONFIGURE_FLAGS): Add $(POSTSTA= GE1_CONFIGURE_FLAGS). > > =C2=A0 =C2=A0 =C2=A0 =C2=A0* configure, Makefile.in: Rebuild. >=20 > I agree with this change. For reference, have you measured the > difference in bootstrap time? Clearly, it will be slower, but how > much? I can provide some data from my GNU/Hurd regression and comparing to GNU/Linux testing. This is GCC Git master branch, going from 7c9f953a01d23c6b6885dc908d5b1dba8009efd4 (2011-07-18; ``before'') to 18540031a8b2070a56f5b7e94d6b24e8bd335c57 (2011-07-20; ``after''); which is shortly before and after the switch to using g++. For GNU/Hurd, I have applied a few patches that are minor to this experiment. kepler is a Xen domU on a AMD Athlon II X2 215 with 2700 MHz, the domU has 1 GiB of RAM, and is running Debian GNU/Linux testing x86. coulomb is a AMD Athlon XP with 1466 MHz, has 1 GiB of RAM, and is running Debian GNU/Hurd unstable x86. kepler coulomb before 2 h 35 min 10 h 50 min after 3 h 00 min 13 h 00 min The ``after'' data is averaged from two iterations only, ``before'' data has seen many more iterations, and has (roughly) been constant over a long period of time. Both systems have been idle apart from the GCC build. The build was essentially a native ``configure && make''. So, yes, bootstrap is slower now. The bootstrap time now is 16 % to 20 % longer, roughly. Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature Content-length: 489 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOY7MjAAoJEGe3hdm9kOiiUaIIANKL9zlUn7EZ0hyEHE65rzZ/ uuoYYwzHKsUbHv8H6X1hR75kqZEBmtXLLwIX/QIcAoWG/sA1NRbg+7UV6HF4seZD +rDcupZO8Rj67KVotieI0LFraRJesYKCWuQwHwwN8rSB9BFUsNF+JwWLxDUei9qE CHWQkR9qrcbLWSesRT0jOiEF3yPSXKI06x39WmHKHpvpK00ankKpFTKr4yK5m0wd GuOjrHswQ7hgM1PXwh7gGPisHo6VK6ynCNt2xKreGU3npOWmYw5En7e8aXvrg9Gb 7ILV+zK0/deuS6h3hqwmmOLLjlHcee0O9ZnVoKk2ZJu4s2t36mcHwUAn8SQ1xQo= =ifvG -----END PGP SIGNATURE----- --=-=-=--