[OE-core] Performance datapoint - impact of static libs

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 20 14:50:54 UTC 2011


On Fri, 2011-07-15 at 14:37 +0100, Phil Blundell wrote:
> > So static libs add an extra ~30mins of processing (7%) and ~5 mins to
> > the overall build time. Not as much of a gain as I'd have liked but
> > interesting none the less.
> 
> Do you know how many packages actually respect the --disable-static
> flag?  I don't think (e)glibc does, for example, which is a bit of a
> shame since it obviously has one of the largest build times.

I did a quick search over the resulting build looking for image/*.a
files and it seems a lot of the system did respect it. There were some
significant exceptions (eglibc, boost, openssl spring to mind) but in
general it looked pretty good.

Cheers,

Richard






More information about the Openembedded-core mailing list