From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYZ5s-0002iE-EH for qemu-devel@nongnu.org; Fri, 21 Jul 2017 10:39:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYZ5n-0006fA-I2 for qemu-devel@nongnu.org; Fri, 21 Jul 2017 10:39:52 -0400 Received: from indium.canonical.com ([91.189.90.7]:50813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYZ5n-0006eE-Bs for qemu-devel@nongnu.org; Fri, 21 Jul 2017 10:39:47 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1dYZ5m-00077M-6G for ; Fri, 21 Jul 2017 14:39:46 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2338E2E8078 for ; Fri, 21 Jul 2017 14:39:46 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 21 Jul 2017 14:27:02 -0000 From: Thomas Huth <1591611@bugs.launchpad.net> Reply-To: Bug 1591611 <1591611@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160612061620.2663.17249.malonedeb@chaenomeles.canonical.com> Message-Id: <150064722291.6183.12716398237975332454.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1591611] Re: chroot using qemu-x86_64-static fails on ppc64el List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This bug has been moved to "Fix committed" before v2.9.0 has been release ... so could we move this to "Fix released" now? Or is there still something left to do here? -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1591611 Title: chroot using qemu-x86_64-static fails on ppc64el Status in QEMU: Fix Committed Bug description: When attempting to use qemu-x86_64-static from qemu 2.5.0 on a ppc64el host to chroot into an amd64 environment, all commands fail with an assertion error. /usr/bin/qemu-x86_64-static from the host was copied into the chroot /usr/bin, and the host has multiformat support in the kernel. Sample output illustrating the problem, as well as bash builtins working: # chroot /virtualbox/scratchdisks_local_001/amd64_chroot qemu-x86_64-stat= ic /bin/bash # ls bash: ../sysdeps/nptl/fork.c:136: __libc_fork: Assertion `({ __typeof (se= lf->tid) __value; if (sizeof (__value) =3D=3D 1) asm volatile ("movb %%fs:%= P2,%b0" : "=3Dq" (__value) : "0" (0), "i" (__builtin_offsetof (struct pthre= ad, tid))); else if (sizeof (__value) =3D=3D 4) asm volatile ("movl %%fs:%P= 1,%0" : "=3Dr" (__value) : "i" (__builtin_offsetof (struct pthread, tid)));= else { if (sizeof (__value) !=3D 8) abort (); asm volatile ("movq %%fs:%P1= ,%q0" : "=3Dr" (__value) : "i" (__builtin_offsetof (struct pthread, tid)));= } __value; }) !=3D ppid' failed. setup_frame: not implemented setup_frame: not implemented qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault setup_frame: not implemented setup_frame: not implemented # echo TEST TEST # cat test bash: ../sysdeps/nptl/fork.c:136: __libc_fork: Assertion `({ __typeof (se= lf->tid) __value; if (sizeof (__value) =3D=3D 1) asm volatile ("movb %%fs:%= P2,%b0" : "=3Dq" (__value) : "0" (0), "i" (__builtin_offsetof (struct pthre= ad, tid))); else if (sizeof (__value) =3D=3D 4) asm volatile ("movl %%fs:%P= 1,%0" : "=3Dr" (__value) : "i" (__builtin_offsetof (struct pthread, tid)));= else { if (sizeof (__value) !=3D 8) abort (); asm volatile ("movq %%fs:%P1= ,%q0" : "=3Dr" (__value) : "i" (__builtin_offsetof (struct pthread, tid)));= } __value; }) !=3D ppid' failed. qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault It is currently unknown if other host architectures (e.g. aarch64) are also affected. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1591611/+subscriptions