Test run by jenkins on Wed Jan 18 12:34:28 2023 Native configuration is armv7l-unknown-linux-gnueabihf === gdb tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.exp ... Executing on host: gcc -fdiagnostics-color=never -c -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fdiagnostics-color=never -c -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/temp/20819/ccopts20819.c get_compiler_info: gcc-10-2-1 Executing on host: gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector -fdiagnostics-color=never -c -g -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c Executing on host: gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthreads -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status Executing on host: gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt (timeout = 300) builtin_spawn -ignore SIGHUP gcc -fno-stack-protector /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt0.o -fdiagnostics-color=never -g -lpthread -lm -o /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: successfully compiled posix threads test case builtin_spawn /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory GNU gdb (GDB) 14.0.50.20230118-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "armv7l-unknown-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch Source directories searched: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt Reading symbols from /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt... (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break -qualified main Breakpoint 1 at 0x10680: file /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c, line 52. (gdb) run Starting program: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/outputs/gdb.arch/arm-pthread_cond_timedwait-bt/arm-pthread_cond_timedwait-bt [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Breakpoint 1, main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:52 52 err = pthread_mutex_lock(&mutex); (gdb) advance 58 [New Thread 0xb6e22440 (LWP 20889)] main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:58 58 err = pthread_join(thread, &ret); // break-line (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: advance to break-line thread 2 [Switching to thread 2 (Thread 0xb6e22440 (LWP 20889))] #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 2 for svc check x/i $pc => 0xb6f8681c : svc 0x00000000 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: pc points to svc thread 1 [Switching to thread 1 (Thread 0xb6ffa280 (LWP 20884))] #0 main () at /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.c:58 58 err = pthread_join(thread, &ret); // break-line (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 1 set debug frame 1 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: set debug frame 1 thread 2 [frame] reinit_frame_cache: generation=141 [frame] reinit_frame_cache: generation=142 [Switching to thread 2 (Thread 0xb6e22440 (LWP 20889))] [frame] create_sentinel_frame: -> {level=-1,type=SENTINEL_FRAME,unwinder="sentinel",pc=,id={stack=,!code,special=0x0000000000000000},func=} [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] frame_unwind_arch: next_frame=-1 -> armv6 [frame] operator==: l={stack=,!code,special=0x0000000000000000}, r={stack=,!code,special=0x0000000000000000} -> 0 [frame] get_prev_frame_raw: -> {level=0,type=,unwinder=,pc=,id=,func=} [frame] get_prev_frame_always_1: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=15(pc) [frame] frame_unwind_register_value: -> register=15 bytes=[1c68f8b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_pc: this_frame=-1 -> 0xb6f8681c [frame] frame_unwind_find_by_frame: enter [frame] frame_unwind_find_by_frame: this_frame=0 [frame] frame_unwind_try_unwinder: trying unwinder "dummy" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 tailcall" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "inline" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "jit" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "python" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm stub" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 signal" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm exidx" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm epilogue" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm prologue" [frame] frame_unwind_try_unwinder: yes [frame] frame_unwind_find_by_frame: exit #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 ([frame] frame_id_p: l={!stack,!code,!special} -> 0 ) from /lib/arm-linux-gnueabihf/libpthread.so.0 [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] get_prev_frame_always_1: -> {level=0,type=NORMAL_FRAME,unwinder="arm prologue",pc=0xb6f8681c,id=,func=} // cached [frame] get_prev_frame_always_1: exit (gdb) FAIL: gdb.arch/arm-pthread_cond_timedwait-bt.exp: unwinder is arm exidx thread 2 [frame] reinit_frame_cache: generation=143 [frame] reinit_frame_cache: generation=144 [Switching to thread 2 (Thread 0xb6e22440 (LWP 20889))] [frame] create_sentinel_frame: -> {level=-1,type=SENTINEL_FRAME,unwinder="sentinel",pc=,id={stack=,!code,special=0x0000000000000000},func=} [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] frame_unwind_arch: next_frame=-1 -> armv6 [frame] operator==: l={stack=,!code,special=0x0000000000000000}, r={stack=,!code,special=0x0000000000000000} -> 0 [frame] get_prev_frame_raw: -> {level=0,type=,unwinder=,pc=,id=,func=} [frame] get_prev_frame_always_1: exit [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=15(pc) [frame] frame_unwind_register_value: -> register=15 bytes=[1c68f8b6] [frame] frame_unwind_register_value: exit [frame] frame_unwind_pc: this_frame=-1 -> 0xb6f8681c [frame] frame_unwind_find_by_frame: enter [frame] frame_unwind_find_by_frame: this_frame=0 [frame] frame_unwind_try_unwinder: trying unwinder "dummy" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 tailcall" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "inline" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "jit" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "python" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "(null)" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm stub" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "dwarf2 signal" [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm exidx" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm epilogue" [frame] frame_unwind_register_value: enter [frame] frame_unwind_register_value: frame=-1, regnum=25(cpsr) [frame] frame_unwind_register_value: -> register=25 bytes=[10000080] [frame] frame_unwind_register_value: exit [frame] frame_unwind_try_unwinder: no [frame] frame_unwind_try_unwinder: trying unwinder "arm prologue" [frame] frame_unwind_try_unwinder: yes [frame] frame_unwind_find_by_frame: exit #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 ([frame] frame_id_p: l={!stack,!code,!special} -> 0 ) from /lib/arm-linux-gnueabihf/libpthread.so.0 [frame] get_prev_frame_always_1: enter [frame] get_prev_frame_always_1: this_frame=-1 [frame] get_prev_frame_always_1: -> {level=0,type=NORMAL_FRAME,unwinder="arm prologue",pc=0xb6f8681c,id=,func=} // cached [frame] get_prev_frame_always_1: exit (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: thread 2 for debug frame check set debug frame 0 (gdb) PASS: gdb.arch/arm-pthread_cond_timedwait-bt.exp: set debug frame 0 bt #0 0xb6f8681c in pthread_cond_timedwait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6e21f80 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) FAIL: gdb.arch/arm-pthread_cond_timedwait-bt.exp: unwind of pthread_cond_timedwait testcase /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/gdb.arch/arm-pthread_cond_timedwait-bt.exp completed in 1 seconds === gdb Summary === # of expected passes 8 # of unexpected failures 2 Executing on host: /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex "set height 0" -iex "set width 0" -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory --version (timeout = 300) builtin_spawn -ignore SIGHUP /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../../gdb/gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory --version GNU gdb (GDB) 14.0.50.20230118-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/gdb version 14.0.50.20230118-git -nw -nx -iex "set height 0" -iex "set width 0" -data-directory /home/ezulu/jenkins_workspaces/rpi4-05/jkratochvil/binutils-gdb/gdb/testsuite/../data-directory runtest completed at Wed Jan 18 12:34:30 2023