Created attachment 786077 [details] sys-libs:compiler-rt-sanitizers-14.0.4:20220616-022246.log.gz =sys-libs/compiler-rt-sanitizers-14.0.4 fails its test phase, with as far as I can tell, a single test failure: in $WORKDIR/compiler-rt_build/test/CMakeFiles/check-compiler-rt, "GWP-ASan-x86_64 :: backtrace.c". Here's the relevant excerpt from the build log (attached compressed): FAIL: GWP-ASan-x86_64 :: backtrace.c (2877 of 8738) ******************** TEST 'GWP-ASan-x86_64 :: backtrace.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/lib/ll vm/14/bin/clang -m64 -rdynamic -pthread -Wl,--whole-archive /var/tmp/portage/sys-libs/compiler-rt-sanitizer s-14.0.4/work/compiler-rt_build/lib/clang/14.0.4/lib/linux/libclang_rt.scudo_standalone-x86_64.a -Wl,--no-whol e-archive -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer /var/tmp/portage/sys-libs/compiler-rt-sanitizer s-14.0.4/work/compiler-rt/test/gwp_asan/backtrace.c -g -o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14. 0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp : 'RUN: at line 3'; not --crash /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_bui ld/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp 2>&1 | FileCheck /var/tmp/portage/sys-libs/compiler- rt-sanitizers-14.0.4/work/compiler-rt/test/gwp_asan/backtrace.c : 'RUN: at line 7'; /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/lib/ll vm/14/bin/clang -m64 -rdynamic -pthread -Wl,--whole-archive /var/tmp/portage/sys-libs/compiler-rt-sanitizer s-14.0.4/work/compiler-rt_build/lib/clang/14.0.4/lib/linux/libclang_rt.scudo_standalone-x86_64.a -Wl,--no-whol e-archive -fomit-frame-pointer -momit-leaf-frame-pointer /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0 .4/work/compiler-rt/test/gwp_asan/backtrace.c -g -o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/wo rk/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp : 'RUN: at line 8'; not --crash /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_bui ld/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp -- Exit Code: 1 Command Output (stderr): -- + : 'RUN: at line 2' + /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/lib/llvm/14/bin/clang -m64 -r dynamic -pthread -Wl,--whole-archive /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_ build/lib/clang/14.0.4/lib/linux/libclang_rt.scudo_standalone-x86_64.a -Wl,--no-whole-archive -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt/test/gwp_asan/backtrace.c -g -o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp + : 'RUN: at line 3' + FileCheck /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt/test/gwp_asan/backtrace.c + not --crash /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt/test/gwp_asan/backtrace.c:26:11: error: CHECK: expected string not found in input // CHECK: free_mem ^ <stdin>:12:31: note: scanning from here 0x7fc4e0e05000 was deallocated by thread 18134 here: ^ <stdin>:25:6: note: possible intended match here error: Segmentation fault ^ Input file: <stdin> Check file: /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt/test/gwp_asan/backtrace.c -dump-input=help explains the following input dump. Input was: <<<<<< . . . 7: #4 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(main+0x3e) [0x557d5c6a819e] 8: #5 /lib64/libc.so.6(+0x29246) [0x7fc4e0c1b246] 9: #6 /lib64/libc.so.6(__libc_start_main+0x82) [0x7fc4e0c1b302] 10: #7 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(_start+0x21) [0x557d5c69d2e1] 11: 12: 0x7fc4e0e05000 was deallocated by thread 18134 here: check:26'0 X~~~~~~~~~~~~~~~~~~~~~~ error: no match found 13: #0 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(+0x3649) [0x557d5c69e649] check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #1 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(+0x247c) [0x557d5c69d47c] check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #2 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(+0x3397) [0x557d5c69e397] check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #3 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(+0x7d6a) [0x557d5c6a2d6a] check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: check:26'0 ~ . . . 20: #1 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(+0x247c) [0x557d5c69d47c] check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #2 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(+0x31a9) [0x557d5c69e1a9] check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22: #3 /var/tmp/portage/sys-libs/compiler-rt-sanitizers-14.0.4/work/compiler-rt_build/test/gwp_asan/X86_64LinuxConfig/Output/backtrace.c.tmp(+0x7ae0) [0x557d5c6a2ae0] check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23: check:26'0 ~ 24: *** End GWP-ASan report *** check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25: error: Segmentation fault check:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:26'1 ? possible intended match >>>>>> -- ********************
Created attachment 786080 [details] emerge-info.txt
I'm still/also seeing this same test failing in version 15.0.3. I also notice in dmesg a large number of lines like "[18919551.656752] traps: simple-fail.cpp[26986] trap invalid opcode ip:55ea9c303805 sp:7ffe314cb8e0 error:0 in simple-fail.cpp.tmp9[55ea9c303000+1000]"; I don't know whether they're related to this test, one of the several that "expectedly failed", or something else entirely.
Again still/also seeing this test failing in version 18.1.8-r1, with "trap invalid opcode" lines like "traps: bounds.cpp.tmp[13788] trap invalid opcode ip:567184ab sp:ff812560 error:0 in bounds.cpp.tmp[56639000+e0000]".