Received: from eggs.gnu.org ([2001:4830:134:3::10]:37375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMshT-0005rv-Sw for qemu-devel@nongnu.org; Tue, 12 Jul 2016 04:05:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMshO-0001HB-CD for qemu-devel@nongnu.org; Tue, 12 Jul 2016 04:05:50 -0400 Received: from indium.canonical.com ([91.189.90.7]:40230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMshO-0001H4-6R for qemu-devel@nongnu.org; Tue, 12 Jul 2016 04:05:46 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bMshN-0002sT-2W for ; Tue, 12 Jul 2016 08:05:45 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 043652E802D for ; Tue, 12 Jul 2016 08:05:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 12 Jul 2016 07:56:10 -0000 From: Peter Maydell Reply-To: Bug 1600681 <1600681@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160711055802.23878.6367.malonedeb@gac.canonical.com> Message-Id: <20160712075610.23878.66292.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1600681] Re: Usermode qemu-mips64 does not run on 32 bit i686 hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Yes, in general you can't reliably run the linux-user QEMU for a 64-bit target on a 32-bit host. You'll need to run it on a 64-bit host instead. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1600681 Title: Usermode qemu-mips64 does not run on 32 bit i686 hosts Status in QEMU: New Bug description: Hi, The usermode qemu-mips64 fails to execute on 32 bit hosts with this error: "Address overflow loading ELF binary" This issue can be reproduced when building Yocto project on i686 hosts. Yocto version: 2.1 (krogoth branch) qemu: 2.5 gobject-introspection: 1.46 and Yocto version: 2.2 (master/branch) qemu: 2.6 gobject-introspection: 1.48 Host: Fedora 23 (i686) or Debian 8 (i686) Steps: 1. Set MACHINE =3D "qemumips64" 2. Run bitbake gobject-introspection I got some errors like below: env PATH=3D".libs:/buildarea/poky/build/tmp/sysroots-uninative/i686-linux= /usr/bin:/buildarea/poky/build/tmp/sysroots/i686-linux/usr/bin/python3-nati= ve:/buildarea/p oky/scripts:/buildarea/poky/build/tmp/sysroots/i686-lin= ux/usr/bin/mips64-poky-linux:/buildarea/poky/build/tmp/sysroots/qemumips64/= usr/bin/crossscripts:/buildarea /poky/build/tmp/sysroots/i686-linux/usr= /sbin:/buildarea/poky/build/tmp/sysroots/i686-linux/usr/bin:/buildarea/poky= /build/tmp/sysroots/i686-linux/sbin:/buildarea/ poky/build/tmp/sysroots= /i686-linux/bin:/buildarea/poky/scripts:/buildarea/poky/bitbake/bin:/usr/lo= cal/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /buildarea/p oky/bui= ld/tmp/work/mips64-poky-linux/gobject-introspection/1.48.0-r0/build/g-ir-sc= anner-qemuwrapper ./.libs/g-ir-compiler --includedir=3D../gobject-introspec= tion-1 .48.0 --includedir=3D../gobject-introspection-1.48.0/gir --inclu= dedir=3D. --includedir=3D. --includedir=3D./gir --includedir=3D. ../gobject= -introspection-1.48.0/gir/freety pe2-2.0.gir -o gir/freetype2-2.0.typel= ib ./.libs/g-ir-compiler: Address overflow loading ELF binary If the above error message is about missing .so libraries, then setting u= p GIR_EXTRA_LIBS_PATH in the recipe should help. (typically like this: GIR_EXTRA_LIBS_PATH=3D"${B}/something/.libs" ) Makefile:3528: recipe for target 'gir/fontconfig-2.0.typelib' failed make[2]: *** [gir/fontconfig-2.0.typelib] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/g-ir-compiler: Address overflow loading ELF binary If the above error message is about missing .so libraries, then setting u= p GIR_EXTRA_LIBS_PATH in the recipe should help. (typically like this: GIR_EXTRA_LIBS_PATH=3D"${B}/something/.libs" ) Makefile:3528: recipe for target 'gir/freetype2-2.0.typelib' failed make[2]: *** [gir/freetype2-2.0.typelib] Error 1 ./.libs/g-ir-compiler: Address overflow loading ELF binary If the above error message is about missing .so libraries, then setting u= p GIR_EXTRA_LIBS_PATH in the recipe should help. (typically like this: GIR_EXTRA_LIBS_PATH=3D"${B}/something/.libs" ) Makefile:3528: recipe for target 'gir/DBus-1.0.typelib' failed make[2]: *** [gir/DBus-1.0.typelib] Error 1 You can check Yocto bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D9285 I attached the full compile log. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1600681/+subscriptions