ld flag that gives ~40% startup time boost

James Laver james.laver at gmail.com
Thu Jun 22 22:01:37 BST 2006


Yes, yet when I saw that, I was thinking `that's an odd warning
level`. A check of the docs for gcc later and I still can't find any
note of it. Would you like to explain a touch more about how it
affects things?

Thanks

On 22/06/06, John Richard Moser <nigelenki at comcast.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> James Laver wrote:
> > With gentoo it's largely in the users' hands. They can build the base
> > tarball with whatever switches they like, but by the time it comes
> > round to updates of the system, a lot of core things will be updated
> > and compiled with your global make.conf options.
> >
> > On a sidenote, I'm rather fond of -O3 where it works (sqlite, for
> > example), but i typically go -O2 for most of my compiles.
> >
>
> - -O3 and -O2 do nothing with -Wl,-O; it's a binary switch.
>
> > Obviously start up speed is a big factor, it's what everyone whines
> > about, and I mean everyone.
>
> I'm currently looking into other things like --relax (which... does
> what?  The man page is very vague) and anything else I can come across
> that's harmless.  It's hard to know exactly what the environment on the
> build server looks like though, since ubuntu doesn't seem to have this
> documented anywhere I can easily locate... (one of the devs told me he
> "thinks" -Wl,-O1 is in the ENV on the build server)
>
> >
> > On 22/06/06, Scott James Remnant <scott at ubuntu.com> 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.
> >>
> >> Scott
> >> --
> >> Scott James Remnant
> >> scott at ubuntu.com
> >>
> >>
> >> -----BEGIN PGP SIGNATURE-----
> >> Version: GnuPG v1.4.2.2 (GNU/Linux)
> >>
> >> iD8DBQBEmvn3SnQiFMl4yK4RAk2uAKCSVmkxYVIKsjAUK29MyJcGov0gxgCeK0Lm
> >> cGNyb4iFLwRFn1AfGtaAs+s=
> >> =Hid9
> >> -----END PGP SIGNATURE-----
> >>
> >>
> >> --
> >> ubuntu-devel mailing list
> >> ubuntu-devel at lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
> >>
> >>
> >>
> >
> >
>
> - --
> 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
>
> iQIVAwUBRJsCBAs1xW0HCTEFAQIKrhAAlhRicI1o6Cm1ENn+TDmDIKSe3/mz2POu
> b4yCdLmV/MQykyb3ATJWynNkasBZfPv/2gSdVKgUFEYr0Sh64APypvI83A/3uqYA
> 3tRUvt6EuTr1rsIp4KAX95TI4s6BR3Zlc7gfr6MwYaMVRfUBJ4MbM7jDnbSEVDnq
> EGPyaIUwby6xodvhIkozUlJatZxsZLB82d8oauvSuF/bZAvu9ZXL4DrL3BcaxgOw
> EfJfMbtCI/G/d06SzdqM2HLT4TxfG1t62aER6G2rIBQWFaVrskj1jj8z+gn9WJQg
> KTe0uJST6ADBvdvvigrkORQKSRt9ZR8IzM2U8sNJrJ5HtktVv9z7/qdFzhJHb07l
> X6UM30Cvtz+/2+keR/CtQS24z8OB5/AabgC8f/zV2n/0fJnlZrSBUImZfqkgE23f
> exCHmQzRgCEgU4PNEb86em0hiA5Ud0EQYH2dEzAK5/aWcKcF4jBOr62BXJ9A+E26
> PnSRGuZIUXrEZlLXYjXsbE4uRxOrCA8zD/d43KI0odSEL09TtK8VjYeE5A6CHlaF
> HwO32GIfPbVo1m34xe7fdsKPgwqe0YoRlGqevl2juAXkTq2iux0mQKBSbJh128Px
> h36f6mE9L+1Yc/aGFwcCkZFn40ptSfLZUXcnbqa3bs8L3fF0zJ/y0EiZ0POeaW8M
> Me9JNy0m4Fg=
> =gId+
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
>


-- 
--James Laver
TCPA WILL TAKE AWAY YOUR COMPUTER RIGHTS :http://www.againsttcpa.com/index.shtml



More information about the ubuntu-devel mailing list