Hi Khem,

On 11 April 2015 at 02:20, Khem Raj <[email protected]> wrote:

> musl does not support BIND_LAZY intentionally, which means
> dlopen will always complain about missing symbols which is what
> X does when loading graphics drivers, here we preload the needed
> drivers for all emulator machines if libc is musl
>

musl also doesn't support dlclose() so if you're after reduced memory
footprint using musl and X together isn't what you want, as X opens many
drivers to auto-probe the hardware and then dlcloses() anything that isn't
useful.  On musl() dlclose() is no-op so you've just wasted a pile of
memory.

> +do_install_append_libc-musl () {

This override should also be machine-specific as the list of modules you'll
need to open varies per machine.  ie you haven't included EXA or GLX, and
some of the drivers you have included are probably not required for qemu
images.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to