ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) -- Testing: 15583 tests, 8 workers -- Testing: llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:449: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:409: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:449: 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:449: 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:449: 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:449: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld FAIL: Clang :: Driver/lld-repro.c (1 of 15583) ******************** TEST 'Clang :: Driver/lld-repro.c' FAILED ******************** Script: -- : 'RUN: at line 3'; not /Users/thakis/src/llvm-project/out/gn/bin/clang /Users/thakis/src/llvm-project/clang/test/Driver/lld-repro.c -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/lld-repro.c.tmp -fcrash-diagnostics=all 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/lld-repro.c : 'RUN: at line 16'; not /Users/thakis/src/llvm-project/out/gn/bin/clang /Users/thakis/src/llvm-project/clang/test/Driver/lld-repro.c -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/lld-repro.c.tmp -fcrash-diagnostics=compiler 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/lld-repro.c --check-prefix=NO-LINKER : 'RUN: at line 18'; not /Users/thakis/src/llvm-project/out/gn/bin/clang /Users/thakis/src/llvm-project/clang/test/Driver/lld-repro.c -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/lld-repro.c.tmp 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/lld-repro.c --check-prefix=NO-LINKER -- Exit Code: 1 Command Output (stderr): -- /Users/thakis/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: /Users/thakis/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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: Driver/lld-repro.c Testing Time: 283.49s Skipped : 32 Unsupported : 92 Passed : 30954 Expectedly Failed: 31 Failed : 1 FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Traceback (most recent call last): File "../hack/llvmgnsyncbot/syncbot.py", line 228, in sys.exit(main()) File "../hack/llvmgnsyncbot/syncbot.py", line 223, in main run(args.last_exit) File "../hack/llvmgnsyncbot/syncbot.py", line 186, in run subprocess.check_call(['ninja', '-C', 'out/gn', test]) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.