Test times out with build from r220886 Target: x86_64-unknown-linux-gnu Configured with: src/configure --prefix=nobootstrap/install --with-cloog=infra --with-ppl=infra --with-gmp=infra --with-mpfr=infra --with-mpc=infra --with-isl=infra --disable-bootstrap --enable-checking=yes,rtl --enable-languages=c,fortran,ada,java,objc,c++,go,obj-c++ Hangs like this: ... (gdb) bt #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007ffff7bc6657 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007ffff7bc6480 in __GI___pthread_mutex_lock (mutex=0x7fffffffdab0) at ../nptl/pthread_mutex_lock.c:79 #3 0x000000000040a288 in system.task_primitives.operations.write_lock (l=l@entry=0x7fffffffda78, <lL>=<lL>@entry=0) at s-taprop.adb:365 #4 0x0000000000412016 in system.tasking.protected_objects.entries.lock_entries_with_status (object=0x7fffffffda68) at s-tpoben.adb:276 #5 0x0000000000412089 in system.tasking.protected_objects.entries.lock_entries (object=<optimized out>) at s-tpoben.adb:231 #6 0x00000000004165d3 in <timing_events__po__procP> () at src/gcc/testsuite/gnat.dg/timing_events.adb:20 #7 0x00000000004164a6 in timing_events.po.test (<O>=(const system__address) 0x7fffffffda60, <P>=(const system__address) 0x0, <E>=1) at src/gcc/testsuite/gnat.dg/timing_events.adb:17 #8 0x0000000000413455 in system.tasking.protected_objects.operations.po_do_or_queue (self_id=self_id@entry=0x636030, object=object@entry=0x7fffffffda68, entry_call=entry_call@entry=0x6365b8) at s-tpobop.adb:320 #9 0x000000000041381c in system.tasking.protected_objects.operations.protected_entry_call (object=0x7fffffffda68, e=<optimized out>, uninterpreted_data=(const system__address) 0x0, mode=<optimized out>, block=...) at s-tpobop.adb:604 #10 0x0000000000415f17 in timing_events () at src/gcc/testsuite/gnat.dg/timing_events.adb:28 ...
Confirmed on x86_64-apple-darwin14.
The test is actually wrong, which is now exhibited by a recent fix in the runtime. I forgot to remove it, now done.
Author: charlet Date: Sat Feb 21 18:57:02 2015 New Revision: 220889 URL: https://gcc.gnu.org/viewcvs?rev=220889&root=gcc&view=rev Log: PR ada/65156 * gnat.dg/timing_events.adb: Removed, invalid test. Removed: trunk/gcc/testsuite/gnat.dg/timing_events.adb Modified: trunk/gcc/testsuite/ChangeLog