[libc] [llvm] [LLVM] Make the GPU loader utilities an LLVM tool (PR #132096)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 20 13:12:56 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot2` while building `libc,llvm` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/11485

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[4788/5466] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelDAGToDAG.cpp.o
[4789/5466] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVO0PreLegalizerCombiner.cpp.o
[4790/5466] Building CXX object lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
[4791/5466] Building CXX object lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o
[4792/5466] Building CXX object lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o
[4793/5466] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPreprocessing.cpp.o
[4794/5466] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o
[4795/5466] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/Target.cpp.o
[4796/5466] Linking CXX static library lib/libLLVMRISCVInfo.a
[4797/5466] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /home/b/sanitizer-x86_64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/build_default/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -MF tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o.d -o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -c /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:28:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   28 | typedef _Complex __float128 cfloat128;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat16.h:18:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   18 | typedef _Complex _Float16 cfloat16;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
Step 8 (build compiler-rt symbolizer) failure: build compiler-rt symbolizer (failure)
...
[4788/5466] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelDAGToDAG.cpp.o
[4789/5466] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVO0PreLegalizerCombiner.cpp.o
[4790/5466] Building CXX object lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
[4791/5466] Building CXX object lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o
[4792/5466] Building CXX object lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o
[4793/5466] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPreprocessing.cpp.o
[4794/5466] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o
[4795/5466] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/Target.cpp.o
[4796/5466] Linking CXX static library lib/libLLVMRISCVInfo.a
[4797/5466] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /home/b/sanitizer-x86_64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/build_default/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -MF tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o.d -o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -c /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:28:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   28 | typedef _Complex __float128 cfloat128;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat16.h:18:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   18 | typedef _Complex _Float16 cfloat16;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
+ nm -f posix -g symbolizer.o
+ cut -f 1,2 -d ' '
+ grep -Ev '^#|^$' /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
+ sort -u
+ grep -E '^\+[^+]'
+ diff -u expected.new undefined.new
+ cp -f symbolizer.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/symbolizer/RTSanitizerCommonSymbolizerInternal.x86_64.o
+ echo 'Success!'
Success!
[3253/3619] Generating Nsan-x86_64-Test
FAILED: compiler-rt/lib/nsan/tests/Nsan-x86_64-Test /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/nsan/tests/Nsan-x86_64-Test 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/nsan/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ NsanTestObjects.NSanUnitTest.cpp.x86_64.o NsanTestObjects.nsan_unit_test_main.cpp.x86_64.o NsanTestObjects.gtest-all.cc.x86_64.o -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/nsan/tests/./Nsan-x86_64-Test -fuse-ld=lld -Wl,--color-diagnostics -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -resource-dir=/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21 -lstdc++ -fsanitize=numerical -m64
ld.lld: error: cannot open /home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.nsan.a: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[3254/3619] Generating RtsanTestObjects.rtsan_test_interceptors_posix.cpp.x86_64.o
ninja: build stopped: subcommand failed.
FAILED: runtimes/CMakeFiles/check-compiler-rt /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/CMakeFiles/check-compiler-rt 
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins && /usr/bin/cmake --build /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/ --target check-compiler-rt --config Release
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 10 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[4896/5466] Building CXX object tools/llvm-exegesis/CMakeFiles/llvm-exegesis.dir/llvm-exegesis.cpp.o
[4897/5466] Linking CXX static library lib/libLLVMRISCVInfo.a
[4898/5466] Linking CXX static library lib/libLLVMRISCVDesc.a
[4899/5466] Linking CXX static library lib/libLLVMRISCVAsmParser.a
[4900/5466] Linking CXX static library lib/libLLVMRISCVDisassembler.a
[4901/5466] Linking CXX static library lib/libLLVMRISCVTargetMCA.a
[4902/5466] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVInstructionSelector.cpp.o
[4903/5466] Linking CXX static library lib/libLLVMRISCVCodeGen.a
[4904/5466] Linking CXX static library lib/libLLVMExegesisRISCV.a
[4905/5466] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /home/b/sanitizer-x86_64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/build_default/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -MF tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o.d -o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -c /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:28:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   28 | typedef _Complex __float128 cfloat128;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat16.h:18:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   18 | typedef _Complex _Float16 cfloat16;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:237: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 4864 of 10650 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: TypeSanitizer-x86_64 :: anon-struct.c (3564 of 4864)
******************** TEST 'TypeSanitizer-x86_64 :: anon-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp >/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.tysan.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: TypeSanitizer-x86_64 :: anon-same-struct.c (3566 of 4864)
******************** TEST 'TypeSanitizer-x86_64 :: anon-same-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-same-struct.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-same-struct.c.tmp >/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-same-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-same-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.tysan.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: TypeSanitizer-x86_64 :: constexpr-subobject.cpp (3572 of 4864)
******************** TEST 'TypeSanitizer-x86_64 :: constexpr-subobject.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/constexpr-subobject.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp >/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp.out 2>&1
+ /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/constexpr-subobject.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp
ld: error: cannot open /home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.tysan.a: No such file or directory
Step 12 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[4802/5447] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/GISel/X86RegisterBankInfo.cpp.o
[4803/5447] Building CXX object lib/Target/X86/Disassembler/CMakeFiles/LLVMX86Disassembler.dir/X86Disassembler.cpp.o
[4804/5447] Linking CXX static library lib/libLLVMX86TargetMCA.a
[4805/5447] Linking CXX static library lib/libLLVMX86AsmParser.a
[4806/5447] Linking CXX static library lib/libLLVMX86CodeGen.a
[4807/5447] Linking CXX static library lib/libLLVMX86Disassembler.a
[4808/5447] Linking CXX static library lib/libclangHandleLLVM.a
[4809/5447] Linking CXX static library lib/libclangInterpreter.a
[4810/5447] Linking CXX static library lib/libLLVMExegesisX86.a
[4811/5447] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /home/b/sanitizer-x86_64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/build_default/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -MF tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o.d -o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -c /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:28:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   28 | typedef _Complex __float128 cfloat128;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat16.h:18:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   18 | typedef _Complex _Float16 cfloat16;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
Step 13 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[4822/5466] Linking CXX static library lib/libLLVMX86Disassembler.a
[4823/5466] Linking CXX static library lib/libLLVMX86TargetMCA.a
[4824/5466] Linking CXX static library lib/libLLVMX86AsmParser.a
[4825/5466] Linking CXX static library lib/libLLVMX86CodeGen.a
[4826/5466] Linking CXX static library lib/libclangInterpreter.a
[4827/5466] Linking CXX static library lib/libclangHandleLLVM.a
[4828/5466] Linking CXX static library lib/libLLVMExegesisX86.a
[4829/5466] Building RISCVGenGlobalISel.inc...
[4830/5466] Linking CXX executable bin/lli
[4831/5466] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /home/b/sanitizer-x86_64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-x86_64-linux/build/build_default/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -MF tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o.d -o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -c /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:28:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   28 | typedef _Complex __float128 cfloat128;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat16.h:18:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   18 | typedef _Complex _Float16 cfloat16;
      |         ^
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/i386-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:237: warning: Compiler lib dir != compiler-rt lib dir
Compiler libdir:     "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/i386-unknown-linux-gnu"
compiler-rt libdir:  "/home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:248: warning: COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=ON, but this test suite does not support testing the just-built runtime libraries when the test compiler is configured to use different runtime libraries. Either modify this test suite to support this test configuration, or set COMPILER_RT_TEST_STANDALONE_BUILD_LIBS=OFF to test the runtime libraries included in the compiler instead.
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/lit.common.cfg.py:259: note: Testing using libraries in "/home/b/sanitizer-x86_64-linux/build/build_default/./lib/../lib/clang/21/lib/x86_64-unknown-linux-gnu"
llvm-lit: /home/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 10667 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: TypeSanitizer-x86_64 :: anon-struct.c (8368 of 10667)
******************** TEST 'TypeSanitizer-x86_64 :: anon-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp >/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/anon-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.tysan.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: TypeSanitizer-x86_64 :: basic.c (8372 of 10667)
******************** TEST 'TypeSanitizer-x86_64 :: basic.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/basic.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/basic.c.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/basic.c.tmp 10 >/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/basic.c.tmp.out.0 2>&1
+ /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/basic.c -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/basic.c.tmp
ld: error: cannot open /home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.tysan.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

--

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: TypeSanitizer-x86_64 :: constexpr-subobject.cpp (8373 of 10667)
******************** TEST 'TypeSanitizer-x86_64 :: constexpr-subobject.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/constexpr-subobject.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp &&  /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp >/home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp.out 2>&1
+ /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/tysan/constexpr-subobject.cpp -o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/X86_64Config/Output/constexpr-subobject.cpp.tmp
ld: error: cannot open /home/b/sanitizer-x86_64-linux/build/build_default/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.tysan.a: No such file or directory

```

</details>

https://github.com/llvm/llvm-project/pull/132096


More information about the llvm-commits mailing list