ninja: Entering directory `out/gn' [0/1] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /Users/thakis/src/llvm-project/out/gn/bin:/Users/thakis/src/llvm-project/out/gn/bin llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:468: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: 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:530: 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:530: 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:530: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 22519 tests, 8 workers -- Testing: FAIL: Clang :: CodeGen/PowerPC/builtins-ppc-p7.c (1 of 22519) ******************** TEST 'Clang :: CodeGen/PowerPC/builtins-ppc-p7.c' FAILED ******************** Exit Code: 2 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple powerpc64-unknown-unknown -target-cpu pwr7 -emit-llvm /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-p7.c -o - | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-p7.c # RUN: at line 2 + /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple powerpc64-unknown-unknown -target-cpu pwr7 -emit-llvm /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-p7.c -o - + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-p7.c /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-p7.c:49:10: error: '__builtin_bpermd' needs target feature bpermd 49 | return __builtin_bpermd(a, b); | ^ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-p7.c -- ******************** Testing: FAIL: Clang :: CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c (2 of 22519) ******************** TEST 'Clang :: CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c' FAILED ******************** Exit Code: 2 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple powerpc64-unknown-linux-gnu -emit-llvm /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c -o - -target-cpu pwr7 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c --check-prefixes=64BIT --check-prefix=BOTH # RUN: at line 2 + /Users/thakis/src/llvm-project/out/gn/bin/clang -cc1 -internal-isystem /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include -nostdsysteminc -triple powerpc64-unknown-linux-gnu -emit-llvm /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c -o - -target-cpu pwr7 + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c --check-prefixes=64BIT --check-prefix=BOTH /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c:85:10: error: '__builtin_bpermd' needs target feature bpermd 85 | return __bpermd(bit_selector, source); | ^ :444:18: note: expanded from macro '__bpermd' 444 | #define __bpermd __builtin_bpermd | ^ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c --check-prefixes=64BIT --check-prefix=BOTH -- ******************** Testing: FAIL: Clang :: CodeGen/PowerPC/ppc-x86gprintrin.c (3 of 22519) ******************** TEST 'Clang :: CodeGen/PowerPC/ppc-x86gprintrin.c' FAILED ******************** Exit Code: 2 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -S -emit-llvm -target powerpc64le-unknown-linux-gnu -mcpu=pwr7 -ffreestanding -DNO_WARN_X86_INTRINSICS /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-x86gprintrin.c -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt -n | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-x86gprintrin.c # RUN: at line 2 + /Users/thakis/src/llvm-project/out/gn/bin/clang -S -emit-llvm -target powerpc64le-unknown-linux-gnu -mcpu=pwr7 -ffreestanding -DNO_WARN_X86_INTRINSICS /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-x86gprintrin.c -fno-discard-value-names -mllvm -disable-llvm-optzns -o - + llvm-cxxfilt -n + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-x86gprintrin.c In file included from /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-x86gprintrin.c:18: In file included from /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include/ppc_wrappers/x86gprintrin.h:15: /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include/ppc_wrappers/bmi2intrin.h:97:16: error: '__builtin_bpermd' needs target feature bpermd 97 | __result = __builtin_bpermd(__p, __X); | ^ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-x86gprintrin.c -- ******************** Testing: FAIL: Clang :: CodeGen/PowerPC/ppc-xmmintrin.c (4 of 22519) ******************** TEST 'Clang :: CodeGen/PowerPC/ppc-xmmintrin.c' FAILED ******************** Exit Code: 2 Command Output (stderr): -- /Users/thakis/src/llvm-project/out/gn/bin/clang -S -emit-llvm -target powerpc64-unknown-linux-gnu -mcpu=pwr8 -ffreestanding -DNO_WARN_X86_INTRINSICS /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-xmmintrin.c -ffp-contract=off -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt -n | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-xmmintrin.c --check-prefixes=CHECK,CHECK-BE # RUN: at line 3 + /Users/thakis/src/llvm-project/out/gn/bin/clang -S -emit-llvm -target powerpc64-unknown-linux-gnu -mcpu=pwr8 -ffreestanding -DNO_WARN_X86_INTRINSICS /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-xmmintrin.c -ffp-contract=off -fno-discard-value-names -mllvm -disable-llvm-optzns -o - + llvm-cxxfilt -n + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-xmmintrin.c --check-prefixes=CHECK,CHECK-BE In file included from /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-xmmintrin.c:31: /Users/thakis/src/llvm-project/out/gn/lib/clang/22/include/ppc_wrappers/xmmintrin.h:1547:10: error: '__builtin_bpermd' needs target feature bpermd 1547 | return __builtin_bpermd(__p, __A); | ^ 1 error generated. FileCheck error: '' is empty. FileCheck command line: /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/CodeGen/PowerPC/ppc-xmmintrin.c --check-prefixes=CHECK,CHECK-BE -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (4): Clang :: CodeGen/PowerPC/builtins-ppc-p7.c Clang :: CodeGen/PowerPC/builtins-ppc-xlcompat-macros.c Clang :: CodeGen/PowerPC/ppc-x86gprintrin.c Clang :: CodeGen/PowerPC/ppc-xmmintrin.c Testing Time: 501.70s Total Discovered Tests: 48374 Skipped : 36 (0.07%) Unsupported : 526 (1.09%) Passed : 47776 (98.76%) Expectedly Failed: 32 (0.07%) Failed : 4 (0.01%) 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.