qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] linux-user threading/gomp issue (with testcase for qemu-arm


From: Jan-Simon Möller
Subject: [Qemu-devel] linux-user threading/gomp issue (with testcase for qemu-arm)
Date: Tue, 6 Jul 2010 16:27:11 +0200
User-agent: KMail/1.13.5 (Linux/2.6.31.12-0.2-desktop; KDE/4.4.90; x86_64; ; )

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]