From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id E5FC46D8A2 for ; Thu, 14 Nov 2013 01:55:55 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id rAE1tuCZ005426 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 13 Nov 2013 17:55:56 -0800 (PST) Received: from [128.224.162.145] (128.224.162.145) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.347.0; Wed, 13 Nov 2013 17:55:56 -0800 Message-ID: <52842DA9.40004@windriver.com> Date: Thu, 14 Nov 2013 09:55:53 +0800 From: Ming Liu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: Saul Wold References: <1384330547-1638-1-git-send-email-ming.liu@windriver.com> <5283C4CA.2020400@linux.intel.com> In-Reply-To: <5283C4CA.2020400@linux.intel.com> X-Originating-IP: [128.224.162.145] Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH] qemu: explicitly disable xen support X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 01:55:56 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 >> Signed-off-by: Ming Liu >> --- >> 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" >> > >