libgomp.c/ordered-1.c and libgomp.c/ordered-3.c currently timeouts on my system
(RedHat 8.0 with 2.4.18-14, i686) due to unimplemented FUTEX syscall.

strace of produced binary shows endless lines of "Function not implemented"
lines. This is the beginning:

rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(4, "[EMAIL PROTECTED]@[EMAIL PROTECTED]@\340\370\377\277\0\0\0"..., 148) =
148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) ---
<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)
sigreturn()                             = ? (mask now [RTMIN])
futex(0x40019458, FUTEX_WAIT, 0, NULL)  = -1 ENOSYS (Function not implemented)
futex(0x40019458, FUTEX_WAIT, 0, NULL)  = -1 ENOSYS (Function not implemented)
futex(0x40019458, FUTEX_WAIT, 0, NULL)  = -1 ENOSYS (Function not implemented)
futex(0x40019458, FUTEX_WAIT, 0, NULL)  = -1 ENOSYS (Function not implemented)
futex(0x40019458, FUTEX_WAIT, 0, NULL)  = -1 ENOSYS (Function not implemented)
futex(0x40019458, FUTEX_WAIT, 0, NULL)  = -1 ENOSYS (Function not implemented)
...

Breaking execution in the middle produces following backtrace:

Program received signal SIGINT, Interrupt.
[Switching to Thread 8192 (LWP 5941)]
0x40017c83 in gomp_sem_wait_slow (sem=0x804b09c) at
../../../gcc-svn/trunk/libgomp/config/linux/x86/futex.h:73
        in ../../../gcc-svn/trunk/libgomp/config/linux/x86/futex.h

(gdb) bt
#0  0x40017c83 in gomp_sem_wait_slow (sem=0x804b09c) at
../../../gcc-svn/trunk/libgomp/config/linux/x86/futex.h:73
#1  0x400167ce in gomp_ordered_sync () at
../../../gcc-svn/trunk/libgomp/config/linux/sem.h:46
#2  0x40016412 in gomp_loop_ordered_static_next (istart=0xbffff8e8,
iend=0xbffff8e4) at ../../../gcc-svn/trunk/libgomp/loop.c:307
#3  0x08048b45 in f_static_1 (dummy=0x0) at ordered-1.c:72


-- 
           Summary: FAIL: libgomp.c/ordered-1.c execution test
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: uros at kss-loka dot si
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28926

Reply via email to