[yocto] [meta-yocto][PATCH] poky-tiny: Use musl for default system C library
Khem Raj
raj.khem at gmail.com
Sun Jan 17 23:04:14 PST 2016
> On Jan 8, 2016, at 1:21 AM, Burton, Ross <ross.burton at intel.com> wrote:
>
>
> On 8 January 2016 at 09:09, Burton, Ross <ross.burton at intel.com <mailto:ross.burton at intel.com>> wrote:
> For anyone else reading, I just gave this a test locally, and for context the previous poky-tiny was using a tuned glibc and the rootfs came in at 1.5M.
>
> Finished my comparison builds:
>
> musl:
> -rw-r--r-- 1 ross ross 731681 Jan 7 23:46 core-image-minimal-qemux86-20160107234351.rootfs.cpio.gz
> glibc:
> -rw-r--r-- 1 ross ross 1569610 Jan 8 00:01 core-image-minimal-qemux86-20160107235147.rootfs.cpio.gz
> uclibc:
> -rw-r--r-- 1 ross ross 669759 Jan 8 09:14 core-image-minimal-qemux86-20160108090512.rootfs.cpio.gz
>
> So it's a slightly increase over uclibc, but by default poky-tiny uses glibc so this is a massive win. In the greater scheme of things musl is trending to be worth the increase over uclibc too.
>
Thanks Ross for this info. I think it will be interesting to know the sizes of packages contributing to image from buildhistory if you have it lying around.
musl has libpthread/libm etc. all bundled into single .so for simplicity reasons. I would like to get to bottom of the slight increase of musl over uclibc based system
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160117/2c2860e7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160117/2c2860e7/attachment.pgp>
More information about the yocto
mailing list