Loving ld with --as-needed
Jeff Waugh
jeff.waugh at ubuntu.com
Sun Feb 27 12:20:32 CST 2005
Hey,
So, in the tradition of weight-loss propaganda everywhere, let's look at the
benefits of a bold new linker option...
gnome-gpg BEFORE:
Depends: libart-2.0-2 (>= 2.3.16), libatk1.0-0 (>= 1.9.0), libaudiofile0 (>=
0.2.3-4), libbonobo2-0 (>= 2.8.1), libbonoboui2-0 (>= 2.5.4), libc6 (>=
2.3.2.ds1-4), libesd0 (>= 0.2.29-1) | libesd-alsa0 (>= 0.2.29-1),
libgconf2-4 (>= 2.9), libgcrypt11, libglib2.0-0 (>= 2.6.0),
libgnome-keyring0 (>= 0.4.0), libgnome2-0 (>= 2.8.0), libgnomecanvas2-0 (>=
2.6.0), libgnomeui-0 (>= 2.8.0), libgnomevfs2-0 (>= 2.9.90), libgnutls11 (>=
1.0.16), libgpg-error0 (>= 1.0), libgtk2.0-0 (>= 2.6.0), libhowl0 (>=
0.9.8-1), libice6 | xlibs (>> 4.1.0), libjpeg62, liborbit2 (>= 1:2.12.0),
libpango1.0-0 (>= 1.8.0), libpopt0 (>= 1.7), libsm6 | xlibs (>> 4.1.0),
libtasn1-2 (>= 0.2.8), libx11-6 | xlibs (>> 4.1.0), libxml2 (>= 2.6.17),
zlib1g (>= 1:1.2.1), gnupg
gnome-gpg AFTER:
Depends: libc6 (>= 2.3.2.ds1-4), libglib2.0-0 (>= 2.6.0), libgnome-keyring0
(>= 0.4.0), libgnome2-0 (>= 2.8.0), libgnomeui-0 (>= 2.8.0), libgtk2.0-0 (>=
2.6.0), gnupg
Similarly, gnome-panel goes from 43 to 28 shlibdeps. On the face of it, this
will help us avoid massive rebuilds when deep-down dependencies change (such
as gnutls) and hopefully Scott can give us an idea about performance impact,
if applicable.
If this is regarded as safe (Scott?), we could begin building GNOME with it
now (or immediately after hoary) and perhaps put it into the buildd settings
once we're completely happy with it.
Thanks,
- Jeff
--
linux.conf.au 2005: April 18th-23rd http://linux.conf.au/
"And the only time I met George W Bush, he said to me, 'Hey Mike! Go
find real work.' Of all people!" - Michael Moore
More information about the ubuntu-devel
mailing list