Re: Vanilla GCC 9 slower than Ubuntu GCC 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 27, 2019 at 1:49 AM Tadeus Prastowo
<tadeus.prastowo@xxxxxxxx> 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".




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux