public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/28926] New: FAIL: libgomp.c/ordered-1.c execution test
@ 2006-09-01 13:07 uros at kss-loka dot si
2006-09-04 5:49 ` [Bug libgomp/28926] " uros at kss-loka dot si
2007-03-02 15:16 ` ubizjak at gmail dot com
0 siblings, 2 replies; 3+ messages in thread
From: uros at kss-loka dot si @ 2006-09-01 13:07 UTC (permalink / raw)
To: gcc-bugs
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, "\200@\4@\0\0\0\0\200\224\1@`p\1@\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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgomp/28926] FAIL: libgomp.c/ordered-1.c execution test
2006-09-01 13:07 [Bug libgomp/28926] New: FAIL: libgomp.c/ordered-1.c execution test uros at kss-loka dot si
@ 2006-09-04 5:49 ` uros at kss-loka dot si
2007-03-02 15:16 ` ubizjak at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: uros at kss-loka dot si @ 2006-09-04 5:49 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgomp/28926] FAIL: libgomp.c/ordered-1.c execution test
2006-09-01 13:07 [Bug libgomp/28926] New: FAIL: libgomp.c/ordered-1.c execution test uros at kss-loka dot si
2006-09-04 5:49 ` [Bug libgomp/28926] " uros at kss-loka dot si
@ 2007-03-02 15:16 ` ubizjak at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: ubizjak at gmail dot com @ 2007-03-02 15:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ubizjak at gmail dot com 2007-03-02 15:16 -------
Closed as WORKSFORME as RH 8.0 is kind of obsolete (I don't have this OS
anymore).
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28926
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-02 15:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-01 13:07 [Bug libgomp/28926] New: FAIL: libgomp.c/ordered-1.c execution test uros at kss-loka dot si
2006-09-04 5:49 ` [Bug libgomp/28926] " uros at kss-loka dot si
2007-03-02 15:16 ` ubizjak at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).