Received: from eggs.gnu.org ([208.118.235.92]:47263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEI23-0001fo-H5 for qemu-devel@nongnu.org; Wed, 19 Sep 2012 07:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEI1N-0001Es-4t for qemu-devel@nongnu.org; Wed, 19 Sep 2012 07:01:27 -0400 Received: from indium.canonical.com ([91.189.90.7]:59171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEI1M-0001Ej-UO for qemu-devel@nongnu.org; Wed, 19 Sep 2012 07:00:45 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TEI1M-0001Cv-8C for ; Wed, 19 Sep 2012 11:00:44 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2BD242E802A for ; Wed, 19 Sep 2012 11:00:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Sep 2012 10:51:29 -0000 From: Erik de Castro Lopo <1052857@bugs.launchpad.net> Sender: bounces@canonical.com References: <20120919105129.11155.13183.malonedeb@gac.canonical.com> Message-Id: <20120919105129.11155.13183.malonedeb@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1052857] [NEW] qemu-user compiled static for ppc fails Reply-To: Bug 1052857 <1052857@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: On debian I used debootstrap to set up a powerpc chroot. If I then copy in a statically linked qemu-user ppc binary it will work for some commands in the chroot and fail for others. Steps to reproduce: host$ mkdir powerpc host$ sudo debootstrap --arch=3Dpowerpc --foreign wheezy powerpc http://ftp= .debian.org/debian host$ sudo cp /usr/bin/qemu-ppc-static powerpc/usr/bin/ host$ LANG=3DC sudo chroot powerpc /usr/bin/qemu-ppc-static /bin/bash I have no name!@guest:/# pwd / I have no name!@guest:/# cd home/ I have no name!@guest:/home# ls qemu-ppc-static: /tmp/buildd/qemu-1.1.2+dfsg/linux-user/signal.c:4341: setu= p_frame: Assertion `({ unsigned long __guest =3D (unsigned long)(ka->_sa_ha= ndler) - guest_base; (__guest < (1ul << 32)) && (!reserved_va || (__guest <= reserved_va)); })' failed. I have also built this from the git HEAD sources (hash 6b80f7db8a7f84d21e46d01e30c8497733bb23a0) and I get the same result. ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1052857 Title: qemu-user compiled static for ppc fails Status in QEMU: New Bug description: On debian I used debootstrap to set up a powerpc chroot. If I then copy in a statically linked qemu-user ppc binary it will work for some commands in the chroot and fail for others. Steps to reproduce: host$ mkdir powerpc host$ sudo debootstrap --arch=3Dpowerpc --foreign wheezy powerpc http://f= tp.debian.org/debian host$ sudo cp /usr/bin/qemu-ppc-static powerpc/usr/bin/ host$ LANG=3DC sudo chroot powerpc /usr/bin/qemu-ppc-static /bin/bash I have no name!@guest:/# pwd / I have no name!@guest:/# cd home/ I have no name!@guest:/home# ls qemu-ppc-static: /tmp/buildd/qemu-1.1.2+dfsg/linux-user/signal.c:4341: se= tup_frame: Assertion `({ unsigned long __guest =3D (unsigned long)(ka->_sa_= handler) - guest_base; (__guest < (1ul << 32)) && (!reserved_va || (__guest= < reserved_va)); })' failed. I have also built this from the git HEAD sources (hash 6b80f7db8a7f84d21e46d01e30c8497733bb23a0) and I get the same result. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1052857/+subscriptions