Received: from eggs.gnu.org ([2001:4830:134:3::10]:34172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF21b-0001Sn-82 for qemu-devel@nongnu.org; Mon, 20 Jun 2016 12:26:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF21V-0004TW-4T for qemu-devel@nongnu.org; Mon, 20 Jun 2016 12:26:10 -0400 Received: from indium.canonical.com ([91.189.90.7]:55709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF21U-0004TP-Ud for qemu-devel@nongnu.org; Mon, 20 Jun 2016 12:26:05 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bF21S-0007W8-By for ; Mon, 20 Jun 2016 16:26:02 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 108E52E82E3 for ; Mon, 20 Jun 2016 16:25:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 20 Jun 2016 16:16:01 -0000 From: Peter Maydell Reply-To: Bug 1311614 <1311614@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140423112847.24236.89791.malonedeb@wampee.canonical.com> Message-Id: <20160620161601.12134.8598.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1311614] Re: qemu-arm segfaults with gcc 4.9.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Fixed by commit be3bd286bc06 back in 2014. ** Changed in: qemu Status: New =3D> Fix Released -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1311614 Title: qemu-arm segfaults with gcc 4.9.0 Status in QEMU: Fix Released Bug description: I have an ARM chroot that working with qemu-arm emulation [root@filzbach fedya]# cat /proc/sys/fs/binfmt_misc/arm enabled interpreter /usr/bin/qemu-arm-binfmt flags: P offset 0 magic 7f454c4601010100000000000000000002002800 mask ffffffffffffff00fffffffffffffffffeffffff = In chroot installed gcc dependencies with 4.9.0 version sudo rpm --root /home/fedya/root/ -qa | grep 4.9.0 libgcc1-4.9.0_2014.04-1-omv2013.0.armv7hl libgomp1-4.9.0_2014.04-1-omv2013.0.armv7hl libstdc++6-4.9.0_2014.04-1-omv2013.0.armv7hl gcc-4.9.0_2014.04-1-omv2013.0.armv7hl gcc-cpp-4.9.0_2014.04-1-omv2013.0.armv7hl libstdc++-devel-4.9.0_2014.04-1-omv2013.0.armv7hl gcc-c++-4.9.0_2014.04-1-omv2013.0.armv7hl = When i try to run "rpm" , "rpmbuild", "rpm2cpio"command i always see qemu= segfault message = example: [root@filzbach /]# uname -a Linux filzbach.lindev.ch 3.13.6-nrjQL-desktop-70omv #1 SMP PREEMPT Wed Ma= r 12 21:40:00 UTC 2014 armv7l armv7l armv7l GNU/Linux [root@filzbach /]# rpm qemu: uncaught target signal 11 (Segmentation fault) - core dumped = Segfault became apparent only after gcc upgrade from 4.8.3 to 4.9.0. When i downgrade it to 4.8.3 all working fine again. It looks like a qemu bug with gcc. = P.S. I tried to rebuild qemu with gcc 4.9.0 I tried to build qemu from git sources, from fedora sources, from suse so= urces etc. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1311614/+subscriptions