ninja: Entering directory `out/gn' [1/11] LINK ./bin/llvm-ar.exe [2/11] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:win) [3/11] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:win) [4/11] STAMP obj/llvm/tools/llvm-ar/llvm-lib.stamp [5/11] STAMP obj/llvm/tools/llvm-ar/llvm-ranlib.stamp [6/11] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:win) [7/11] STAMP obj/llvm/tools/llvm-ar/llvm-dlltool.stamp [8/11] STAMP obj/llvm/tools/llvm-ar/symlinks.stamp [9/11] STAMP obj/clang/test/test.stamp [9/11] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:win) llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:46: note: using lit tools: C:\src\depot_tools\win_tools-2_7_6_bin2\git\usr\bin llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:449: note: using clang: c:\src\llvm-project\out\gn\bin\clang.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:449: note: using ld.lld: c:\src\llvm-project\out\gn\bin\ld.lld.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:449: note: using lld-link: c:\src\llvm-project\out\gn\bin\lld-link.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:449: note: using ld64.lld: c:\src\llvm-project\out\gn\bin\ld64.lld.exe llvm-lit.py: C:\src\llvm-project\llvm\utils\lit\lit\llvm\config.py:449: note: using wasm-ld: c:\src\llvm-project\out\gn\bin\wasm-ld.exe -- Testing: 16365 tests, 48 workers -- Testing: FAIL: Clang :: Driver/lld-repro.c (1 of 16365) ******************** TEST 'Clang :: Driver/lld-repro.c' FAILED ******************** Script: -- : 'RUN: at line 3'; not c:\src\llvm-project\out\gn\bin\clang.exe C:\src\llvm-project\clang\test\Driver\lld-repro.c -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=C:\src\llvm-project\out\gn\obj\clang\test\Driver\Output\lld-repro.c.tmp -fcrash-diagnostics=all 2>&1 | c:\src\llvm-project\out\gn\bin\filecheck.exe C:\src\llvm-project\clang\test\Driver\lld-repro.c : 'RUN: at line 16'; not c:\src\llvm-project\out\gn\bin\clang.exe C:\src\llvm-project\clang\test\Driver\lld-repro.c -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=C:\src\llvm-project\out\gn\obj\clang\test\Driver\Output\lld-repro.c.tmp -fcrash-diagnostics=compiler 2>&1 | c:\src\llvm-project\out\gn\bin\filecheck.exe C:\src\llvm-project\clang\test\Driver\lld-repro.c --check-prefix=NO-LINKER : 'RUN: at line 18'; not c:\src\llvm-project\out\gn\bin\clang.exe C:\src\llvm-project\clang\test\Driver\lld-repro.c -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=C:\src\llvm-project\out\gn\obj\clang\test\Driver\Output\lld-repro.c.tmp 2>&1 | c:\src\llvm-project\out\gn\bin\filecheck.exe C:\src\llvm-project\clang\test\Driver\lld-repro.c --check-prefix=NO-LINKER -- Exit Code: 1 Command Output (stdout): -- $ ":" "RUN: at line 3" $ "not" "c:\src\llvm-project\out\gn\bin\clang.exe" "C:\src\llvm-project\clang\test\Driver\lld-repro.c" "-target" "x86_64-linux" "-fuse-ld=lld" "-gen-reproducer=error" "-fcrash-diagnostics-dir=C:\src\llvm-project\out\gn\obj\clang\test\Driver\Output\lld-repro.c.tmp" "-fcrash-diagnostics=all" $ "c:\src\llvm-project\out\gn\bin\filecheck.exe" "C:\src\llvm-project\clang\test\Driver\lld-repro.c" # command stderr: C:\src\llvm-project\clang\test\Driver\lld-repro.c:7:11: error: CHECK: expected string not found in input // CHECK: error: undefined symbol: a ^ :1:1: note: scanning from here ld.lld: error: cannot open Scrt1.o: no such file or directory ^ :4:9: note: possible intended match here ld.lld: error: unable to find library -lgcc ^ Input file: Check file: C:\src\llvm-project\clang\test\Driver\lld-repro.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: ld.lld: error: cannot open Scrt1.o: no such file or directory check:7'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: ld.lld: error: cannot open crti.o: no such file or directory check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: ld.lld: error: cannot open crtbeginS.o: no such file or directory check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: ld.lld: error: unable to find library -lgcc check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:7'1 ? possible intended match 5: ld.lld: error: unable to find library -lgcc_s check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: ld.lld: error: unable to find library -lc check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: ld.lld: error: unable to find library -lgcc check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: ld.lld: error: unable to find library -lgcc_s check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: ld.lld: error: cannot open crtendS.o: no such file or directory check:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> error: command failed with exit status: 1 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: Driver/lld-repro.c Testing Time: 417.81s Skipped : 31 Unsupported : 230 Passed : 30724 Expectedly Failed: 33 Failed : 1 FAILED: gen/clang/test/run-lit python3 bin/llvm-lit.py -sv ../../clang/test ninja: build stopped: subcommand failed. Traceback (most recent call last): File "../hack/llvmgnsyncbot/syncbot.py", line 230, in sys.exit(main()) File "../hack/llvmgnsyncbot/syncbot.py", line 225, in main run(args.last_exit) File "../hack/llvmgnsyncbot/syncbot.py", line 188, in run subprocess.check_call(['ninja', '-C', 'out/gn', test]) File "C:\python_27_amd64\files\lib\subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1