From: "Mian M. Hamayun" <m.hamayun@virtualopensystems.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Cross-Compiling Qemu for Aarch64?
Date: Thu, 16 May 2013 13:09:26 +0200 [thread overview]
Message-ID: <5194BE66.6080405@virtualopensystems.com> (raw)
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
next reply other threads:[~2013-05-16 11:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 11:09 Mian M. Hamayun [this message]
2013-05-16 11:23 ` [Qemu-devel] Cross-Compiling Qemu for Aarch64? Peter Maydell
2013-05-17 2:47 ` John Rigby
2013-05-17 3:16 ` John Rigby
2013-05-17 17:28 ` Peter Maydell
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=5194BE66.6080405@virtualopensystems.com \
--to=m.hamayun@virtualopensystems.com \
--cc=qemu-devel@nongnu.org \
/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.