Received: from [140.186.70.92] (port=46622 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OW9Do-0000hs-3f for qemu-devel@nongnu.org; Tue, 06 Jul 2010 10:34:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OW9Dm-0004wo-Tf for qemu-devel@nongnu.org; Tue, 06 Jul 2010 10:34:03 -0400 Received: from mail.gmx.net ([213.165.64.20]:60885) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OW9Dm-0004vy-Gp for qemu-devel@nongnu.org; Tue, 06 Jul 2010 10:34:02 -0400 From: "Jan-Simon =?iso-8859-1?q?M=F6ller?=" Date: Tue, 6 Jul 2010 16:27:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201007061627.11716.dl9pf@gmx.de> Subject: [Qemu-devel] linux-user threading/gomp issue (with testcase for qemu-arm) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all ! I stumbled over https://computing.llnl.gov/tutorials/pthreads/samples/join.c and tried to run it with qemu-arm (gcc-arm -lm -lc -lpthread -o join join.c; qemu-arm ./join ). qemu-arm from 9f5a1fae7ee1a7c66462e5b8e9d21552d4dc5027 compiled with: ./configure --prefix=/usr \ --disable-system --enable-linux-user \ --target-list="arm-linux-user" \ --static \ --enable-guest-base \ --disable-werror --extra-cflags="-O0 -ggdb3" \ --enable-nptl --enable-debug --disable-strip It locks up, eats 400% of cpu on smp box and never returns. The last call i saw in -strace was do_futex - then we're in a lowlevel_lock. Another question: this seems to cause troubles when execution a binary using gomp - right ? Best, Jan-Simon