[OE-core] [PATCH 1/4] glibc: Remove site_config and glibc-initial

Burton, Ross ross.burton at intel.com
Thu Dec 20 13:02:29 UTC 2018


On Thu, 20 Dec 2018 at 11:59, <richard.purdie at linuxfoundation.org> wrote:
> On Thu, 2018-12-20 at 11:50 +0000, Burton, Ross wrote:
> > As the only users of siteconfig are now zlib and ncurses, should we
> > just rip it out entirely leaving a gap for a fresh implementation?
>
> I'm cc'ing Mark who has a lot of the history on this.
>
> I think we're at a point where we likely need to re-implement this in a
> different way...

I did some poking at this a few weeks ago, basically turned off
siteconfig by removing the 'inherit siteconfig' from
autotools.bbclass.

Interestingly, at the time for core-image-minimal this actually
resulted in the build being faster.  Some recipes were a little slower
to configure, specifically coreutils had the biggest slowdown as it
appears to probe for every syscall in the world (via gnulib) but that
only took seven seconds longer.  However, as the siteconfig generation
is done by writing a custom configure.ac and then doing the
autoconf/configure dance, these slowdowns were balanced out by glibc
taking an extra 30 seconds.

It appears that disabling siteconfig for glibc is an acceptable
compromise if we can not build glibc and gcc twice.

Ross


More information about the Openembedded-core mailing list