From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z59BO-0006xq-M4 for qemu-devel@nongnu.org; Wed, 17 Jun 2015 04:58:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z59BJ-0001Z5-3t for qemu-devel@nongnu.org; Wed, 17 Jun 2015 04:58:54 -0400 Received: from mail-yh0-f47.google.com ([209.85.213.47]:35891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z59BJ-0001YY-0N for qemu-devel@nongnu.org; Wed, 17 Jun 2015 04:58:49 -0400 Received: by yhan67 with SMTP id n67so29098541yha.3 for ; Wed, 17 Jun 2015 01:58:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150617005222.GA18884@flamenco> References: <20150617005222.GA18884@flamenco> From: Peter Maydell Date: Wed, 17 Jun 2015 09:58:27 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] linux-user crashes on clone(2) when run on ppc host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" Cc: Riku Voipio , "qemu-ppc@nongnu.org" , Alexander Graf , QEMU Developers On 17 June 2015 at 01:52, Emilio G. Cota wrote: > Hi, > > I'm having trouble running a simple multithreaded program on a PowerPC host machine. > > The machine I'm using is a ppc VM--I think it's running under KVM (I'm using > OVH's RunAbove Power8 service): > admin@adsf:~/qemu$ uname -a > Linux adsf 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:27:09 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux > > admin@adsf:~/qemu$ ppc64le-linux-user/qemu-ppc64le foo Multithreaded binaries don't work with linux-user; there are a bunch of known race conditions involving data structures we don't correctly lock or make per-thread. This is a long-standing issue; we're hoping we might get to fixing it some time this year. thanks -- PMM