[oe] What is glibc-intermediate for?

pHilipp Zabel philipp.zabel at gmail.com
Sun Sep 9 08:50:29 UTC 2007


On 9/9/07, Detlef Vollmann <dv at vollmann.ch> wrote:
> Hello,
>
> building a (cross-)toolchain isn't easy and I'm currently trying
> to get my mind around it.
>
> My understanding was always that we have the following order:
>  linux-libc-headers
>  glibc-initial
>  gcc-cross-initial
>  glibc-intermediate
>  gcc-cross
>  glibc
>
> But looking at my current build, it turns out that the actual order
> is different:
>  linux-libc-headers
>  glibc-initial
>  gcc-cross-initial
>  glibc-intermediate
>  glibc
>  gcc-cross
>
> So, what is glibc-intermediate for (except wasting quite a lot of time)?

glibc-initial is needed to build gcc-cross-initial, which is needed to
build glibc-intermediate, which is needed to build gcc-cross, which is
needed to build glibc. Look at the package recipes, including
glibc.inc to see what's going on.
The seemingly different build order you noticed is probably due to
bitbake's fine-grained task dependencies. Maybe glibc was unpacked
before gcc-cross, but it most certainly wasn't compiled before
gcc-cross was staged.

cheers
Philipp




More information about the Openembedded-devel mailing list