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

Robert Yang liezhi.yang at windriver.com
Tue Jul 22 06:24:54 PDT 2014



On 07/22/2014 09:02 PM, Burton, Ross wrote:
> On 22 July 2014 11:31, Robert Yang <liezhi.yang at windriver.com> wrote:
>> sysroots/x86_64-linux/usr/lib/libXext.so.6: undefined reference to `_XEatDataWords'
>
> Context: that function was added to libX11 1.6, and numerous other
> client libraries started using it to avoid security problems.  Older
> hosts won't have it, but they also won't have libraries that are using
> it.  So as far as I can tell the only way of replicating this is to
> have a sysroot which contains libxext but not libx11.  Considering
> libxext depends on libx11 that's not very likely.

We have also seen this on Yocto's AB.

>
> What's your actual replication method?

On Ubuntu 12.04 x86_64:

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

Then errors:

| ERROR: User requested feature sdl
|        configure was not able to find it.
|        Install SDL devel


// Robert

>
> Ross
>
>


More information about the poky mailing list