From: Ming Liu <ming.liu@windriver.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] qemu: explicitly disable xen support
Date: Thu, 14 Nov 2013 09:55:53 +0800 [thread overview]
Message-ID: <52842DA9.40004@windriver.com> (raw)
In-Reply-To: <5283C4CA.2020400@linux.intel.com>
On 11/14/2013 02:28 AM, Saul Wold wrote:
> On 11/13/2013 12:15 AM, Ming Liu wrote:
>> We don't make use of xen and when building on Ubuntu 13.04 when
>> libxen-dev is installed on the build host you will get errors like the
>> following:
>>
>> | /usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset
>> used with constant zero length parameter; this could be due to
>> transposed parameters
>> | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so:
>> undefined reference to `lzma_alone_decoder@XZ_5.0'
>> | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so:
>> undefined reference to `lzma_code@XZ_5.0'
>> | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so:
>> undefined reference to `lzma_stream_decoder@XZ_5.0'
>> | /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so:
>> undefined reference to `lzma_end@XZ_5.0'
>>
>> This change disables xen for both -native and target packages but
>> since it is a PACKAGECONFIG a user could tune this to have xen support
>> in the target package.
>>
>> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
>> Signed-off-by: Ming Liu <ming.liu@windriver.com>
>> ---
>> meta/recipes-devtools/qemu/qemu.inc | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-devtools/qemu/qemu.inc
>> b/meta/recipes-devtools/qemu/qemu.inc
>> index 702fe01..95a3aa3 100644
>> --- a/meta/recipes-devtools/qemu/qemu.inc
>> +++ b/meta/recipes-devtools/qemu/qemu.inc
>> @@ -79,6 +79,7 @@ do_install_append() {
>> PACKAGECONFIG ??= ""
>> PACKAGECONFIG[virtfs] = "--enable-virtfs
>> --enable-attr,--disable-virtfs,libcap attr,"
>> PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
>> +PACKAGECONFIG[xen] = "--enable-xen, --disable-xen,,"
>>
> If enabled what dependencies or rdepends does it need? liblzma seems
> like it might be one.
I'd like to explain it in more detail, there is no dependency
relationship between them actually, and we don't need set any rdepends
for it.
The root cause is that when xen support is detected by qemu configure,
"-lxenstore" is added to LDFLAGS, but mostly libxenstore.so itself on
host is also compiled as a shared library, so it is linked to liblzma.so
of host path, which will lead a version mismatch with lzma in sysroot.
//Ming Liu
>
> Sau!
>
>> # Qemu target will not build in world build for ARM or Mips
>> BROKEN_qemuarm = "1"
>>
>
>
prev parent reply other threads:[~2013-11-14 1:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 8:15 [PATCH] qemu: explicitly disable xen support Ming Liu
2013-11-13 18:28 ` Saul Wold
2013-11-14 1:55 ` Ming Liu [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=52842DA9.40004@windriver.com \
--to=ming.liu@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=sgw@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox