------- Comment #1 from uros at kss-loka dot si 2006-09-04 05:49 ------- The problem is that RH8.0 defines SYS_gettid and SYS_futex in headers although futex syscall is not really supported in the kernel. The build process detects this and issues a warning to configure with --disable-linux-futex, but still defaults to use futex syscall.
Perhaps futex support detection logic in libgomp/configure.ac (around line 200) should be reversed, so it would default to "don't use futex by default, but use them if all tests pass". Anyway, --disable-linux-futex works for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28926