ninja: Entering directory `out/gn' [0/1] 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:527: 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:527: 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:527: 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:527: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 3136 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. FAIL: lld :: ELF/weak-undef-lib.s (643 of 3136) ******************** TEST 'lld :: ELF/weak-undef-lib.s' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 2 /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux /Users/thakis/src/llvm-project/lld/test/ELF/weak-undef-lib.s -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-undef-lib.s.tmp1.o # executed command: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux /Users/thakis/src/llvm-project/lld/test/ELF/weak-undef-lib.s -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-undef-lib.s.tmp1.o # RUN: at line 3 echo -e '.globl foo\nfoo: ret' | /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-undef-lib.s.tmp2.o # executed command: echo -e '.globl foo\nfoo: ret' # executed command: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-undef-lib.s.tmp2.o # .---command stderr------------ # | :1:1: error: unexpected token at start of statement # | -e .globl foo\nfoo: ret # | ^ # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. FAIL: lld :: COFF/reloc-discarded.s (1043 of 3136) ******************** TEST 'lld :: COFF/reloc-discarded.s' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 2 echo -e '.section .bss,"bw",discard,main_global\n.global main_global\n main_global:\n .long 0' | /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc - -filetype=obj -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/COFF/Output/reloc-discarded.s.tmp1.obj -triple x86_64-windows-msvc # executed command: echo -e '.section .bss,"bw",discard,main_global\n.global main_global\n main_global:\n .long 0' # executed command: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc - -filetype=obj -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/COFF/Output/reloc-discarded.s.tmp1.obj -triple x86_64-windows-msvc # .---command stderr------------ # | :1:1: error: unexpected token at start of statement # | -e .section .bss,"bw",discard,main_global\n.global main_global\n main_global:\n .long 0 # | ^ # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80 FAIL: lld :: ELF/weak-shared-gc.s (1718 of 3136) ******************** TEST 'lld :: ELF/weak-shared-gc.s' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 2 /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux /Users/thakis/src/llvm-project/lld/test/ELF/weak-shared-gc.s -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-shared-gc.s.tmp1.o # executed command: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux /Users/thakis/src/llvm-project/lld/test/ELF/weak-shared-gc.s -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-shared-gc.s.tmp1.o # RUN: at line 3 echo -e '.globl __cxa_finalize\n__cxa_finalize:' | /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-shared-gc.s.tmp2.o # executed command: echo -e '.globl __cxa_finalize\n__cxa_finalize:' # executed command: /Users/thakis/src/llvm-project/out/gn/bin/llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o /Users/thakis/src/llvm-project/out/gn/obj/lld/test/ELF/Output/weak-shared-gc.s.tmp2.o # .---command stderr------------ # | :1:1: error: unexpected token at start of statement # | -e .globl __cxa_finalize\n__cxa_finalize: # | ^ # `----------------------------- # error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (3): lld :: COFF/reloc-discarded.s lld :: ELF/weak-shared-gc.s lld :: ELF/weak-undef-lib.s Testing Time: 45.29s Total Discovered Tests: 3136 Unsupported : 25 (0.80%) Passed : 3107 (99.08%) Expectedly Failed: 1 (0.03%) Failed : 3 (0.10%) 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.