All of lore.kernel.org
 help / color / mirror / Atom feed
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:35:23 +0800	[thread overview]
Message-ID: <53CE689B.3010402@windriver.com> (raw)
In-Reply-To: <CAJTo0LbZ59C15pZF5tq23rsFEw4vfgk1htwmVPT3i3CVgi7hzA@mail.gmail.com>



On 07/22/2014 09:28 PM, Burton, Ross wrote:
> On 22 July 2014 14:24, Robert Yang <liezhi.yang@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...

I'm afraid that the lock can't fix such an issue when build them manually.

>
> 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

I'm afraid not, the qemu-native does depend on a few native recipes:

DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native 
pixman-native dtc-native"

// Robert

> anything in the sysroot, so let's stop it even looking there.
>
> Ross
>
>


      reply	other threads:[~2014-07-22 13:35 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
2014-07-22 13:28       ` Burton, Ross
2014-07-22 13:35         ` Robert Yang [this message]

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=53CE689B.3010402@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.