[yocto] [OE-core] [oe] initial support for musl libc with OE/Yocto Project

Khem Raj raj.khem at gmail.com
Wed Apr 2 10:13:18 PDT 2014


On Wed, Apr 2, 2014 at 10:03 AM, Paul Barker <paul at paulbarker.me.uk> wrote:
> You've fixed util-linux in a different way to me, I added qsort_r to
> musl

this won't fly in musl community.

whereas you've removed it's use from util-linux. I'm not bothered
> which one we use if both work. We do now have 4 people looking at
> util-linux fixes: Me, you and Robert Yang (as util-linux-native
> doesn't build on Centos 5.10 due to the same qsort_r usage) here in
> oe-core and Karel Zak from upstream (as they want to fix it for their
> next release). I think we need to pick one fix (probably yours if it's
> tested and working in another distro) and get it applied to oe-core
> master.

yes, I think not using qsort_r is common solution for all these issues.

>
> Your latest commit "glibc-2.0: Fix build issues that arise on musl"
> should say glib not glibc. Other than that, your glib fix is better
> than mine (I did add <string.h> but didn't add the
> '--with-libiconv=gnu' option, instead I set musl as the provider of
> virtual/libiconv).

in order to build a lot of software we would need some sort of iconv
implementation
letting musl to provide it is probably ok too but I wanted  to take
the tested path to get
to an image to build and then we have a known baseline and we could
experiment more.



More information about the yocto mailing list