ld flag that gives ~40% startup time boost

John Richard Moser nigelenki at comcast.net
Fri Jun 23 07:39:03 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Scott James Remnant wrote:
> On Thu, 2006-06-22 at 15:51 -0400, John Richard Moser wrote:
> 
>> Does Ubuntu build everything with -Wl,-O1?  This was something that
>> Gentoo did as an optimization;
>>
> Yes, we do; Gentoo started doing it because we did.
> 

This doesn't really matter, but just to set the records straight:

http://forums.gentoo.org/viewtopic.php?t=67777

I've been on with Ubuntu since Warty; but before then I used Gentoo.  I
KNEW I'd heard of this before... ;)

Note that guy is a developer.  Also I haven't seen --sort-common, I
wonder if it actually does anything... (--relax, one of the ones I
played with earlier, doesn't unless you're on some obscure
architecture).  -Wl,-z,combreloc looks interesting but the problem it
solves does not seem to be present so I assume that Ubuntu's build
server has that.

Hmm.  Interesting stuff. --as-needed looks neat too but some apps break
horribly :)

> Scott

- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.

    Creative brains are a valuable, limited resource. They shouldn't be
    wasted on re-inventing the wheel when there are so many fascinating
    new problems waiting out there.
                                                 -- Eric Steven Raymond

    We will enslave their women, eat their children and rape their
    cattle!
                  -- Bosc, Evil alien overlord from the fifth dimension
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRJuMhQs1xW0HCTEFAQKenhAAnjEURZcfwBUs9qAg/xgK+QWZP0wgQW0l
wew9bCNzuURGftKwus6i3GoTKSTgCWpt3JY04UVh58b5mIxMG9InCWQ79cDOndLB
oMp+XrIf1QfejCb7PQcYbYhrSoCiyQKGMZrNkkNJiTurcSnFkTqQwtCCDu482MO1
MsxKoTHPwk/bZGsf2fHzQ/9vBoWK/+zv8HDD4CHmvuSrwk8NFLR/AGVMgaBAIyUt
vEd9wdYGHrmhZpdf8gGzXOhmCHMbHUgYTZmlAWxdpsmKf/aaHkW0OVljwwbGx19a
yDU0FfvcYu0ft0NdQh242cAFhTkMBLwujoIRxy/DggQMe8YQRl+WvK0CWbKcVxNd
VMdd5KImQr69lMYfRXIPCDPX/PYftlGAtQjmCBOuio2JZ9SdVH9f8mRU2FbUVr+J
9kxGlQO9hQ2UeOEQN6iku3+UGVCJ9OGxk63IoTPUSZzrs4RAU6a7lA+/2OXLbuV9
QrNI43qmAdnXA0n17gMugzEYj4JqaUwTaPXhrDD9ebTnPFwquZD28C/Wri506bat
S+VizQnoJv1kYfH1p0SfBZLlHNRpWF74rBjqordHLcMFaWVNK7DnaOi3udE/cGOn
XVxGjEZiK8LOIl44PS18aghVndfQGjQXEIIgNZRAci5nZQPXoUTvOJCgvcByJEGO
CaTC3S+gcko=
=ElBR
-----END PGP SIGNATURE-----



More information about the ubuntu-devel mailing list