Vanilla GCC 9 slower than Ubuntu GCC 9

Stefan Ring stefanrin@gmail.com
Tue May 28 20:00:00 GMT 2019


On Mon, May 27, 2019 at 1:49 AM Tadeus Prastowo
<tadeus.prastowo@unitn.it> wrote:
> Once debuild is done, I installed the aforementioned DEB files and
> found out that the installed /usr/bin/g++-9 still compiles faster as
> before.  So, I have failed to identify the factor in the PPA build
> process that makes the resulting compiler faster than mine, which was
> built from the release tarball using configure & make.  Any idea how
> to find the factor that results in a faster compiler?  Is it really
> the build process or the way the resulting compiler is installed that
> gives the speed up?  For example, does symbol stripping have any
> effect (I tried already to strip all symbols out of the executables
> found in my GCC-9 installation with `strip -s' but to no avail)?
> Perhaps some compiler libraries are installed in a particular way in
> Ubuntu?

I guess the Ubuntu package uses "make profiledbootstrap", which you
don’t get (IIRC) when just issuing "make".



More information about the Gcc-help mailing list