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: 21671 tests, 64 workers -- Testing: FAIL: Clang :: Headers/gpuintrin_lang.c (1 of 21671) ******************** TEST 'Clang :: Headers/gpuintrin_lang.c' FAILED ******************** Exit Code: 2 Command Output (stderr): -- RUN: at line 2: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple nvptx64 -emit-llvm /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=CUDA RUN: at line 8: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple amdgcn -emit-llvm /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=HIP + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/cuda_wrappers -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/ -fcuda-is-device -triple amdgcn -emit-llvm /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=HIP RUN: at line 14: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/ -cl-std=CL3.0 -triple amdgcn -emit-llvm /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - | /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=OPENCL + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=OPENCL + /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include -nostdsysteminc -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/Inputs/include -internal-isystem /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/../../lib/Headers/ -cl-std=CL3.0 -triple amdgcn -emit-llvm /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c -o - In file included from /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c:31: In file included from /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include/gpuintrin.h:31: /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include/amdgpuintrin.h:164:50: error: casting '__private void *' to type '__gpu_generic void *' changes address space of pointer 164 | (void __attribute__((address_space(0))) *)((void __gpu_generic *)ptr)); | ^ ~~~ /usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/20/include/amdgpuintrin.h:170:50: error: casting '__private void *' to type '__gpu_generic void *' changes address space of pointer 170 | (void __attribute__((address_space(0))) *)((void __gpu_generic *)ptr)); | ^ ~~~ 2 errors generated. FileCheck error: '' is empty. FileCheck command line: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/FileCheck /usr/local/google/home/thakis/src/llvm-project/clang/test/Headers/gpuintrin_lang.c --check-prefix=OPENCL -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang :: Headers/gpuintrin_lang.c Testing Time: 135.92s Total Discovered Tests: 45918 Skipped : 4 (0.01%) Unsupported : 105 (0.23%) Passed : 45778 (99.70%) Expectedly Failed: 30 (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.