linux-user threading/gomp issue (with testcase for qemu-arm)
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-stripIt 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