From: Robert Yang <liezhi.yang@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: [PATCH 2/2] local.conf.sample: qemu-native DEPENDS libxext-naive
Date: Tue, 22 Jul 2014 21:24:54 +0800 [thread overview]
Message-ID: <53CE6626.70304@windriver.com> (raw)
In-Reply-To: <CAJTo0La57nB9xrTNyo1vhQxea-CuC8di0pifYPVfy_rHc23MEw@mail.gmail.com>
On 07/22/2014 09:02 PM, Burton, Ross wrote:
> On 22 July 2014 11:31, Robert Yang <liezhi.yang@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
>
>
next prev parent reply other threads:[~2014-07-22 13:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 10:31 [PATCH 0/2] two fixes for local.conf.sample and local.conf.sample.extended Robert Yang
2014-07-22 10:31 ` [PATCH 1/2] local.conf.sample.extended: add KERNEL_IMAGE_MAXSIZE and IMAGE_ROOTFS_MAXSIZE Robert Yang
2014-07-22 10:31 ` [PATCH 2/2] local.conf.sample: qemu-native DEPENDS libxext-naive Robert Yang
2014-07-22 10:48 ` Martin Jansa
2014-07-22 11:37 ` Robert Yang
2014-07-27 10:29 ` Paul Eggleton
2014-07-27 12:50 ` Robert Yang
2014-07-22 13:02 ` Burton, Ross
2014-07-22 13:24 ` Robert Yang [this message]
2014-07-22 13:28 ` Burton, Ross
2014-07-22 13:35 ` Robert Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53CE6626.70304@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=poky@yoctoproject.org \
--cc=ross.burton@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.