ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 21823 tests, 64 workers -- Testing: FAIL: Clang :: Driver/ohos.c (1 of 21823) ******************** TEST 'Clang :: Driver/ohos.c' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### -no-canonical-prefixes --target=arm-liteos -resource-dir=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/llvm/lib/clang/x.y.z --sysroot=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/sysroot -fuse-ld=ld -march=armv7-a 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,CHECK-ARM /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### -no-canonical-prefixes --target=arm-liteos -resource-dir=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/llvm/lib/clang/x.y.z --sysroot=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/sysroot -fuse-ld=ld -march=armv7-a + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,CHECK-ARM /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c RUN: at line 5: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### -no-canonical-prefixes --target=arm-liteos -resource-dir=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/llvm/lib/clang/x.y.z --sysroot=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/sysroot -fuse-ld=ld -march=armv7-a -mcpu=cortex-a7 -mfloat-abi=soft 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,CHECK-ARM-A7-SOFT /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### -no-canonical-prefixes --target=arm-liteos -resource-dir=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/llvm/lib/clang/x.y.z --sysroot=/usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/Inputs/ohos_native_tree/sysroot -fuse-ld=ld -march=armv7-a -mcpu=cortex-a7 -mfloat-abi=soft + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,CHECK-ARM-A7-SOFT /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c RUN: at line 34: not /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-liteos -rtlib=libgcc 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RTLIB + not /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-liteos -rtlib=libgcc + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RTLIB RUN: at line 38: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-liteos -static -fuse-ld=ld 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-STATIC + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-liteos -static -fuse-ld=ld + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-STATIC RUN: at line 45: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-liteos -shared -fuse-ld=ld 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-SHARED + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-liteos -shared -fuse-ld=ld + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-SHARED RUN: at line 52: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-linux-ohos -fuse-ld=ld 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=arm-linux-ohos -fuse-ld=ld + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME RUN: at line 54: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=aarch64-linux-ohos -fuse-ld=ld 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=aarch64-linux-ohos -fuse-ld=ld + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME RUN: at line 56: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=mipsel-linux-ohos -fuse-ld=ld 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=mipsel-linux-ohos -fuse-ld=ld + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME RUN: at line 58: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=x86_64-linux-ohos -fuse-ld=ld 2>&1 | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -### --target=x86_64-linux-ohos -fuse-ld=ld + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -check-prefix=CHECK-RUNTIME /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c:60:19: error: CHECK-RUNTIME: expected string not found in input // CHECK-RUNTIME: "{{.*}}libclang_rt.builtins.a" ^ :1:1: note: scanning from here clang version 20.0.0 ^ :7:405: note: possible intended match here "/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld" "-z" "now" "-z" "relro" "-z" "max-page-size=4096" "--hash-style=both" "--enable-new-dtags" "--eh-frame-hdr" "-m" "elf_x86_64" "-pie" "-dynamic-linker" "/lib/ld-musl-x86_64.so.1" "-o" "a.out" "Scrt1.o" "crti.o" "crtbeginS.o" "/tmp/lit-tmp-40hn7789/ohos-b02759.o" "/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a" "-l:libunwind.a" "-lc" "/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a" "-l:libunwind.a" "crtendS.o" "crtn.o" ^ Input file: Check file: /usr/local/google/home/thakis/src/llvm-project/clang/test/Driver/ohos.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: clang version 20.0.0 check:60'0 X~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Target: x86_64-unknown-linux-ohos check:60'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Thread model: posix check:60'0 ~~~~~~~~~~~~~~~~~~~~ 4: InstalledDir: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin check:60'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Build config: +assertions check:60'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: "/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "x86_64-unknown-linux-ohos" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "ohos.c" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-fcoverage-compilation-dir=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-resource-dir" "/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-ohos" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-ferror-limit" "19" "-femulated-tls" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-faddr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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: "/usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld" "-z" "now" "-z" "relro" "-z" "max-page-size=4096" "--hash-style=both" "--enable-new-dtags" "--eh-frame-hdr" "-m" "elf_x86_64" "-pie" "-dynamic-linker" "/lib/ld-musl-x86_64.so.1" "-o" "a.out" "Scrt1.o" "crti.o" "crtbeginS.o" "/tmp/lit-tmp-40hn7789/ohos-b02759.o" "/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a" "-l:libunwind.a" "-lc" "/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a" "-l:libunwind.a" "crtendS.o" "crtn.o" check:60'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:60'1 ? possible intended match >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: Driver/ohos.c Testing Time: 126.40s Total Discovered Tests: 46114 Skipped : 4 (0.01%) Unsupported : 106 (0.23%) Passed : 45971 (99.69%) Expectedly Failed: 32 (0.07%) Failed : 1 (0.00%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.