From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2c6Z-0008Bq-7a for qemu-devel@nongnu.org; Fri, 04 Nov 2016 06:52:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2c6W-00056R-6D for qemu-devel@nongnu.org; Fri, 04 Nov 2016 06:52:15 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:36699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2c6V-00055N-VM for qemu-devel@nongnu.org; Fri, 04 Nov 2016 06:52:12 -0400 Received: by mail-wm0-x241.google.com with SMTP id c17so3280520wmc.3 for ; Fri, 04 Nov 2016 03:52:11 -0700 (PDT) Sender: Paolo Bonzini References: <1478182068-14082-1-git-send-email-laurent@vivier.eu> <06f03abb-3a18-12c3-b359-dcdc0aaeabfe@redhat.com> <32960507-f61e-e3a1-76f3-74a755adb7e3@vivier.eu> <2379a026-68ec-7a9f-4482-32d190c70251@physik.fu-berlin.de> <121ee4a7-2f98-40cd-8a18-e5ca61b56049@physik.fu-berlin.de> <8f8ff077-09b7-7b7a-bd78-c12bc1d38389@vivier.eu> <59ff062e-0689-7861-6e80-4a3c55e222de@physik.fu-berlin.de> From: Paolo Bonzini Message-ID: Date: Fri, 4 Nov 2016 11:52:07 +0100 MIME-Version: 1.0 In-Reply-To: <59ff062e-0689-7861-6e80-4a3c55e222de@physik.fu-berlin.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] target-sh4: add atomic tas List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Paul Adrian Glaubitz , Laurent Vivier , Aurelien Jarno Cc: qemu-devel@nongnu.org, Richard Henderson On 04/11/2016 11:16, John Paul Adrian Glaubitz wrote: >> > >> > If Haskell is compiled to use the "negative sp" trick that Richard >> > mentioned, it would rely on the SH machine being uniprocessor. Try >> > running chroot with "taskset -c 0". > Doesn't help unfortunately, still either crashes or locks up like this: > > root@ikarus:~# strace -p 32415 > strace: Process 32415 attached > futex(0x7f836c8bd4c8, FUTEX_WAIT_PRIVATE, 7, NULL > > with 32415 being the qemu ghc process. Indeed you would still need luck. :( Paolo