From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ucw40-0006Zg-HZ for qemu-devel@nongnu.org; Thu, 16 May 2013 07:09:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ucw3t-0008Fa-U9 for qemu-devel@nongnu.org; Thu, 16 May 2013 07:09:36 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:34996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ucw3t-0008FL-NN for qemu-devel@nongnu.org; Thu, 16 May 2013 07:09:29 -0400 Received: by mail-ee0-f45.google.com with SMTP id l10so1670812eei.4 for ; Thu, 16 May 2013 04:09:28 -0700 (PDT) Received: from [10.188.221.142] (cust-seco11pa2-46-193-0-139.wb.wifirst.net. [46.193.0.139]) by mx.google.com with ESMTPSA id x41sm9896905eey.17.2013.05.16.04.09.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 04:09:27 -0700 (PDT) Message-ID: <5194BE66.6080405@virtualopensystems.com> Date: Thu, 16 May 2013 13:09:26 +0200 From: "Mian M. Hamayun" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Cross-Compiling Qemu for Aarch64? Reply-To: m.hamayun@virtualopensystems.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello Everyone, I am currently trying to compile qemu for Aarch64 but so far I haven't been able to configure qemu for this purpose. My first objective is to just configure and cross-compile qemu for Aarch64, which is currently blocked by the qemu's dependency on cross-compiled "glib-2.12". For example, when I use the following configure command: ./configure --cross-prefix=aarch64-linux-gnu- --target-list=arm-softmmu --enable-fdt --static I get the following error: ERROR: glib-2.12 required to compile QEMU This is a well-known dependency and the following pages are linked to this issue (directly or indirectly) and I have tried all of them without any success: https://bugs.launchpad.net/linaro-oe/+bug/1097561 http://people.debian.org/~wookey/bootstrap.html http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/arm64bootstrap I have also tried the latest git repository from John Rigby but I get the same error: https://git.linaro.org/gitweb?p=people/jcrigby/qemu-aarch64.git;a=summary Anyways, I want to know how we can resolve this dependency ? Some of you might suggest to cross-compile the glib-2.12 from sources found at: http://www.linuxfromscratch.org/blfs/view/6.3/general/glib2.html http://www.gtk.org/api/2.6/glib/glib-cross-compiling.html but even this option doesn't work for me as the apparent lacking support for Aarch64 in "glib-2.12". I have used the following configure command: ./configure --prefix=/my/prefix/path --host=aarch64-linux-gnu --cache-file=aarch64.cache with the following aarch64.cache file contents: glib_cv_long_long_format=I64 glib_cv_stack_grows=no Any pointers and/or directions for a possible solution will be highly appreciated. Thanks in advance, Hamayun