[yocto] ulibc instead of glibc

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jan 25 14:14:40 PST 2011


On Tue, 2011-01-25 at 13:31 -0600, Mark Hatle wrote:
> On 1/25/11 12:36 PM, Lorenzati, Marcelo wrote:
> > Hi all,
> > 
> >                 I wanted to know if it’s feasible to build Yocto with ulibc
> > instead of glibc and if someone have tried.
> > 
> > In a really constrained system could be the difference between selecting RT
> > Linux or another real time OS.
> > 
> 
> So far uclibc has not been a goal of the Yocto project.  With the minimum size
> of flash parts these days, the configurability of eglibc and the mklibs library
> optimizer... the use-case for uclibc is quickly going away.
> 
> (eglibc configuration is not yet implemented in Yocto.  Mklibs is currently
> being implemented.)
> 
> We have built (at Wind River) eglibc filesystems, single application systems, in
> foot prints of less then 2 MB of disk space required.  As far as I know,
> currently the smallest flash parts you can get for new designs are in the 4 MB
> range, and quickly those are being replaced by 16 MB (and larger) parts...
> 
> eglibc also has the advantage (over uclibc) of better support for a wide range
> of existing Open Source projects.
> 
> With that all said, yes it should be feasible to add uclibc to Yocto... but it's
> not already there as far as I know.

Right, we do have old uclibc recipes in Poky still I believe although
they would need updating after the recent toolchain bootstrap changes. I
do know people using uclibc actively in OE and this may be something
people want to add to oe-core so it might end up happening but its not
currently on the officially supported by Yocto list. 

Cheers,

Richard





More information about the yocto mailing list