1 |
Ulrich Mueller a écrit : |
2 |
> Speaking about statistics: Either I have missed it, or so far nobody |
3 |
> has presented any solid numbers showing what the benefit of |
4 |
> --as-needed in terms of memory usage or program startup time is. |
5 |
|
6 |
The reduction in startup time may not be noticeable. |
7 |
|
8 |
The real win is when low level libs change ABI, like expat. On a |
9 |
standard Gnome system, without --as-needed, I had over 280 packages to |
10 |
rebuild (that was a very slow Duron 700Mhz, I ended up moving to |
11 |
--as-needed and did emerge -e world). |
12 |
|
13 |
On my other box which had had --as-needed for a while (so some useless |
14 |
rebuild could have been further avoided), I only had around 45 packages. |
15 |
|
16 |
And for the sake of the thread, had libtool been smarter, I'm sure that |
17 |
the final number could have gone down to 20 or so packages. |
18 |
|
19 |
My opinion: |
20 |
- we need --as-needed because it's useful (maybe ld could echo the |
21 |
libs that's it's dropping and then we could have a QA warning?) |
22 |
- we *do* need to fix libtool too |
23 |
- we need to make sure upstream packages provide correct .pc files |
24 |
|
25 |
Just a thought :) |
26 |
|
27 |
Rémi |
28 |
-- |
29 |
gentoo-dev@l.g.o mailing list |