ninja: Entering directory `out/gn' [0/2] ACTION //lld/test:check-lld(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 3070 tests, 8 workers -- Testing: 0.. 10. FAIL: lld :: ELF/riscv-attributes.s (32 of 3070) ******************** TEST 'lld :: ELF/riscv-attributes.s' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 3: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp && split-file /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp && cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp + split-file /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp + cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/riscv-attributes.s.tmp RUN: at line 4: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv64 a.s -o a.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv64 a.s -o a.o RUN: at line 5: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld -e 0 a.o -o out 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/count 0 + /Users/thakis/src/llvm-project/out/gn/bin/count 0 + /Users/thakis/src/llvm-project/out/gn/bin/ld.lld -e 0 a.o -o out RUN: at line 6: /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf -S -l --arch-specific out | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s --check-prefixes=HDR,CHECK + /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf -S -l --arch-specific out + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s --check-prefixes=HDR,CHECK /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s:107:8: error: HDR: expected string not found in input # HDR: .riscv.attributes RISCV_ATTRIBUTES 0000000000000000 000158 00005a 00 0 0 1{{$}} ^ :4:50: note: scanning from here [Nr] Name Type Address Off Size ES Flg Lk Inf Al ^ :7:7: note: possible intended match here [ 2] .riscv.attributes RISCV_ATTRIBUTES 0000000000000000 000158 000068 00 0 0 1 ^ Input file: Check file: /Users/thakis/src/llvm-project/lld/test/ELF/riscv-attributes.s -dump-input=help explains the following input dump. Input was: <<<<<< 1: There are 7 section headers, starting at offset 0x238: 2: 3: Section Headers: 4: [Nr] Name Type Address Off Size ES Flg Lk Inf Al check:107'0 X error: no match found 5: [ 0] NULL 0000000000000000 000000 000000 00 0 0 0 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: [ 1] .text PROGBITS 0000000000011158 000158 000000 00 AX 0 0 4 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: [ 2] .riscv.attributes RISCV_ATTRIBUTES 0000000000000000 000158 000068 00 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:107'1 ? possible intended match 8: [ 3] .comment PROGBITS 0000000000000000 0001c0 000008 01 MS 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: [ 4] .symtab SYMTAB 0000000000000000 0001c8 000030 18 6 2 8 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: [ 5] .shstrtab STRTAB 0000000000000000 0001f8 00003c 00 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: [ 6] .strtab STRTAB 0000000000000000 000234 000004 00 0 0 1 check:107'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: Key to Flags: check:107'0 ~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80 FAIL: lld :: ELF/lto/riscv-attributes.ll (1596 of 3070) ******************** TEST 'lld :: ELF/lto/riscv-attributes.ll' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 3: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp && split-file /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp && cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp + split-file /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp + cd /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/lto/Output/riscv-attributes.ll.tmp RUN: at line 4: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 1.s -o 1.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 1.s -o 1.o RUN: at line 5: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 2.s -o 2.o + /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=riscv32 2.s -o 2.o RUN: at line 6: /Users/thakis/src/llvm-project/out/gn/bin/llvm-as a.ll -o a.bc + /Users/thakis/src/llvm-project/out/gn/bin/llvm-as a.ll -o a.bc RUN: at line 7: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld 1.o 2.o a.bc -o out + /Users/thakis/src/llvm-project/out/gn/bin/ld.lld 1.o 2.o a.bc -o out RUN: at line 8: /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf --arch-specific out | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll + /Users/thakis/src/llvm-project/out/gn/bin/llvm-readelf --arch-specific out + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll:13:15: error: CHECK-NEXT: expected string not found in input ; CHECK-NEXT: SectionLength: 98 ^ :3:13: note: scanning from here Section 1 { ^ :4:2: note: possible intended match here SectionLength: 119 ^ Input file: Check file: /Users/thakis/src/llvm-project/lld/test/ELF/lto/riscv-attributes.ll -dump-input=help explains the following input dump. Input was: <<<<<< 1: BuildAttributes { 2: FormatVersion: 0x41 3: Section 1 { next:13'0 X error: no match found 4: SectionLength: 119 next:13'0 ~~~~~~~~~~~~~~~~~~~~ next:13'1 ? possible intended match 5: Vendor: riscv next:13'0 ~~~~~~~~~~~~~~~ 6: Tag: Tag_File (0x1) next:13'0 ~~~~~~~~~~~~~~~~~~~~~ 7: Size: 109 next:13'0 ~~~~~~~~~~~ 8: FileAttributes { next:13'0 ~~~~~~~~~~~~~~~~~~ 9: Attribute { next:13'0 ~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (2): lld :: ELF/lto/riscv-attributes.ll lld :: ELF/riscv-attributes.s Testing Time: 61.77s Total Discovered Tests: 3070 Unsupported : 25 (0.81%) Passed : 3042 (99.09%) Expectedly Failed: 1 (0.03%) Failed : 2 (0.07%) FAILED: gen/lld/test/run-lit python3 bin/llvm-lit -sv ../../lld/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-lld']' returned non-zero exit status 1.