[poky] [PATCH 2/2] local.conf.sample: qemu-native DEPENDS libxext-naive

Burton, Ross ross.burton at intel.com
Tue Jul 22 06:28:54 PDT 2014


On 22 July 2014 14:24, Robert Yang <liezhi.yang at windriver.com> wrote:
> The link route is:
>
> qemu-native's do_configure sdl checking:
> /usr/lib/x86_64-linux-gnu/libSDL.so -->
> <sysroots>/x86_64-linux/usr/lib/libXext.so.6 -->
> /usr/lib/x86_64-linux-gnu/libX11.so
>
> So it is:
> host sdl -> sysroot libXext.so.6 -> host X11.so
>
> qemu-native doesn't depend on libxext-native, so the error would happen
> if the libx11-native is being rebuilding and the host's libX11.so doesn't
> have _XEatDataWords.
>
> Manually reproduce on Ubuntu 12.04 x86_64:
>
> $ bitbake qemu-native libx11-native libxext-native
> $ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native

This is where I insert my moan that the sysroot needs to have locking
and not modified during builds...

Maybe qemu-native should have a wrapper script that removes the
sysroot from LD_LIBRARY_PATH?  It's a native binary that doesn't need
anything in the sysroot, so let's stop it even looking there.

Ross


More information about the poky mailing list