Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LLVM] Make the GPU loader utilities an LLVM tool #132096

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

jhuber6
Copy link
Contributor

@jhuber6 jhuber6 commented Mar 19, 2025

Summary:
These tools amdhsa-loader and nvptx-loader are used to execute unit
tests directly on the GPU. We use this for libc and libcxx unit
tests as well as general GPU experimentation. It looks like this.

> clang++ main.cpp --target=amdgcn-amd-amdhsa -mcpu=native -flto -lc ./lib/amdgcn-amd-amdhsa/crt1.o
> llvm-gpu-loader a.out
Hello World!

Currently these are a part of the libc project, but this creates
issues as libc itself depends on them to run tests. Right now we get
around this by force-including the libc project prior to running the
runtimes build so that this dependency can be built first. We should
instead just make this a simple LLVM tool so it's always available.

This has the effect of installing these by default now instead of just
when libc was enabled, but they should be relatively small. Right now
this only supports a 'static' configuration. That is, we locate the CUDA
and HSA dependencies at LLVM compile time. In the future we should be
able to provide this by default using dlopen and some API.

I don't know if it's required to reformat all of these names since they
used the libc naming convention so I just left it for now.

Summary:
These tools `amdhsa-loader` and `nvptx-loader` are used to execute unit
tests directly on the GPU. We use this for `libc` and `libcxx` unit
tests as well as general GPU experimentation. It looks like this.

```console
> clang++ main.cpp --target=amdgcn-amd-amdhsa -mcpu=native -flto -lc ./lib/amdgcn-amd-amdhsa/crt1.o
> llvm-gpu-loader a.out
Hello World!
```

Currently these are a part of the `libc` project, but this creates
issues as `libc` itself depends on them to run tests. Right now we get
around this by force-including the `libc` project prior to running the
runtimes build so that this dependency can be built first. We should
instead just make this a simple LLVM tool so it's always available.

This has the effect of installing these by default now instead of just
when `libc` was enabled, but they should be relatively small. Right now
this only supports a 'static' configuration. That is, we locate the CUDA
and HSA dependencies at LLVM compile time. In the future we should be
able to provide this by default using `dlopen` and some API.

I don't know if it's required to reformat all of these names since they
used the `libc` naming convention so I just left it for now.
@llvmbot
Copy link
Member

llvmbot commented Mar 19, 2025

@llvm/pr-subscribers-backend-nvptx
@llvm/pr-subscribers-backend-amdgpu

@llvm/pr-subscribers-libc

Author: Joseph Huber (jhuber6)

Changes

Summary:
These tools amdhsa-loader and nvptx-loader are used to execute unit
tests directly on the GPU. We use this for libc and libcxx unit
tests as well as general GPU experimentation. It looks like this.

> clang++ main.cpp --target=amdgcn-amd-amdhsa -mcpu=native -flto -lc ./lib/amdgcn-amd-amdhsa/crt1.o
> llvm-gpu-loader a.out
Hello World!

Currently these are a part of the libc project, but this creates
issues as libc itself depends on them to run tests. Right now we get
around this by force-including the libc project prior to running the
runtimes build so that this dependency can be built first. We should
instead just make this a simple LLVM tool so it's always available.

This has the effect of installing these by default now instead of just
when libc was enabled, but they should be relatively small. Right now
this only supports a 'static' configuration. That is, we locate the CUDA
and HSA dependencies at LLVM compile time. In the future we should be
able to provide this by default using dlopen and some API.

I don't know if it's required to reformat all of these names since they
used the libc naming convention so I just left it for now.


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

12 Files Affected:

  • (modified) libc/CMakeLists.txt (-7)
  • (removed) libc/utils/gpu/CMakeLists.txt (-1)
  • (removed) libc/utils/gpu/loader/CMakeLists.txt (-54)
  • (removed) libc/utils/gpu/loader/amdgpu/CMakeLists.txt (-10)
  • (removed) libc/utils/gpu/loader/nvptx/CMakeLists.txt (-9)
  • (modified) llvm/CMakeLists.txt (-4)
  • (modified) llvm/runtimes/CMakeLists.txt (-14)
  • (added) llvm/tools/llvm-gpu-loader/CMakeLists.txt (+45)
  • (renamed) llvm/tools/llvm-gpu-loader/amdhsa.cpp (+4-4)
  • (renamed) llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp (+39-7)
  • (renamed) llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h (+10-3)
  • (renamed) llvm/tools/llvm-gpu-loader/nvptx.cpp (+4-4)
diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt
index ad39ff6fbcb1e..b264dcb4974c7 100644
--- a/libc/CMakeLists.txt
+++ b/libc/CMakeLists.txt
@@ -59,13 +59,6 @@ set(LIBC_NAMESPACE ${default_namespace}
   CACHE STRING "The namespace to use to enclose internal implementations. Must start with '__llvm_libc'."
 )
 
-# We will build the GPU utilities if we are not doing a runtimes build.
-option(LIBC_BUILD_GPU_LOADER "Always build the GPU loader utilities" OFF)
-if(LIBC_BUILD_GPU_LOADER OR ((NOT LLVM_RUNTIMES_BUILD) AND LLVM_LIBC_GPU_BUILD))
-  add_subdirectory(utils/gpu)
-  return()
-endif()
-
 option(LIBC_CMAKE_VERBOSE_LOGGING
   "Log details warnings and notifications during CMake configuration." OFF)
 
diff --git a/libc/utils/gpu/CMakeLists.txt b/libc/utils/gpu/CMakeLists.txt
deleted file mode 100644
index e529646a1206e..0000000000000
--- a/libc/utils/gpu/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(loader)
diff --git a/libc/utils/gpu/loader/CMakeLists.txt b/libc/utils/gpu/loader/CMakeLists.txt
deleted file mode 100644
index 9b3bd009dc0f1..0000000000000
--- a/libc/utils/gpu/loader/CMakeLists.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-add_library(gpu_loader OBJECT Main.cpp)
-
-include(FindLibcCommonUtils)
-target_link_libraries(gpu_loader PUBLIC llvm-libc-common-utilities)
-
-target_include_directories(gpu_loader PUBLIC
-  ${CMAKE_CURRENT_SOURCE_DIR}
-  ${LIBC_SOURCE_DIR}/include
-  ${LIBC_SOURCE_DIR}
-  ${LLVM_MAIN_INCLUDE_DIR}
-  ${LLVM_BINARY_DIR}/include
-)
-if(NOT LLVM_ENABLE_RTTI)
-  target_compile_options(gpu_loader PUBLIC -fno-rtti)
-endif()
-
-find_package(hsa-runtime64 QUIET 1.2.0 HINTS ${CMAKE_INSTALL_PREFIX} PATHS /opt/rocm)
-if(hsa-runtime64_FOUND)
-  add_subdirectory(amdgpu)
-endif()
-
-# The CUDA loader requires LLVM to traverse the ELF image for symbols.
-find_package(CUDAToolkit 11.2 QUIET)
-if(CUDAToolkit_FOUND)
-  add_subdirectory(nvptx)
-endif()
-
-if(TARGET amdhsa-loader AND LIBC_TARGET_ARCHITECTURE_IS_AMDGPU)
-  add_custom_target(libc.utils.gpu.loader)
-  add_dependencies(libc.utils.gpu.loader amdhsa-loader)
-  set_target_properties(
-    libc.utils.gpu.loader
-    PROPERTIES
-      TARGET amdhsa-loader
-      EXECUTABLE "$<TARGET_FILE:amdhsa-loader>"
-  )
-elseif(TARGET nvptx-loader AND LIBC_TARGET_ARCHITECTURE_IS_NVPTX)
-  add_custom_target(libc.utils.gpu.loader)
-  add_dependencies(libc.utils.gpu.loader nvptx-loader)
-  set_target_properties(
-    libc.utils.gpu.loader
-    PROPERTIES
-      TARGET nvptx-loader
-      EXECUTABLE "$<TARGET_FILE:nvptx-loader>"
-  )
-endif()
-
-foreach(gpu_loader_tgt amdhsa-loader nvptx-loader)
-  if(TARGET ${gpu_loader_tgt})
-    install(TARGETS ${gpu_loader_tgt}
-            DESTINATION ${CMAKE_INSTALL_BINDIR}
-            COMPONENT libc)
-  endif()
-endforeach()
diff --git a/libc/utils/gpu/loader/amdgpu/CMakeLists.txt b/libc/utils/gpu/loader/amdgpu/CMakeLists.txt
deleted file mode 100644
index 17878daf0b6fe..0000000000000
--- a/libc/utils/gpu/loader/amdgpu/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-set(LLVM_LINK_COMPONENTS
-  BinaryFormat
-  Object
-  Option
-  Support
-  FrontendOffloading
-  )
-
-add_llvm_executable(amdhsa-loader amdhsa-loader.cpp)
-target_link_libraries(amdhsa-loader PRIVATE hsa-runtime64::hsa-runtime64 gpu_loader)
diff --git a/libc/utils/gpu/loader/nvptx/CMakeLists.txt b/libc/utils/gpu/loader/nvptx/CMakeLists.txt
deleted file mode 100644
index 42510ac31dad4..0000000000000
--- a/libc/utils/gpu/loader/nvptx/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-set(LLVM_LINK_COMPONENTS
-  BinaryFormat
-  Object
-  Option
-  Support
-  )
-
-add_llvm_executable(nvptx-loader nvptx-loader.cpp)
-target_link_libraries(nvptx-loader PRIVATE gpu_loader CUDA::cuda_driver)
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 18b6ee85fae8d..f9ace9f078e2b 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -210,10 +210,6 @@ if("${LIBC_TARGET_TRIPLE}" STREQUAL "amdgcn-amd-amdhsa" OR
    "${LIBC_TARGET_TRIPLE}" STREQUAL "nvptx64-nvidia-cuda")
   set(LLVM_LIBC_GPU_BUILD ON)
 endif()
-if (NOT "libc" IN_LIST LLVM_ENABLE_PROJECTS AND LLVM_LIBC_GPU_BUILD)
-  message(STATUS "Enabling libc project to build libc testing tools")
-  list(APPEND LLVM_ENABLE_PROJECTS "libc")
-endif()
 
 # LLVM_ENABLE_PROJECTS_USED is `ON` if the user has ever used the
 # `LLVM_ENABLE_PROJECTS` CMake cache variable.  This exists for
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 136099dc48ab8..51433d1ec9831 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -534,20 +534,6 @@ if(build_runtimes)
   endif()
   if(LLVM_LIBC_GPU_BUILD)
     list(APPEND extra_cmake_args "-DLLVM_LIBC_GPU_BUILD=ON")
-    if("libc" IN_LIST RUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES)
-      if(TARGET amdhsa-loader)
-        list(APPEND extra_cmake_args
-             "-DRUNTIMES_amdgcn-amd-amdhsa_LIBC_GPU_LOADER_EXECUTABLE=$<TARGET_FILE:amdhsa-loader>")
-        list(APPEND extra_deps amdhsa-loader)
-      endif()
-    endif()
-    if("libc" IN_LIST RUNTIMES_nvptx64-nvidia-cuda_LLVM_ENABLE_RUNTIMES)
-      if(TARGET nvptx-loader)
-        list(APPEND extra_cmake_args
-             "-DRUNTIMES_nvptx64-nvidia-cuda_LIBC_GPU_LOADER_EXECUTABLE=$<TARGET_FILE:nvptx-loader>")
-        list(APPEND extra_deps nvptx-loader)
-      endif()
-    endif()
     if(TARGET clang-offload-packager)
       list(APPEND extra_deps clang-offload-packager)
     endif()
diff --git a/llvm/tools/llvm-gpu-loader/CMakeLists.txt b/llvm/tools/llvm-gpu-loader/CMakeLists.txt
new file mode 100644
index 0000000000000..4b4a6e72e47ae
--- /dev/null
+++ b/llvm/tools/llvm-gpu-loader/CMakeLists.txt
@@ -0,0 +1,45 @@
+set(LLVM_LINK_COMPONENTS
+  BinaryFormat
+  Object
+  Option
+  Support
+  FrontendOffloading
+)
+
+add_llvm_tool(llvm-gpu-loader
+  llvm-gpu-loader.cpp
+
+  # TODO: We intentionally split this currently due to statically linking the
+  #       GPU runtimes. Dynamically load the dependencies, possibly using the
+  #       LLVM offloading API when it is complete.
+  PARTIAL_SOURCES_INTENDED
+
+  DEPENDS
+  intrinsics_gen
+)
+
+# Locate the RPC server handling interface.
+include(FindLibcCommonUtils)
+target_link_libraries(llvm-gpu-loader PUBLIC llvm-libc-common-utilities)
+
+# Check for HSA support for targeting AMD GPUs.
+find_package(hsa-runtime64 QUIET 1.2.0 HINTS ${CMAKE_INSTALL_PREFIX} PATHS /opt/rocm)
+if(hsa-runtime64_FOUND)
+  target_sources(llvm-gpu-loader PRIVATE amdhsa.cpp)
+  target_compile_definitions(llvm-gpu-loader PRIVATE AMDHSA_SUPPORT)
+  target_link_libraries(llvm-gpu-loader PRIVATE hsa-runtime64::hsa-runtime64)
+
+  # Compatibility with the old amdhsa-loader name.
+  add_llvm_tool_symlink(amdhsa-loader llvm-gpu-loader)
+endif()
+
+# Check for CUDA support for targeting NVIDIA GPUs.
+find_package(CUDAToolkit 11.2 QUIET)
+if(CUDAToolkit_FOUND)
+  target_sources(llvm-gpu-loader PRIVATE nvptx.cpp)
+  target_compile_definitions(llvm-gpu-loader PRIVATE NVPTX_SUPPORT)
+  target_link_libraries(llvm-gpu-loader PRIVATE CUDA::cuda_driver)
+
+  # Compatibility with the old nvptx-loader name.
+  add_llvm_tool_symlink(nvptx-loader llvm-gpu-loader)
+endif()
diff --git a/libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp b/llvm/tools/llvm-gpu-loader/amdhsa.cpp
similarity index 99%
rename from libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp
rename to llvm/tools/llvm-gpu-loader/amdhsa.cpp
index 00fde147b0abd..f3c8f646b6421 100644
--- a/libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp
+++ b/llvm/tools/llvm-gpu-loader/amdhsa.cpp
@@ -13,7 +13,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Loader.h"
+#include "llvm-gpu-loader.h"
 
 #include "hsa/hsa.h"
 #include "hsa/hsa_ext_amd.h"
@@ -330,9 +330,9 @@ static hsa_status_t hsa_memcpy(void *dst, hsa_agent_t dst_agent,
   return HSA_STATUS_SUCCESS;
 }
 
-int load(int argc, const char **argv, const char **envp, void *image,
-         size_t size, const LaunchParameters &params,
-         bool print_resource_usage) {
+int load_amdhsa(int argc, const char **argv, const char **envp, void *image,
+                size_t size, const LaunchParameters &params,
+                bool print_resource_usage) {
   // Initialize the HSA runtime used to communicate with the device.
   if (hsa_status_t err = hsa_init())
     handle_error(err);
diff --git a/libc/utils/gpu/loader/Main.cpp b/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
similarity index 76%
rename from libc/utils/gpu/loader/Main.cpp
rename to llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
index c3aeeffd56368..9b157e3f9dcb1 100644
--- a/libc/utils/gpu/loader/Main.cpp
+++ b/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
@@ -6,14 +6,17 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file opens a device image passed on the command line and passes it to
-// one of the loader implementations for launch.
+// This utility is used to launch standard programs onto the GPU in conjunction
+// with the LLVM 'libc' project. It is designed to mimic a standard emulator
+// workflow, allowing for unit tests to be run on the GPU directly.
 //
 //===----------------------------------------------------------------------===//
 
-#include "Loader.h"
+#include "llvm-gpu-loader.h"
 
 #include "llvm/BinaryFormat/Magic.h"
+#include "llvm/Object/ELF.h"
+#include "llvm/Object/ELFObjectFile.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Error.h"
 #include "llvm/Support/FileSystem.h"
@@ -21,6 +24,7 @@
 #include "llvm/Support/Path.h"
 #include "llvm/Support/Signals.h"
 #include "llvm/Support/WithColor.h"
+#include "llvm/TargetParser/Triple.h"
 
 #include <cerrno>
 #include <cstdio>
@@ -125,12 +129,40 @@ int main(int argc, const char **argv, const char **envp) {
                                      strerror(errno)));
   }
 
-  // Drop the loader from the program arguments.
   LaunchParameters params{threads_x, threads_y, threads_z,
                           blocks_x,  blocks_y,  blocks_z};
-  int ret = load(new_argv.size(), new_argv.data(), envp,
-                 const_cast<char *>(image.getBufferStart()),
-                 image.getBufferSize(), params, print_resource_usage);
+
+  Expected<llvm::object::ELF64LEObjectFile> elf_or_err =
+      llvm::object::ELF64LEObjectFile::create(image);
+  if (!elf_or_err)
+    report_error(std::move(elf_or_err.takeError()));
+
+  int ret = 1;
+  if (elf_or_err->getArch() == Triple::amdgcn) {
+#ifdef AMDHSA_SUPPORT
+    ret = load_amdhsa(new_argv.size(), new_argv.data(), envp,
+                      const_cast<char *>(image.getBufferStart()),
+                      image.getBufferSize(), params, print_resource_usage);
+#else
+    report_error(createStringError(
+        "Unsupported architecture; %s",
+        Triple::getArchTypeName(elf_or_err->getArch()).bytes_begin()));
+#endif
+  } else if (elf_or_err->getArch() == Triple::nvptx64) {
+#ifdef NVPTX_SUPPORT
+    ret = load_nvptx(new_argv.size(), new_argv.data(), envp,
+                     const_cast<char *>(image.getBufferStart()),
+                     image.getBufferSize(), params, print_resource_usage);
+#else
+    report_error(createStringError(
+        "Unsupported architecture; %s",
+        Triple::getArchTypeName(elf_or_err->getArch()).bytes_begin()));
+#endif
+  } else {
+    report_error(createStringError(
+        "Unsupported architecture; %s",
+        Triple::getArchTypeName(elf_or_err->getArch()).bytes_begin()));
+  }
 
   if (no_parallelism) {
     if (flock(fd, LOCK_UN) == -1)
diff --git a/libc/utils/gpu/loader/Loader.h b/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h
similarity index 93%
rename from libc/utils/gpu/loader/Loader.h
rename to llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h
index ec05117a041ab..29da395e3bc20 100644
--- a/libc/utils/gpu/loader/Loader.h
+++ b/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h
@@ -54,9 +54,16 @@ struct end_args_t {
 /// Generic interface to load the \p image and launch execution of the _start
 /// kernel on the target device. Copies \p argc and \p argv to the device.
 /// Returns the final value of the `main` function on the device.
-int load(int argc, const char **argv, const char **evnp, void *image,
-         size_t size, const LaunchParameters &params,
-         bool print_resource_usage);
+#ifdef AMDHSA_SUPPORT
+int load_amdhsa(int argc, const char **argv, const char **evnp, void *image,
+                size_t size, const LaunchParameters &params,
+                bool print_resource_usage);
+#endif
+#ifdef NVPTX_SUPPORT
+int load_nvptx(int argc, const char **argv, const char **evnp, void *image,
+               size_t size, const LaunchParameters &params,
+               bool print_resource_usage);
+#endif
 
 /// Return \p V aligned "upwards" according to \p Align.
 template <typename V, typename A> inline V align_up(V val, A align) {
diff --git a/libc/utils/gpu/loader/nvptx/nvptx-loader.cpp b/llvm/tools/llvm-gpu-loader/nvptx.cpp
similarity index 98%
rename from libc/utils/gpu/loader/nvptx/nvptx-loader.cpp
rename to llvm/tools/llvm-gpu-loader/nvptx.cpp
index 7d6c176c6f360..f7495605ecc68 100644
--- a/libc/utils/gpu/loader/nvptx/nvptx-loader.cpp
+++ b/llvm/tools/llvm-gpu-loader/nvptx.cpp
@@ -13,7 +13,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Loader.h"
+#include "llvm-gpu-loader.h"
 
 #include "cuda.h"
 
@@ -236,9 +236,9 @@ CUresult launch_kernel(CUmodule binary, CUstream stream, rpc::Server &server,
   return CUDA_SUCCESS;
 }
 
-int load(int argc, const char **argv, const char **envp, void *image,
-         size_t size, const LaunchParameters &params,
-         bool print_resource_usage) {
+int load_nvptx(int argc, const char **argv, const char **envp, void *image,
+               size_t size, const LaunchParameters &params,
+               bool print_resource_usage) {
   if (CUresult err = cuInit(0))
     handle_error(err);
   // Obtain the first device found on the system.

Copy link
Contributor

@michaelrj-google michaelrj-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from the libc side, always happy to see a big cmake simplification.

Copy link
Collaborator

@JonChesterfield JonChesterfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaking the cyclic dep is good. I'd really like to see more runtime tests on the gpus in general and these are a clean way to do that.

@jhuber6 jhuber6 merged commit 221b011 into llvm:main Mar 20, 2025
21 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-ubuntu running on as-builder-7 while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
43.201 [349/17/2360] Creating library symlink lib/libLLVMAggressiveInstCombine.so
43.209 [349/16/2361] Creating library symlink lib/libLLVMObjCARCOpts.so
43.239 [349/15/2362] Building X86GenAsmWriter.inc...
43.273 [349/14/2363] Linking CXX shared library lib/libLLVMInstCombine.so.21.0git
43.275 [348/14/2364] Linking CXX shared library lib/libLLVMInstrumentation.so.21.0git
43.294 [347/14/2365] Creating library symlink lib/libLLVMInstCombine.so
43.295 [346/14/2366] Creating library symlink lib/libLLVMInstrumentation.so
43.371 [346/13/2367] Linking CXX shared library lib/libLLVMVectorize.so.21.0git
43.393 [345/13/2368] Creating library symlink lib/libLLVMVectorize.so
43.401 [345/12/2369] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold     -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/nvptx.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  /usr/lib/x86_64-linux-gnu/libcuda.so  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/lib && :
tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o:llvm-gpu-loader.cpp:function main: error: undefined reference to 'llvm::Triple::getArchTypeName(llvm::Triple::ArchType)'
collect2: error: ld returned 1 exit status
43.415 [345/11/2370] Building X86GenAsmMatcher.inc...
43.424 [345/10/2371] Building X86GenFoldTables.inc...
43.548 [345/9/2372] Building X86GenDisassemblerTables.inc...
43.629 [345/8/2373] Linking CXX shared library lib/libLLVMScalarOpts.so.21.0git
44.619 [345/7/2374] Building X86GenFastISel.inc...
44.709 [345/6/2375] Building X86GenGlobalISel.inc...
45.442 [345/5/2376] Building X86GenSubtargetInfo.inc...
45.760 [345/4/2377] Building X86GenDAGISel.inc...
46.847 [345/3/2378] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
47.130 [345/2/2379] Building X86GenInstrInfo.inc...
48.591 [345/1/2380] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-aarch64-darwin running on doug-worker-5 while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
75.193 [501/8/5514] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/CoverageMappingTest.cpp.o
75.202 [500/8/5515] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/ItaniumManglingCanonicalizerTest.cpp.o
75.205 [499/8/5516] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/MemProfTest.cpp.o
75.207 [498/8/5517] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o
75.213 [497/8/5518] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/SampleProfTest.cpp.o
75.217 [496/8/5519] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/PGOCtxProfReaderWriterTest.cpp.o
75.219 [495/8/5520] Linking CXX shared module unittests/Passes/Plugins/TestPlugin.dylib
75.221 [494/8/5521] Linking CXX shared module unittests/Passes/Plugins/DoublerPlugin.dylib
75.225 [493/8/5522] Building CXX object unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/SymbolRemappingReaderTest.cpp.o
75.230 [492/8/5523] 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 /opt/homebrew/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/llvm-gpu-loader -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader -I/Users/buildbot/buildbot-root/aarch64-darwin/build/include -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc -isystem /opt/homebrew/include -fPIC -fvisibility-inlines-hidden -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 -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk  -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 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat16.h:18:9: warning: '_Complex' is a C99 extension [-Wc99-extensions]
typedef _Complex _Float16 cfloat16;
        ^
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: warning: '_Complex' is a C99 extension [-Wc99-extensions]
      __is_unqualified_any_of<T, _Complex float, _Complex double,
                                 ^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: warning: '_Complex' is a C99 extension [-Wc99-extensions]
      __is_unqualified_any_of<T, _Complex float, _Complex double,
                                                 ^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: warning: '_Complex' is a C99 extension [-Wc99-extensions]
                              _Complex long double
                              ^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    report_error(std::move(elf_or_err.takeError()));
                 ^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: note: remove std::move call here
    report_error(std::move(elf_or_err.takeError()));
                 ^~~~~~~~~~                      ~
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable 'params' [-Wunused-variable]
  LaunchParameters params{threads_x, threads_y, threads_z,
                   ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder lldb-remote-linux-win running on as-builder-10 while building libc,llvm at step 8 "build-default".

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

Here is the relevant piece of the build log for the reference
Step 8 (build-default) failure: cmake (failure)
...
55.329 [1397/130/3851]Building CXX object tools\bugpoint\CMakeFiles\bugpoint.dir\ToolRunner.cpp.obj
55.337 [1396/130/3852]Building CXX object tools\llvm-exegesis\lib\AArch64\CMakeFiles\LLVMExegesisAArch64.dir\Target.cpp.obj
55.350 [1395/130/3853]Building CXX object tools\bugpoint\CMakeFiles\bugpoint.dir\CrashDebugger.cpp.obj
55.359 [1394/130/3854]Linking CXX executable bin\lit-cpuid.exe
55.381 [1393/130/3855]Building CXX object tools\lldb\source\Core\CMakeFiles\lldbCore.dir\ModuleChild.cpp.obj
55.388 [1392/130/3856]Building CXX object tools\bugpoint\CMakeFiles\bugpoint.dir\OptimizerDriver.cpp.obj
55.411 [1391/130/3857]Building CXX object tools\bugpoint\CMakeFiles\bugpoint.dir\Miscompilation.cpp.obj
55.419 [1390/130/3858]Building CXX object tools\clang\lib\StaticAnalyzer\Checkers\CMakeFiles\obj.clangStaticAnalyzerCheckers.dir\NonNullParamChecker.cpp.obj
55.431 [1389/130/3859]Building CXX object tools\bugpoint\CMakeFiles\bugpoint.dir\bugpoint.cpp.obj
55.456 [1388/130/3860]Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
ccache C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-10\lldb-x-aarch64\build\tools\llvm-gpu-loader -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\tools\llvm-gpu-loader -IC:\buildbot\as-builder-10\lldb-x-aarch64\build\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\include -IC:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc -D__OPTIMIZE__ /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\libc\shared\rpc_util.h(267): error C3861: '__builtin_memcpy': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(74): note: while compiling class template 'rpc::Process'
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2187: syntax error: 'float' was unexpected here
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(22): note: while compiling class template '__llvm_libc_common_utils::cpp::is_complex'
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2062: type 'float' unexpected
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3861: '__builtin_ctz': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3861: '__builtin_ctzl': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3861: '__builtin_ctzll': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3861: '__builtin_clz': identifier not found
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): note: failure was caused by control reaching the end of a constexpr function

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder amdgpu-offload-rhel-8-cmake-build-only running on rocm-docker-rhel-8 while building libc,llvm at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[6775/7690] Creating library symlink lib/libclangFrontendTool.so
[6776/7690] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
[6777/7690] Linking CXX shared module lib/SampleAnalyzerPlugin.so
[6778/7690] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
[6779/7690] Linking CXX shared library lib/libclangInterpreter.so.21.0git
[6780/7690] Creating library symlink lib/libclangInterpreter.so
[6781/7690] Linking CXX shared library lib/libFortranParser.so.21.0git
[6782/7690] Creating library symlink lib/libFortranParser.so
[6783/7690] Linking CXX executable bin/f18-parse-demo
[6784/7690] 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 /usr/bin/c++ -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/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/tools/llvm-gpu-loader -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -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/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:31,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h: In function ‘constexpr bool __llvm_libc_common_utils::cpp::is_constant_evaluated()’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: error: ‘__builtin_is_constant_evaluated’ was not declared in this scope
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: note: suggested alternative: ‘is_constant_evaluated’
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          is_constant_evaluated
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:25,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::add_with_carry(T, T, T, T&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::sub_with_borrow(T, T, T, T&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/string/memory_utils/inline_memcpy.h:14,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/int_converter.h:19,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/strerror_converter.h:15,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:15,
Step 7 (build cmake config) failure: build cmake config (failure)
...
[6775/7690] Creating library symlink lib/libclangFrontendTool.so
[6776/7690] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
[6777/7690] Linking CXX shared module lib/SampleAnalyzerPlugin.so
[6778/7690] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
[6779/7690] Linking CXX shared library lib/libclangInterpreter.so.21.0git
[6780/7690] Creating library symlink lib/libclangInterpreter.so
[6781/7690] Linking CXX shared library lib/libFortranParser.so.21.0git
[6782/7690] Creating library symlink lib/libFortranParser.so
[6783/7690] Linking CXX executable bin/f18-parse-demo
[6784/7690] 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 /usr/bin/c++ -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/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/tools/llvm-gpu-loader -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -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/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:31,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h: In function ‘constexpr bool __llvm_libc_common_utils::cpp::is_constant_evaluated()’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: error: ‘__builtin_is_constant_evaluated’ was not declared in this scope
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: note: suggested alternative: ‘is_constant_evaluated’
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          is_constant_evaluated
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:25,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::add_with_carry(T, T, T, T&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::sub_with_borrow(T, T, T, T&)’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/string/memory_utils/inline_memcpy.h:14,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/int_converter.h:19,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/strerror_converter.h:15,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:15,

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder amdgpu-offload-rhel-9-cmake-build-only running on rocm-docker-rhel-9 while building libc,llvm at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:55:30: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
   55 |   [[maybe_unused]] WriteMode write_mode_;
      |                              ^~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp: In function ‘int main(int, const char**, const char**)’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable ‘params’ [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
[6787/7690] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/./lib  -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE'
/usr/bin/ld: /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/./lib/libLLVMTargetParser.so.21.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[6788/7690] Linking CXX shared library lib/libFortranSemantics.so.21.0git
[6789/7690] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
    yield
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
    run_command(["ninja"])
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@
Step 7 (build cmake config) failure: build cmake config (failure)
...
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:55:30: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
   55 |   [[maybe_unused]] WriteMode write_mode_;
      |                              ^~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp: In function ‘int main(int, const char**, const char**)’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable ‘params’ [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
[6787/7690] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/./lib  -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE'
/usr/bin/ld: /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/./lib/libLLVMTargetParser.so.21.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[6788/7690] Linking CXX shared library lib/libFortranSemantics.so.21.0git
[6789/7690] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
    yield
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
    run_command(["ninja"])
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
program finished with exit code 0
elapsedTime=60.808497

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder amdgpu-offload-ubuntu-22-cmake-build-only running on rocm-docker-ubu-22 while building libc,llvm at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/strerror_converter.h:15,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:15,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/amdhsa.cpp:16:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:55:30: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
   55 |   [[maybe_unused]] WriteMode write_mode_;
      |                              ^~~~~~~~~~~
[6788/7692] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib  -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/amdhsa.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:/opt/rocm/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  /opt/rocm/lib/libhsa-runtime64.so.1.14.60300  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE'
/usr/bin/ld: /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib/libLLVMTargetParser.so.21.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[6789/7692] Linking CXX shared library lib/libFortranSemantics.so.21.0git
[6790/7692] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
    yield
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
    run_command(["ninja"])
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@
Step 7 (build cmake config) failure: build cmake config (failure)
...
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/strerror_converter.h:15,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:15,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/tools/llvm-gpu-loader/amdhsa.cpp:16:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:55:30: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
   55 |   [[maybe_unused]] WriteMode write_mode_;
      |                              ^~~~~~~~~~~
[6788/7692] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib  -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/amdhsa.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:/opt/rocm/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  /opt/rocm/lib/libhsa-runtime64.so.1.14.60300  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE'
/usr/bin/ld: /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib/libLLVMTargetParser.so.21.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[6789/7692] Linking CXX shared library lib/libFortranSemantics.so.21.0git
[6790/7692] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 50, in step
    yield
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 41, in main
    run_command(["ninja"])
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 63, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
program finished with exit code 0
elapsedTime=61.786365

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx64-nvidia-ubuntu running on as-builder-7 while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
46.752 [390/30/2306] Creating library symlink lib/libLLVMFrontendOffloading.so
46.755 [389/30/2307] Creating library symlink lib/libLLVMLinker.so
46.762 [389/29/2308] Linking CXX shared library lib/libLLVMHipStdPar.so.21.0git
46.762 [388/29/2309] Creating library symlink lib/libLLVMObjCARCOpts.so
46.780 [388/28/2310] Creating library symlink lib/libLLVMHipStdPar.so
46.812 [388/27/2311] Linking CXX shared library lib/libLLVMInstCombine.so.21.0git
46.827 [387/27/2312] Creating library symlink lib/libLLVMInstCombine.so
46.840 [386/27/2313] Linking CXX shared library lib/libLLVMInstrumentation.so.21.0git
46.867 [385/27/2314] Creating library symlink lib/libLLVMInstrumentation.so
46.872 [385/26/2315] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold     -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/nvptx.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  /usr/lib/x86_64-linux-gnu/libcuda.so  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib && :
tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o:llvm-gpu-loader.cpp:function main: error: undefined reference to 'llvm::Triple::getArchTypeName(llvm::Triple::ArchType)'
collect2: error: ld returned 1 exit status
46.895 [385/25/2316] Linking CXX shared library lib/libLLVMVectorize.so.21.0git
47.097 [385/24/2317] Linking CXX shared library lib/libLLVMScalarOpts.so.21.0git
47.222 [385/23/2318] Building NVPTXGenRegisterInfo.inc...
47.480 [385/22/2319] Building NVPTXGenSubtargetInfo.inc...
47.620 [385/21/2320] Building NVPTXGenAsmWriter.inc...
48.121 [385/20/2321] Building NVPTXGenInstrInfo.inc...
48.208 [385/19/2322] Building NVPTXGenDAGISel.inc...
48.590 [385/18/2323] Building X86GenCallingConv.inc...
49.222 [385/17/2324] Building X86GenMnemonicTables.inc...
49.433 [385/16/2325] Building X86GenAsmWriter.inc...
49.443 [385/15/2326] Building X86GenRegisterBank.inc...
49.486 [385/14/2327] Building X86GenInstrMapping.inc...
49.736 [385/13/2328] Building X86GenExegesis.inc...
49.841 [385/12/2329] Building X86GenRegisterInfo.inc...
49.875 [385/11/2330] Building X86GenAsmWriter1.inc...
50.073 [385/10/2331] Building X86GenAsmMatcher.inc...
50.463 [385/9/2332] Building X86GenFoldTables.inc...
50.944 [385/8/2333] Building X86GenDisassemblerTables.inc...
51.007 [385/7/2334] Building X86GenFastISel.inc...
51.986 [385/6/2335] Building X86GenGlobalISel.inc...
52.268 [385/5/2336] Building X86GenDAGISel.inc...
52.660 [385/4/2337] Building X86GenSubtargetInfo.inc...
53.823 [385/3/2338] Building X86GenInstrInfo.inc...
54.116 [385/2/2339] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
54.296 [385/1/2340] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
ninja: build stopped: subcommand failed.

jhuber6 added a commit that referenced this pull request Mar 20, 2025
This reverts commit 221b011.

Some build failures requiring TargetParser and some warnings to clean
up.
@jhuber6
Copy link
Contributor Author

jhuber6 commented Mar 20, 2025

Reverted for now, the solution is to add TargetParser to the LLVM components and I need to fix a few warnings.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx64-nvidia-win running on as-builder-8 while building libc,llvm at step 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[2552/2716] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceModuleData.cpp.obj
[2553/2716] Building CXX object tools\obj2yaml\CMakeFiles\obj2yaml.dir\elf2yaml.cpp.obj
[2554/2716] Building CXX object tools\obj2yaml\CMakeFiles\obj2yaml.dir\macho2yaml.cpp.obj
[2555/2716] Building CXX object tools\sanstats\CMakeFiles\sanstats.dir\sanstats.cpp.obj
[2556/2716] Building CXX object tools\sancov\CMakeFiles\sancov.dir\sancov.cpp.obj
[2557/2716] Building CXX object tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj
[2558/2716] Building CXX object tools\opt\CMakeFiles\LLVMOptDriver.dir\NewPMDriver.cpp.obj
[2559/2716] Building CXX object tools\verify-uselistorder\CMakeFiles\verify-uselistorder.dir\verify-uselistorder.cpp.obj
[2560/2716] Building CXX object tools\opt\CMakeFiles\LLVMOptDriver.dir\optdriver.cpp.obj
[2561/2716] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\nvptx.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/nvptx.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1443~1.348\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DNVPTX_SUPPORT -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\tools\llvm-gpu-loader -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\tools\llvm-gpu-loader -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\include -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\include -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc -external:I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include" -external:W0 /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\nvptx.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\tools\llvm-gpu-loader\nvptx.cpp
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\libc\shared\rpc_util.h(267): error C3861: '__builtin_memcpy': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(74): note: while compiling class template 'rpc::Process'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2187: syntax error: 'float' was unexpected here
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(22): note: while compiling class template '__llvm_libc_common_utils::cpp::is_complex'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2062: type 'float' unexpected
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3861: '__builtin_ctz': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3861: '__builtin_ctzl': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3861: '__builtin_ctzll': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3861: '__builtin_clz': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): note: failure was caused by control reaching the end of a constexpr function

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-win running on sie-win-worker while building libc,llvm at step 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[4615/4850] Building RC object tools\llvm-objdump\CMakeFiles\llvm-objdump.dir\__\__\resources\windows_version_resource.rc.res
[4616/4850] Building CXX object tools\llvm-pdbutil\CMakeFiles\llvm-pdbutil.dir\StreamUtil.cpp.obj
[4617/4850] Building CXX object tools\llvm-pdbutil\CMakeFiles\llvm-pdbutil.dir\PrettyVariableDumper.cpp.obj
[4618/4850] Building CXX object tools\llvm-pdbutil\CMakeFiles\llvm-pdbutil.dir\PrettyFunctionDumper.cpp.obj
[4619/4850] Building CXX object tools\llvm-pdbutil\CMakeFiles\llvm-pdbutil.dir\PrettyTypeDumper.cpp.obj
[4620/4850] Building CXX object tools\llvm-pdbutil\CMakeFiles\llvm-pdbutil.dir\PdbYaml.cpp.obj
[4621/4850] Linking CXX executable bin\llvm-jitlink-executor.exe
[4622/4850] Building CXX object tools\llvm-rc\CMakeFiles\llvm-rc.dir\ResourceScriptCppFilter.cpp.obj
[4623/4850] Building CXX object tools\llvm-pdbutil\CMakeFiles\llvm-pdbutil.dir\YAMLOutputStyle.cpp.obj
[4624/4850] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
C:\bin\ccache.exe C:\PROGRA~2\MICROS~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\llvm-gpu-loader -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\tools\llvm-gpu-loader -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\libc\shared\rpc_util.h(267): error C3861: '__builtin_memcpy': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C3861: '__ATOMIC_RELAXED': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(276): note: see reference to class template instantiation 'rpc::Process<Invert>' being compiled
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C3861: '__ATOMIC_RELAXED': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C3861: '__ATOMIC_RELEASE': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C3861: '__ATOMIC_RELAXED': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C3861: '__ATOMIC_ACQUIRE': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C3861: '__ATOMIC_ACQUIRE': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C3861: '__ATOMIC_RELEASE': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C3861: '__ATOMIC_RELAXED': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C3861: '__ATOMIC_RELAXED': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2187: syntax error: 'float' was unexpected here
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(42): note: see reference to class template instantiation '__llvm_libc_common_utils::cpp::is_complex<T>' being compiled
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2144: syntax error: 'double' should be preceded by ';'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2059: syntax error: ','
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(41): error C2238: unexpected token(s) preceding ';'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3861: '__builtin_ctz': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): note: failure was caused by control reaching the end of a constexpr function
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3861: '__builtin_ctzl': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): note: failure was caused by control reaching the end of a constexpr function
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3861: '__builtin_ctzll': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): note: failure was caused by control reaching the end of a constexpr function
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3861: '__builtin_clz': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): note: failure was caused by control reaching the end of a constexpr function
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(149): error C3861: '__builtin_clzl': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(149): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(149): note: failure was caused by control reaching the end of a constexpr function
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(150): error C3861: '__builtin_clzll': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(150): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(150): note: failure was caused by control reaching the end of a constexpr function
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(287): error C3861: '__builtin_popcount': identifier not found
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(287): error C3615: constexpr function '__llvm_libc_common_utils::cpp::popcount' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(287): note: failure was caused by control reaching the end of a constexpr function

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building libc,llvm at step 5 "compile-openmp".

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

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
19.593 [921/14/6211] Linking CXX executable bin/f18-parse-demo
19.755 [921/13/6212] Linking CXX executable bin/llvm-extract
20.040 [921/12/6213] Linking CXX shared module lib/SampleAnalyzerPlugin.so
20.057 [921/11/6214] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
20.067 [921/10/6215] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
20.267 [921/9/6216] Linking CXX executable bin/llvm-exegesis
20.279 [921/8/6217] Linking CXX executable bin/clang-diff
20.337 [921/7/6218] Linking CXX executable bin/lli
20.447 [921/6/6219] Linking CXX executable bin/clang-refactor
20.474 [921/5/6220] 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 /usr/bin/c++ -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 -Itools/llvm-gpu-loader -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-gpu-loader -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++1z -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/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/inline_memcpy.h:19:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:16,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/int_converter.h:19,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/strerror_converter.h:15,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:15,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/generic/byte_per_byte.h:26:0: warning: ignoring #pragma GCC unroll [-Wunknown-pragmas]
   LIBC_LOOP_NOUNROLL
 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/generic/byte_per_byte.h:36:0: warning: ignoring #pragma GCC unroll [-Wunknown-pragmas]
     LIBC_LOOP_NOUNROLL
 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/generic/byte_per_byte.h:40:0: warning: ignoring #pragma GCC unroll [-Wunknown-pragmas]
     LIBC_LOOP_NOUNROLL
 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/generic/byte_per_byte.h:50:0: warning: ignoring #pragma GCC unroll [-Wunknown-pragmas]
   LIBC_LOOP_NOUNROLL
 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/generic/byte_per_byte.h:57:0: warning: ignoring #pragma GCC unroll [-Wunknown-pragmas]
   LIBC_LOOP_NOUNROLL
 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/generic/byte_per_byte.h:66:0: warning: ignoring #pragma GCC unroll [-Wunknown-pragmas]
   LIBC_LOOP_NOUNROLL
 
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/x86_64/inline_memset.h:13:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/string/memory_utils/inline_memset.h:19,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/writer.h:17,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/int_converter.h:19,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/strerror_converter.h:15,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:15,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-libcxx running on linaro-flang-aarch64-libcxx while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^
../llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: note: remove std::move call here
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^~~~~~~~~~                      ~
../llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable 'params' [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
7 warnings generated.
60.806 [186/3/7213] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/local/bin/c++ -stdlib=libc++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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 -stdlib=libc++     -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/./lib  -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE'
/usr/bin/ld: /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/./lib/libLLVMTargetParser.so.21.0git: error adding symbols: DSO missing from command line
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
61.972 [186/2/7214] Linking CXX shared library lib/libFortranEvaluate.so.21.0git
116.216 [186/1/7215] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/cmake_pch.hxx.pch
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-flang-rhel-clang running on ppc64le-flang-rhel-test while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
22.515 [678/24/6075] Linking CXX static library lib/libMLIRAsyncDialect.a
22.515 [678/23/6076] Linking CXX static library lib/libMLIRIndexDialect.a
22.515 [678/22/6077] Linking CXX static library lib/libMLIRTransformDialectUtils.a
22.515 [678/21/6078] Linking CXX static library lib/libMLIRArmNeonDialect.a
22.515 [678/20/6079] Linking CXX static library lib/libMLIREmitCDialect.a
22.515 [678/19/6080] Linking CXX static library lib/libMLIRIRDL.a
22.516 [677/19/6081] Linking CXX static library lib/libMLIRPtrDialect.a
22.516 [677/18/6082] Linking CXX static library lib/libMLIRTestDynDialect.a
22.516 [677/17/6083] Linking CXX static library lib/libMLIRSPIRVAttrToLLVMConversion.a
22.518 [677/16/6084] 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 /home/buildbots/llvm-external-buildbots/clang.19.1.7/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/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:806:1: warning: non-void function does not return a value [-Wreturn-type]
  806 | }
      | ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:817:50: note: in instantiation of function template specialization '__llvm_libc_common_utils::fputil::get_fp_type<long double>' requested here
  817 | struct FPBits final : public internal::FPRepImpl<get_fp_type<T>(), FPBits<T>> {
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:59:11: note: in instantiation of template class '__llvm_libc_common_utils::fputil::FPBits<long double>' requested here
   59 |   fputil::FPBits<long double>::StorageType conv_val_raw;
      |           ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-win running on as-builder-8 while building libc,llvm at step 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[2547/2716] Building CXX object tools\llvm-size\CMakeFiles\llvm-size.dir\llvm-size.cpp.obj
[2548/2716] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\RunIRPasses.cpp.obj
[2549/2716] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceRegisterUses.cpp.obj
[2550/2716] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceFunctionBodies.cpp.obj
[2551/2716] Building CXX object tools\verify-uselistorder\CMakeFiles\verify-uselistorder.dir\verify-uselistorder.cpp.obj
[2552/2716] Building CXX object tools\sancov\CMakeFiles\sancov.dir\sancov.cpp.obj
[2553/2716] Building CXX object tools\sanstats\CMakeFiles\sanstats.dir\sanstats.cpp.obj
[2554/2716] Building CXX object tools\yaml2obj\CMakeFiles\yaml2obj.dir\yaml2obj.cpp.obj
[2555/2716] Building CXX object tools\opt\CMakeFiles\LLVMOptDriver.dir\optdriver.cpp.obj
[2556/2716] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1443~1.348\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DNVPTX_SUPPORT -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\tools\llvm-gpu-loader -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\tools\llvm-gpu-loader -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\include -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc -external:I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include" -external:W0 /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\libc\shared\rpc_util.h(267): error C3861: '__builtin_memcpy': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(74): note: while compiling class template 'rpc::Process'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2187: syntax error: 'float' was unexpected here
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(22): note: while compiling class template '__llvm_libc_common_utils::cpp::is_complex'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2062: type 'float' unexpected
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3861: '__builtin_ctz': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3861: '__builtin_ctzl': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3861: '__builtin_ctzll': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3861: '__builtin_clz': identifier not found
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): note: failure was caused by control reaching the end of a constexpr function

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-test-suite running on ppc64le-clang-test-suite while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
23.094 [1021/34/4958] Building CXX object tools/clang/tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o
23.200 [1021/33/4959] Building CXX object tools/clang/tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o
23.352 [1021/32/4960] Linking CXX executable bin/llvm-stress
23.370 [1021/31/4961] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/ClangInstallAPI.cpp.o
24.079 [1021/30/4962] Linking CXX executable bin/llvm-dis
24.187 [1021/29/4963] Linking CXX executable bin/llvm-diff
24.615 [1021/28/4964] Building X86GenSubtargetInfo.inc...
24.651 [1021/27/4965] Building RISCVGenInstrInfo.inc...
25.162 [1021/26/4966] Building X86GenDAGISel.inc...
25.496 [1021/25/4967] 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 /usr/lib64/ccache/c++ -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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:31,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h: In function ‘constexpr bool __llvm_libc_common_utils::cpp::is_constant_evaluated()’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: error: ‘__builtin_is_constant_evaluated’ was not declared in this scope
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: note: suggested alternative: ‘is_constant_evaluated’
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          is_constant_evaluated
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:25,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::add_with_carry(T, T, T, T&)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::sub_with_borrow(T, T, T, T&)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building libc,llvm at step 6 "build-stage1-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-stage1-unified-tree) failure: build (failure)
...
29.466 [1295/36/5164] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DebugSupportTest.cpp.o
29.487 [1295/35/5165] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferTest.cpp.o
29.500 [1295/34/5166] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/WatchedLiteralsSolverTest.cpp.o
29.505 [1295/33/5167] Building CXX object tools/clang/unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TypeErasedDataflowAnalysisTest.cpp.o
29.517 [1295/32/5168] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.cpp.o
29.528 [1295/31/5169] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTTraverserTest.cpp.o
29.530 [1295/30/5170] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o
29.552 [1295/29/5171] Building CXX object tools/clang/unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o
29.576 [1295/28/5172] Linking CXX executable unittests/Support/SupportTests
30.024 [1295/27/5173] 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 /usr/lib64/ccache/c++ -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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -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/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:31,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h: In function ‘constexpr bool __llvm_libc_common_utils::cpp::is_constant_evaluated()’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: error: ‘__builtin_is_constant_evaluated’ was not declared in this scope
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: note: suggested alternative: ‘is_constant_evaluated’
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          is_constant_evaluated
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:25,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::add_with_carry(T, T, T, T&)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:77:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::sub_with_borrow(T, T, T, T&)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/math_extras.h:103:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[4871/5462] Generating ../../bin/llvm-strip
[4872/5462] Linking CXX executable bin/verify-uselistorder
[4873/5462] Linking CXX executable bin/lli
[4874/5462] Linking CXX executable bin/llvm-exegesis
[4875/5462] Building AMDGPUGenGlobalISel.inc...
[4876/5462] Building AMDGPUGenAsmMatcher.inc...
[4877/5462] Building AMDGPUGenAsmWriter.inc...
[4878/5462] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[4879/5462] Linking CXX static library lib/libclangDriver.a
[4880/5462] 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-aarch64-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-aarch64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:41:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   41 | typedef _Complex long double cfloat128;
      |         ^
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-aarch64-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-aarch64-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)
...
[4871/5462] Generating ../../bin/llvm-strip
[4872/5462] Linking CXX executable bin/verify-uselistorder
[4873/5462] Linking CXX executable bin/lli
[4874/5462] Linking CXX executable bin/llvm-exegesis
[4875/5462] Building AMDGPUGenGlobalISel.inc...
[4876/5462] Building AMDGPUGenAsmMatcher.inc...
[4877/5462] Building AMDGPUGenAsmWriter.inc...
[4878/5462] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[4879/5462] Linking CXX static library lib/libclangDriver.a
[4880/5462] 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-aarch64-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-aarch64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:41:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   41 | typedef _Complex long double cfloat128;
      |         ^
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-aarch64-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-aarch64-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)
...
[2975/2979] Generating FuzzerUtils-aarch64-Test
[2976/2979] Generating FuzzerTestObjects.FuzzerUnittest.cpp.aarch64.o
[2977/2979] Generating FuzzerTestObjects.gtest-all.cc.aarch64.o
[2978/2979] Generating Fuzzer-aarch64-Test
[2978/2979] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-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: 6131 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: TypeSanitizer-aarch64 :: anon-same-struct.c (4960 of 6131)
******************** TEST 'TypeSanitizer-aarch64 :: anon-same-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-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-aarch64 :: anon-struct.c (4961 of 6131)
******************** TEST 'TypeSanitizer-aarch64 :: anon-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-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-aarch64 :: basic.c (4962 of 6131)
******************** TEST 'TypeSanitizer-aarch64 :: basic.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/basic.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp 10 >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp.out.0 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/basic.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-unknown-linux-gnu/libclang_rt.tysan.a: No such file or directory
Step 10 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[4751/5462] Linking CXX static library lib/libLLVMLoongArchCodeGen.a
[4752/5462] Linking CXX static library lib/libLLVMXCoreCodeGen.a
[4753/5462] Linking CXX static library lib/liblldCommon.a
[4754/5462] Linking CXX static library lib/libLLVMSystemZCodeGen.a
[4755/5462] Linking CXX static library lib/libLLVMGlobalISel.a
[4756/5462] Linking CXX static library lib/libLLVMNVPTXCodeGen.a
[4757/5462] Linking CXX static library lib/libLLVMWebAssemblyCodeGen.a
[4758/5462] Linking CXX static library lib/libclangToolingInclusions.a
[4759/5462] Linking CXX static library lib/libLLVMLTO.a
[4760/5462] 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-aarch64-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-aarch64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:41:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   41 | typedef _Complex long double cfloat128;
      |         ^
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-aarch64-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-aarch64-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)
...
[2973/2977] Generating FuzzerTestObjects.gtest-all.cc.aarch64.o
[2974/2977] Generating Fuzzer-aarch64-Test
[2975/2977] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64.o
[2976/2977] Generating Msan-aarch64-Test
[2976/2977] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-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: 3095 of 6132 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: TypeSanitizer-aarch64 :: anon-same-struct.c (2326 of 3095)
******************** TEST 'TypeSanitizer-aarch64 :: anon-same-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-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-aarch64 :: anon-struct.c (2327 of 3095)
******************** TEST 'TypeSanitizer-aarch64 :: anon-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-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-aarch64 :: basic.c (2328 of 3095)
******************** TEST 'TypeSanitizer-aarch64 :: basic.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/basic.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp 10 >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp.out.0 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/basic.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/basic.c.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-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)
...
[4843/5443] Building CXX object lib/Target/X86/MCTargetDesc/CMakeFiles/LLVMX86Desc.dir/X86WinCOFFStreamer.cpp.o
[4844/5443] Building CXX object lib/Target/X86/TargetInfo/CMakeFiles/LLVMX86Info.dir/X86TargetInfo.cpp.o
[4845/5443] Building CXX object tools/llvm-exegesis/CMakeFiles/llvm-exegesis.dir/llvm-exegesis.cpp.o
[4846/5443] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/LLVMExegesisX86.dir/X86Counter.cpp.o
[4847/5443] Building CXX object lib/Target/X86/MCTargetDesc/CMakeFiles/LLVMX86Desc.dir/X86WinCOFFTargetStreamer.cpp.o
[4848/5443] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/LLVMExegesisX86.dir/Target.cpp.o
[4849/5443] Linking CXX static library lib/libLLVMX86Info.a
[4850/5443] Linking CXX static library lib/libLLVMX86Disassembler.a
[4851/5443] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[4852/5443] 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-aarch64-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-aarch64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:41:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   41 | typedef _Complex long double cfloat128;
      |         ^
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-aarch64-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-aarch64-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)
...
[4868/5462] Linking CXX executable bin/llvm-objcopy
[4869/5462] Linking CXX executable bin/sanstats
[4870/5462] Generating ../../bin/llvm-strip
[4871/5462] Linking CXX executable bin/obj2yaml
[4872/5462] Generating ../../bin/llvm-install-name-tool
[4873/5462] Generating ../../bin/llvm-bitcode-strip
[4874/5462] Building AMDGPUGenAsmWriter.inc...
[4875/5462] Linking CXX executable bin/llvm-exegesis
[4876/5462] Building AMDGPUGenDAGISel.inc...
[4877/5462] 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-aarch64-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-aarch64-linux/build/build_default/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -I/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:41:9: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   41 | typedef _Complex long double cfloat128;
      |         ^
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/home/b/sanitizer-aarch64-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-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/b/sanitizer-aarch64-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-aarch64-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)
...
[2973/2977] Generating FuzzerUtils-aarch64-Test
[2974/2977] Generating FuzzerTestObjects.FuzzerUnittest.cpp.aarch64.o
[2975/2977] Generating FuzzerTestObjects.gtest-all.cc.aarch64.o
[2976/2977] Generating Fuzzer-aarch64-Test
[2976/2977] Running compiler_rt regression tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-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: 6131 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: TypeSanitizer-aarch64 :: anon-same-struct.c (4954 of 6131)
******************** TEST 'TypeSanitizer-aarch64 :: anon-same-struct.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp.out 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/anon-same-struct.c -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/anon-same-struct.c.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-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-aarch64 :: constexpr-subobject.cpp (4957 of 6131)
******************** TEST 'TypeSanitizer-aarch64 :: constexpr-subobject.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang  -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only   -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta   -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/constexpr-subobject.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/constexpr-subobject.cpp.tmp &&  /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/constexpr-subobject.cpp.tmp >/home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/constexpr-subobject.cpp.tmp.out 2>&1
+ /home/b/sanitizer-aarch64-linux/build/build_default/./bin/clang -fsanitize=type -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O0 /home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/tysan/constexpr-subobject.cpp -o /home/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config/Output/constexpr-subobject.cpp.tmp
ld: error: cannot open /home/b/sanitizer-aarch64-linux/build/build_default/lib/clang/21/lib/aarch64-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-aarch64 :: anon-struct.c (4958 of 6131)
******************** TEST 'TypeSanitizer-aarch64 :: anon-struct.c' FAILED ********************
Exit Code: 1

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

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-linux-multistage running on ppc64le-clang-multistage-test while building libc,llvm at step 4 "build stage 1".

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

Here is the relevant piece of the build log for the reference
Step 4 (build stage 1) failure: 'ninja' (failure)
...
[5045/6313] Creating library symlink lib/libLLVMAsmParser.so
[5046/6313] Creating library symlink lib/libLLVMBitReader.so
[5047/6313] Linking CXX executable bin/llvm-bcanalyzer
[5048/6313] Linking CXX shared library lib/libLLVMIRReader.so.21.0git
[5049/6313] Creating library symlink lib/libLLVMIRReader.so
[5050/6313] Linking CXX executable bin/llvm-dis
[5051/6313] Linking CXX executable bin/llvm-diff
[5052/6313] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[5053/6313] Building X86GenSubtargetInfo.inc...
[5054/6313] 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 /usr/lib64/ccache/c++ -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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:31,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h: In function ‘constexpr bool __llvm_libc_common_utils::cpp::is_constant_evaluated()’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: error: ‘__builtin_is_constant_evaluated’ was not declared in this scope
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_constant_evaluated.h:18:10: note: suggested alternative: ‘is_constant_evaluated’
   return __builtin_is_constant_evaluated();
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          is_constant_evaluated
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:25,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::add_with_carry(T, T, T, T&)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/math_extras.h:77:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/math_extras.h:77:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/math_extras.h: In function ‘constexpr __llvm_libc_common_utils::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_common_utils::sub_with_borrow(T, T, T, T&)’:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/math_extras.h:103:44:   in ‘constexpr’ expansion of ‘__llvm_libc_common_utils::cpp::is_constant_evaluated()’
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/math_extras.h:103:46: error: ‘constexpr’ call flows off the end of the function
   if constexpr (!cpp::is_constant_evaluated()) {
                                              ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/cmake/Modules/../../libc/shared/rpc_server.h:12,
                 from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16,

jhuber6 added a commit to jhuber6/llvm-project that referenced this pull request Mar 20, 2025
…)"

Summary:
There were a few issues with the first one, leading to some errors and
warnings. Most importantly, this was building on MSVC which isn't
supported.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

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

Here is the relevant piece of the build log for the reference
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

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-windows running on premerge-windows-1 while building libc,llvm at step 5 "clean-build-dir".

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

Here is the relevant piece of the build log for the reference
Step 5 (clean-build-dir) failure: Delete failed. (failure)
Step 7 (build-unified-tree) failure: build (failure)
...
[9239/13635] Building CXX object tools\llvm-jitlink\CMakeFiles\llvm-jitlink.dir\llvm-jitlink-macho.cpp.obj
[9240/13635] Building CXX object tools\llvm-jitlink\CMakeFiles\llvm-jitlink.dir\llvm-jitlink-statistics.cpp.obj
[9241/13635] Linking CXX executable bin\llvm-debuginfo-analyzer.exe
[9242/13635] Linking CXX static library lib\LLVMExegesisRISCV.lib
[9243/13635] Building CXX object tools\llvm-libtool-darwin\CMakeFiles\llvm-libtool-darwin.dir\llvm-libtool-darwin.cpp.obj
[9244/13635] Building CXX object tools\llvm-link\CMakeFiles\llvm-link.dir\llvm-link.cpp.obj
[9245/13635] Linking CXX executable bin\fir-opt.exe
[9246/13635] Linking CXX executable bin\lli.exe
[9247/13635] Building CXX object tools\llvm-lipo\CMakeFiles\llvm-lipo.dir\llvm-lipo-driver.cpp.obj
[9248/13635] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
sccache C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\llvm-gpu-loader -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\tools\llvm-gpu-loader -Iinclude -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\include -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\cmake\Modules\..\..\libc /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\ws\buildbot\premerge-monolithic-windows\llvm-project\cmake\Modules\..\..\libc\src/__support/macros/optimization.h(36): fatal error C1189: #error:  "Unhandled compiler"
[9249/13635] Building CXX object tools\llvm-lipo\CMakeFiles\llvm-lipo.dir\llvm-lipo.cpp.obj
[9250/13635] Building CXX object tools\llvm-jitlink\CMakeFiles\llvm-jitlink.dir\llvm-jitlink.cpp.obj
[9251/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\DispatchStatistics.cpp.obj
[9252/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\BottleneckAnalysis.cpp.obj
[9253/13635] Linking CXX executable bin\llvm-ifs.exe
[9254/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\PipelinePrinter.cpp.obj
[9255/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\CodeRegion.cpp.obj
[9256/13635] Building CXX object tools\llvm-mc\CMakeFiles\llvm-mc.dir\Disassembler.cpp.obj
[9257/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\InstructionView.cpp.obj
[9258/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\RegisterFileStatistics.cpp.obj
[9259/13635] Building CXX object tools\llvm-mc\CMakeFiles\llvm-mc.dir\llvm-mc.cpp.obj
[9260/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\InstructionInfoView.cpp.obj
[9261/13635] Building CXX object tools\llvm-lto2\CMakeFiles\llvm-lto2.dir\llvm-lto2.cpp.obj
[9262/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\ResourcePressureView.cpp.obj
[9263/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\RetireControlUnitStatistics.cpp.obj
[9264/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\llvm-mca.cpp.obj
[9265/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\CodeRegionGenerator.cpp.obj
[9266/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\SchedulerStatistics.cpp.obj
[9267/13635] Building CXX object tools\llvm-jitlink\llvm-jitlink-executor\CMakeFiles\llvm-jitlink-executor.dir\llvm-jitlink-executor.cpp.obj
[9268/13635] Linking CXX executable bin\llvm-link.exe
[9269/13635] Linking CXX executable bin\llvm-extract.exe
[9270/13635] Linking CXX executable bin\llvm-libtool-darwin.exe
[9271/13635] Linking CXX executable bin\llvm-exegesis.exe
[9272/13635] Linking CXX executable bin\dsymutil.exe
[9273/13635] Linking CXX executable bin\llvm-c-test.exe
[9274/13635] Linking CXX executable bin\llvm-dwp.exe
[9275/13635] Linking CXX executable bin\llvm-gsymutil.exe
[9276/13635] Linking CXX executable bin\llvm-dwarfutil.exe
[9277/13635] Linking CXX executable bin\llvm-isel-fuzzer.exe
[9278/13635] Linking CXX executable bin\llc.exe
[9279/13635] Building CXX object tools\flang\lib\Frontend\CMakeFiles\flangFrontend.dir\cmake_pch.cxx.obj
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-sharedlibs running on linaro-flang-aarch64-sharedlibs while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^~~~~~~~~~                      ~
../llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable 'params' [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
7 warnings generated.
1104.569 [375/1/7238] Creating library symlink lib/libLLVMExegesisAArch64.so
1104.900 [374/1/7239] Linking CXX executable bin/llvm-exegesis
1105.249 [373/1/7240] Linking CXX executable bin/llvm-extract
1105.402 [372/1/7241] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/local/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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 -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/./lib  -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE'
/usr/bin/ld: /home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/./lib/libLLVMTargetParser.so.21.0git: error adding symbols: DSO missing from command line
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[3788/4154] Linking CXX executable bin/llvm-jitlink-executor
[3789/4154] Linking CXX executable bin/llvm-bcanalyzer
[3790/4154] Linking CXX executable bin/llvm-stress
[3791/4154] Linking CXX executable bin/llvm-dis
[3792/4154] Building CXX object tools/clang/tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o
[3793/4154] Linking CXX executable bin/llvm-diff
[3794/4154] Building CXX object tools/clang/tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o
[3795/4154] Building CXX object tools/clang/tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o
[3796/4154] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[3797/4154] 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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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,
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:806:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
  806 | }
      | ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:817:50: note: in instantiation of function template specialization '__llvm_libc_common_utils::fputil::get_fp_type<long double>' requested here
  817 | struct FPBits final : public internal::FPRepImpl<get_fp_type<T>(), FPBits<T>> {
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:59:11: note: in instantiation of template class '__llvm_libc_common_utils::fputil::FPBits<long double>' requested here
   59 |   fputil::FPBits<long double>::StorageType conv_val_raw;
      |           ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
Step 8 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[3788/4154] Linking CXX executable bin/llvm-jitlink-executor
[3789/4154] Linking CXX executable bin/llvm-bcanalyzer
[3790/4154] Linking CXX executable bin/llvm-stress
[3791/4154] Linking CXX executable bin/llvm-dis
[3792/4154] Building CXX object tools/clang/tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o
[3793/4154] Linking CXX executable bin/llvm-diff
[3794/4154] Building CXX object tools/clang/tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o
[3795/4154] Building CXX object tools/clang/tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o
[3796/4154] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[3797/4154] 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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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,
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:806:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
  806 | }
      | ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:817:50: note: in instantiation of function template specialization '__llvm_libc_common_utils::fputil::get_fp_type<long double>' requested here
  817 | struct FPBits final : public internal::FPRepImpl<get_fp_type<T>(), FPBits<T>> {
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:59:11: note: in instantiation of template class '__llvm_libc_common_utils::fputil::FPBits<long double>' requested here
   59 |   fputil::FPBits<long double>::StorageType conv_val_raw;
      |           ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
Step 10 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[3768/4135] Building CXX object tools/clang/tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o
[3769/4135] Building CXX object tools/clang/tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o
[3770/4135] Linking CXX executable bin/llvm-bcanalyzer
[3771/4135] Linking CXX executable bin/llvm-stress
[3772/4135] Linking CXX executable bin/llvm-dis
[3773/4135] Building CXX object tools/clang/tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o
[3774/4135] Building CXX object tools/clang/tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o
[3775/4135] Linking CXX executable bin/llvm-diff
[3776/4135] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/ClangInstallAPI.cpp.o
[3777/4135] 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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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,
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:806:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
  806 | }
      | ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:817:50: note: in instantiation of function template specialization '__llvm_libc_common_utils::fputil::get_fp_type<long double>' requested here
  817 | struct FPBits final : public internal::FPRepImpl<get_fp_type<T>(), FPBits<T>> {
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:59:11: note: in instantiation of template class '__llvm_libc_common_utils::fputil::FPBits<long double>' requested here
   59 |   fputil::FPBits<long double>::StorageType conv_val_raw;
      |           ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
Step 11 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[3788/4154] Linking CXX executable bin/llvm-jitlink-executor
[3789/4154] Building CXX object tools/clang/tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o
[3790/4154] Linking CXX executable bin/llvm-bcanalyzer
[3791/4154] Building CXX object tools/clang/tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o
[3792/4154] Linking CXX executable bin/llvm-stress
[3793/4154] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/ClangInstallAPI.cpp.o
[3794/4154] Linking CXX executable bin/llvm-dis
[3795/4154] Building CXX object tools/clang/tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o
[3796/4154] Linking CXX executable bin/llvm-diff
[3797/4154] 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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/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,
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:806:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
  806 | }
      | ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:817:50: note: in instantiation of function template specialization '__llvm_libc_common_utils::fputil::get_fp_type<long double>' requested here
  817 | struct FPBits final : public internal::FPRepImpl<get_fp_type<T>(), FPBits<T>> {
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:59:11: note: in instantiation of template class '__llvm_libc_common_utils::fputil::FPBits<long double>' requested here
   59 |   fputil::FPBits<long double>::StorageType conv_val_raw;
      |           ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-latest-gcc running on linaro-flang-aarch64-latest-gcc while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
107.080 [185/6/7227] Linking CXX shared library lib/libFIROpenACCSupport.so.21.0git
107.087 [184/6/7228] Creating library symlink lib/libFIROpenACCSupport.so
107.259 [182/7/7229] Linking CXX shared library lib/libFIRTestOpenACCInterfaces.so.21.0git
107.266 [181/7/7230] Creating library symlink lib/libFIRTestOpenACCInterfaces.so
107.306 [181/6/7231] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
../llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp: In function ‘int main(int, const char**, const char**)’:
../llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable ‘params’ [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
107.388 [180/6/7232] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/local/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/./lib  -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib && :
/usr/bin/ld: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o: undefined reference to symbol '_ZN4llvm6Triple15getArchTypeNameENS0_8ArchTypeE'
/usr/bin/ld: /home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/./lib/libLLVMTargetParser.so.21.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
107.564 [180/5/7233] Linking CXX shared library lib/libFIRTransforms.so.21.0git
107.618 [180/4/7234] Linking CXX shared library lib/libFlangOpenMPTransforms.so.21.0git
108.318 [180/3/7235] Linking CXX shared library lib/libFortranSemantics.so.21.0git
108.325 [180/2/7236] Linking CXX executable bin/fir-lsp-server
162.120 [180/1/7237] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/cmake_pch.hxx.gch
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-darwin running on doug-worker-3 while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
226.390 [210/12/5802] Generating ../../../../lib/libscanbuild/resources/sorttable.js
226.417 [209/12/5803] Generating ../../../../bin/scan-view
226.419 [208/12/5804] Generating ../../../../share/scan-view/Reporter.py
226.451 [207/12/5805] Generating ../../../../share/scan-view/ScanView.py
226.453 [206/12/5806] Generating ../../../../share/scan-view/bugcatcher.ico
226.472 [205/12/5807] Generating ../../../../share/scan-view/startfile.py
226.528 [204/12/5808] Linking CXX static library lib/libclangTidyPlugin.a
227.323 [203/12/5809] Linking CXX executable bin/clang-extdef-mapping
227.441 [202/12/5810] Linking CXX static library lib/libclangIncludeFixerPlugin.a
230.023 [201/12/5811] 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/local/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/buildbot/buildbot-root/x86_64-darwin/build/tools/llvm-gpu-loader -I/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader -I/Users/buildbot/buildbot-root/x86_64-darwin/build/include -I/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/include -I/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -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 -O3 -DNDEBUG -std=c++17 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk  -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 /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:14:
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/include/llvm-libc-types/cfloat16.h:18:9: warning: '_Complex' is a C99 extension [-Wc99-extensions]
typedef _Complex _Float16 cfloat16;
        ^
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: warning: '_Complex' is a C99 extension [-Wc99-extensions]
      __is_unqualified_any_of<T, _Complex float, _Complex double,
                                 ^
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: warning: '_Complex' is a C99 extension [-Wc99-extensions]
      __is_unqualified_any_of<T, _Complex float, _Complex double,
                                                 ^
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: warning: '_Complex' is a C99 extension [-Wc99-extensions]
                              _Complex long double
                              ^
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    report_error(std::move(elf_or_err.takeError()));
                 ^
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: note: remove std::move call here
    report_error(std::move(elf_or_err.takeError()));
                 ^~~~~~~~~~                      ~
/Users/buildbot/buildbot-root/x86_64-darwin/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable 'params' [-Wunused-variable]
  LaunchParameters params{threads_x, threads_y, threads_z,
                   ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64le-rhel running on ppc64le-clang-rhel-test while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
49.904 [1187/28/5235] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64A53Fix835769.cpp.o
49.909 [1187/27/5236] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64ISelLowering.cpp.o
49.912 [1187/26/5237] Linking CXX shared library lib/libLLVMAArch64Desc.so.21.0git
49.914 [1186/26/5238] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64AsmPrinter.cpp.o
49.918 [1186/25/5239] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64ISelDAGToDAG.cpp.o
49.919 [1186/24/5240] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64InstructionSelector.cpp.o
49.919 [1186/23/5241] Creating library symlink lib/libLLVMAArch64Desc.so
49.954 [1185/23/5242] Linking CXX shared library lib/libLLVMAArch64Disassembler.so.21.0git
49.961 [1184/23/5243] Creating library symlink lib/libLLVMAArch64Disassembler.so
50.633 [1184/22/5244] 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 /home/buildbots/llvm-external-buildbots/clang.19.1.7/bin/clang++ --gcc-toolchain=/gcc-toolchain/usr -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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/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/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/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,
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:806:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
  806 | }
      | ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/__support/FPUtil/FPBits.h:817:50: note: in instantiation of function template specialization '__llvm_libc_common_utils::fputil::get_fp_type<long double>' requested here
  817 | struct FPBits final : public internal::FPRepImpl<get_fp_type<T>(), FPBits<T>> {
      |                                                  ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:59:11: note: in instantiation of template class '__llvm_libc_common_utils::fputil::FPBits<long double>' requested here
   59 |   fputil::FPBits<long double>::StorageType conv_val_raw;
      |           ^
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:16:

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder lldb-aarch64-windows running on linaro-armv8-windows-msvc-05 while building libc,llvm at step 4 "build".

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

Here is the relevant piece of the build log for the reference
Step 4 (build) failure: build (failure)
...
557.404 [155/10/6496] Generating ../../bin/llvm-ranlib.exe
557.507 [154/10/6497] Generating ../../bin/llvm-lib.exe
557.523 [153/10/6498] Linking CXX executable bin\llvm-config.exe
557.544 [152/10/6499] Linking CXX static library lib\clangDynamicASTMatchers.lib
557.556 [151/10/6500] Generating ../../bin/llvm-dlltool.exe
557.638 [150/10/6501] Linking CXX static library lib\clangAnalysisFlowSensitiveModels.lib
557.719 [149/10/6502] Linking CXX static library lib\clangTransformer.lib
557.745 [148/10/6503] Linking CXX static library lib\clangDirectoryWatcher.lib
557.757 [147/10/6504] Linking CXX static library lib\clangToolingInclusionsStdlib.lib
557.799 [146/10/6505] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
ccache C:\Users\tcwg\scoop\apps\llvm\current\bin\clang-cl.exe  /nologo -TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\llvm-gpu-loader -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\tools\llvm-gpu-loader -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include -IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\cmake\Modules\..\..\libc /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2 /DNDEBUG -std:c++17 -MD  /EHs-c- /GR- /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ -c -- C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp(34,10): fatal error: 'sys/file.h' file not found
   34 | #include <sys/file.h>
      |          ^~~~~~~~~~~~
1 error generated.
557.799 [146/9/6506] Linking CXX executable bin\llvm-profdata.exe
557.831 [146/8/6507] Linking CXX static library lib\clangIndexSerialization.lib
557.838 [146/7/6508] Linking CXX executable bin\llvm-ctxprof-util.exe
558.189 [146/6/6509] Linking CXX executable bin\apinotes-test.exe
558.555 [146/5/6510] Linking CXX executable bin\diagtool.exe
559.081 [146/4/6511] Linking CXX executable bin\llvm-lto.exe
559.128 [146/3/6512] Linking CXX shared library bin\LTO.dll
561.444 [146/2/6513] Linking CXX executable bin\lld.exe
561.837 [146/1/6514] Linking CXX executable bin\clang.exe
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder polly-x86_64-linux-shared running on polly-x86_64-gce2 while building libc,llvm at step 5 "build".

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

Here is the relevant piece of the build log for the reference
Step 5 (build) failure: 'ninja' (failure)
...
      |                              ^~~~~~~~~~~
/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp: In function ‘int main(int, const char**, const char**)’:
/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable ‘params’ [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
[4256/4334] Linking CXX shared module lib/ExampleIRTransforms.so
[4257/4334] Building CXX object examples/Bye/CMakeFiles/Bye.dir/Bye.cpp.o
[4258/4334] Linking C shared library lib/libPollyISL.so
[4259/4334] Linking CXX shared module lib/Bye.so
[4260/4334] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics     -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.obj/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.obj/lib && :
ld.lld: error: undefined symbol: llvm::Triple::getArchTypeName(llvm::Triple::ArchType)
>>> referenced by llvm-gpu-loader.cpp
>>>               tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o:(main)
collect2: error: ld returned 1 exit status
[4261/4334] Linking CXX shared module lib/LLVMPolly.so
[4262/4334] Linking CXX shared library lib/libPolly.so.21.0git
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder polly-x86_64-linux-shared-plugin running on polly-x86_64-gce2 while building libc,llvm at step 5 "build".

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

Here is the relevant piece of the build log for the reference
Step 5 (build) failure: 'ninja' (failure)
...
   55 |   [[maybe_unused]] WriteMode write_mode_;
      |                              ^~~~~~~~~~~
/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp: In function ‘int main(int, const char**, const char**)’:
/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.src/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable ‘params’ [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
[3853/4334] Linking CXX static library lib/libLLVMExegesisX86_static.a
[3854/4334] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil.cpp.o
[3855/4334] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil-driver.cpp.o
[3856/4334] Linking CXX executable bin/llvm-gpu-loader
FAILED: bin/llvm-gpu-loader 
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics     -Wl,--gc-sections tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -o bin/llvm-gpu-loader  -Wl,-rpath,"\$ORIGIN/../lib:/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.obj/lib:"  lib/libLLVMOption.so.21.0git  lib/libLLVMFrontendOffloading.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMSupport.so.21.0git  -Wl,-rpath-link,/home/worker/buildbot-workers/polly-x86_64-gce2/rundir/llvm.obj/lib && :
ld.lld: error: undefined symbol: llvm::Triple::getArchTypeName(llvm::Triple::ArchType)
>>> referenced by llvm-gpu-loader.cpp
>>>               tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o:(main)
collect2: error: ld returned 1 exit status
[3857/4334] Linking CXX shared library lib/libLLVMExegesisX86.so.21.0git
[3858/4334] Linking CXX executable bin/llvm-gsymutil
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder clang-solaris11-sparcv9 running on solaris11-sparcv9 while building libc,llvm at step 4 "build stage 1".

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

Here is the relevant piece of the build log for the reference
Step 4 (build stage 1) failure: 'ninja -j8' (failure)
...
[4939/5611] Building CXX object tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find.cpp.o
[4940/5611] Building CXX object tools/llvm-diff/CMakeFiles/llvm-diff.dir/llvm-diff.cpp.o
[4941/5611] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp-driver.cpp.o
[4942/5611] Linking CXX static library lib/libLLVMExegesis.a
[4943/5611] Building CXX object tools/llvm-debuginfo-analyzer/CMakeFiles/llvm-debuginfo-analyzer.dir/llvm-debuginfo-analyzer.cpp.o
[4944/5611] Building CXX object tools/llvm-debuginfo-analyzer/CMakeFiles/llvm-debuginfo-analyzer.dir/Options.cpp.o
[4945/5611] Building CXX object tools/llvm-dis/CMakeFiles/llvm-dis.dir/llvm-dis.cpp.o
[4946/5611] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp.cpp.o
[4947/5611] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil-driver.cpp.o
[4948/5611] 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 
/opt/llvm/19/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/llvm-gpu-loader -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/include -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/include -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/include/llvm/Support/Solaris -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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  -O -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -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 /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:41:9: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   41 | typedef _Complex long double cfloat128;
      |         ^
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:126:53: error: use of undeclared identifier 'O_RDONLY'
  126 |     fd = open(get_main_executable(argv[0]).c_str(), O_RDONLY);
      |                                                     ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:127:19: error: use of undeclared identifier 'LOCK_EX'
  127 |     if (flock(fd, LOCK_EX) == -1)
      |                   ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 20, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-win-x-aarch64 running on as-builder-2 while building libc,llvm at step 8 "build-default".

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

Here is the relevant piece of the build log for the reference
Step 8 (build-default) failure: cmake (failure)
...
101.204 [31/45/4917]Building CXX object tools\obj2yaml\CMakeFiles\obj2yaml.dir\dwarf2yaml.cpp.obj
101.205 [31/44/4918]Building CXX object tools\obj2yaml\CMakeFiles\obj2yaml.dir\xcoff2yaml.cpp.obj
101.206 [31/43/4919]Building CXX object tools\obj2yaml\CMakeFiles\obj2yaml.dir\wasm2yaml.cpp.obj
101.208 [31/42/4920]Building CXX object tools\obj2yaml\CMakeFiles\obj2yaml.dir\macho2yaml.cpp.obj
101.210 [31/41/4921]Building CXX object tools\obj2yaml\CMakeFiles\obj2yaml.dir\elf2yaml.cpp.obj
101.236 [30/41/4922]Building CXX object tools\sancov\CMakeFiles\sancov.dir\sancov.cpp.obj
101.257 [29/41/4923]Linking CXX executable bin\llvm-strings.exe
101.258 [29/40/4924]Linking CXX executable bin\llvm-pdbutil.exe
101.309 [29/39/4925]Linking CXX static library lib\LLVMOptDriver.lib
101.329 [28/39/4926]Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-2\x-aarch64\build\tools\llvm-gpu-loader -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\tools\llvm-gpu-loader -IC:\buildbot\as-builder-2\x-aarch64\build\include -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc -external:IC:\buildbot\fs\zlib-win32\include -external:W0 -D__OPTIMIZE__ /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\buildbot\as-builder-2\x-aarch64\llvm-project\libc\shared\rpc_util.h(267): error C3861: '__builtin_memcpy': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(74): note: while compiling class template 'rpc::Process'
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2187: syntax error: 'float' was unexpected here
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): note: the template instantiation context (the oldest one first) is
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(22): note: while compiling class template '__llvm_libc_common_utils::cpp::is_complex'
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2062: type 'float' unexpected
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3861: '__builtin_ctz': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3861: '__builtin_ctzl': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3861: '__builtin_ctzll': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): note: failure was caused by control reaching the end of a constexpr function
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3861: '__builtin_clz': identifier not found
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
C:\buildbot\as-builder-2\x-aarch64\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): note: failure was caused by control reaching the end of a constexpr function

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 21, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-win running on as-worker-93 while building libc,llvm at step 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[3717/4048] Linking CXX executable bin\llvm-dwarfdump.exe
[3718/4048] Linking CXX static library lib\LLVMExegesisRISCV.lib
[3719/4048] Building CXX object tools\llvm-cov\CMakeFiles\llvm-cov.dir\SourceCoverageViewText.cpp.obj
[3720/4048] Building CXX object tools\llvm-dwp\CMakeFiles\llvm-dwp.dir\llvm-dwp-driver.cpp.obj
[3721/4048] Building RC object tools\llvm-extract\CMakeFiles\llvm-extract.dir\__\__\resources\windows_version_resource.rc.res
[3722/4048] Building RC object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\__\__\resources\windows_version_resource.rc.res
[3723/4048] Building CXX object tools\opt\CMakeFiles\LLVMOptDriver.dir\optdriver.cpp.obj
[3724/4048] Building CXX object tools\llc\CMakeFiles\llc.dir\llc.cpp.obj
[3725/4048] Building RC object tools\llvm-gsymutil\CMakeFiles\llvm-gsymutil.dir\__\__\resources\windows_version_resource.rc.res
[3726/4048] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\a\lld-x86_64-win\build\tools\llvm-gpu-loader -IC:\a\lld-x86_64-win\llvm-project\llvm\tools\llvm-gpu-loader -IC:\a\lld-x86_64-win\build\include -IC:\a\lld-x86_64-win\llvm-project\llvm\include -IC:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\a\lld-x86_64-win\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\a\lld-x86_64-win\llvm-project\libc\shared\rpc_util.h(267): error C3861: '__builtin_memcpy': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): note: the template instantiation context (the oldest one first) is
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(74): note: while compiling class template 'rpc::Process'
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(118): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(125): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(135): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(136): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(149): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(205): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(213): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(260): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\shared/rpc.h(271): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2187: syntax error: 'float' was unexpected here
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): note: the template instantiation context (the oldest one first) is
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(22): note: while compiling class template '__llvm_libc_common_utils::cpp::is_complex'
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2062: type 'float' unexpected
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3861: '__builtin_ctz': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(109): note: failure was caused by control reaching the end of a constexpr function
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3861: '__builtin_ctzl': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(110): note: failure was caused by control reaching the end of a constexpr function
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3861: '__builtin_ctzll': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(111): note: failure was caused by control reaching the end of a constexpr function
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3861: '__builtin_clz': identifier not found
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
C:\a\lld-x86_64-win\llvm-project\cmake\Modules\..\..\libc\src/__support/CPP/bit.h(148): note: failure was caused by control reaching the end of a constexpr function

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 21, 2025

LLVM Buildbot has detected a new failure on builder ppc64-flang-aix running on ppc64-flang-aix-test while building libc,llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
12135.318 [500/10/7581] Linking CXX static library lib/libLLVMExegesis.a
12137.421 [499/10/7582] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o
12137.567 [498/10/7583] Building Opts.inc...
12139.986 [497/10/7584] Building CXX object tools/flang/tools/bbc/CMakeFiles/bbc.dir/bbc.cpp.o
12140.118 [496/10/7585] Building CXX object tools/llvm-exegesis/lib/AArch64/CMakeFiles/LLVMExegesisAArch64.dir/Target.cpp.o
12140.240 [495/10/7586] Building CXX object tools/llvm-exegesis/lib/PowerPC/CMakeFiles/LLVMExegesisPowerPC.dir/Target.cpp.o
12140.290 [494/10/7587] Linking CXX static library lib/libLLVMExegesisAArch64.a
12140.530 [493/10/7588] Linking CXX static library lib/libLLVMExegesisPowerPC.a
12140.653 [492/10/7589] Building Opts.inc...
12141.099 [491/10/7590] 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 
/home/llvm/llvm-external-buildbots/clang.17.0.2/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LARGE_FILE_API -D_XOPEN_SOURCE=700 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/tools/llvm-gpu-loader -I/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader -I/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/build/include -I/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/include -I/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc -mcmodel=large -fPIC -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 -pthread -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/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                  ^
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   31 |       __is_unqualified_any_of<T, _Complex float, _Complex double,
      |                                                  ^
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: warning: '_Complex' is a C99 extension [-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: note: remove std::move call here
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^~~~~~~~~~                      ~
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: warning: unused variable 'params' [-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:329:25: error: use of undeclared identifier 'fwrite_unlocked'
  329 |       buffer->data[0] = fwrite_unlocked(strs[id], 1, sizes[id], files[id]);
      |                         ^
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:327:15: note: while substituting into a lambda expression here
  327 |     port.send([&](rpc::Buffer *buffer, uint32_t id) {
      |               ^
/home/llvm/llvm-external-buildbots/workers/ppc64-flang-aix-test/ppc64-flang-aix-build/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:533:22: note: in instantiation of function template specialization '__llvm_libc_common_utils::internal::handle_port_impl<1U>' requested here
  533 |     return internal::handle_port_impl<1>(port);
      |                      ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 21, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-win running on as-worker-93 while building libc,llvm at step 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[3281/4048] Building RC object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\__\__\resources\windows_version_resource.rc.res
[3282/4048] Linking CXX static library lib\LLVMExegesisX86.lib
[3283/4048] Building CXX object tools\llvm-debuginfod\CMakeFiles\llvm-debuginfod.dir\llvm-debuginfod-driver.cpp.obj
[3284/4048] Linking CXX static library lib\LLVMExegesisPowerPC.lib
[3285/4048] Building CXX object tools\llvm-exegesis\lib\AArch64\CMakeFiles\LLVMExegesisAArch64.dir\Target.cpp.obj
[3286/4048] Building CXX object tools\llvm-cxxfilt\CMakeFiles\llvm-cxxfilt.dir\llvm-cxxfilt-driver.cpp.obj
[3287/4048] Building CXX object tools\llvm-exegesis\lib\Mips\CMakeFiles\LLVMExegesisMips.dir\Target.cpp.obj
[3288/4048] Linking CXX static library lib\LLVMExegesisAArch64.lib
[3289/4048] Linking CXX static library lib\LLVMExegesisMips.lib
[3290/4048] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe  /nologo /TP -DEXPENSIVE_CHECKS -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\a\llvm-clang-x86_64-expensive-checks-win\build\tools\llvm-gpu-loader -IC:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\llvm\tools\llvm-gpu-loader -IC:\a\llvm-clang-x86_64-expensive-checks-win\build\include -IC:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\llvm\include -IC:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\cmake\Modules\..\..\libc /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Ob0 /Od /RTC1 -std:c++17 -MDd -Zi  /EHs-c- /GR- /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared\rpc_util.h(267): error C3861: '__builtin_memcpy': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(118): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(118): note: the template instantiation context (the oldest one first) is
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(74): note: while compiling class template 'rpc::Process'
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(118): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(125): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(125): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(135): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(136): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(135): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(136): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(149): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(149): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(205): error C3861: '__ATOMIC_ACQUIRE': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(205): error C2065: '__ATOMIC_ACQUIRE': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(213): error C3861: '__ATOMIC_RELEASE': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(213): error C2065: '__ATOMIC_RELEASE': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(260): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(260): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(271): error C3861: '__ATOMIC_RELAXED': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\shared/rpc.h(271): error C2065: '__ATOMIC_RELAXED': undeclared identifier
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2187: syntax error: 'float' was unexpected here
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/type_traits/is_complex.h(31): note: the template instantiation context (the oldest one first) is
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/type_traits/is_complex.h(22): note: while compiling class template '__llvm_libc_common_utils::cpp::is_complex'
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/type_traits/is_complex.h(31): error C2062: type 'float' unexpected
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(109): error C3861: '__builtin_ctz': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(109): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(109): note: failure was caused by control reaching the end of a constexpr function
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(110): error C3861: '__builtin_ctzl': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(110): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(110): note: failure was caused by control reaching the end of a constexpr function
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(111): error C3861: '__builtin_ctzll': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(111): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countr_zero' cannot result in a constant expression
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(111): note: failure was caused by control reaching the end of a constexpr function
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(148): error C3861: '__builtin_clz': identifier not found
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(148): error C3615: constexpr function '__llvm_libc_common_utils::cpp::countl_zero' cannot result in a constant expression
C:\a\llvm-clang-x86_64-expensive-checks-win\llvm-project\libc\src/__support/CPP/bit.h(148): note: failure was caused by control reaching the end of a constexpr function

jhuber6 added a commit that referenced this pull request Mar 21, 2025
…#132277)

Summary:
There were a few issues with the first one, leading to some errors and
warnings. Most importantly, this was building on MSVC which isn't
supported.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 21, 2025

LLVM Buildbot has detected a new failure on builder clang-ppc64-aix running on aix-ppc64 while building libc,llvm at step 3 "clean-build-dir".

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

Here is the relevant piece of the build log for the reference
Step 3 (clean-build-dir) failure: Delete failed. (failure) (timed out)
Step 5 (build-unified-tree) failure: build (failure)
...
6304.164 [424/10/4895] Building CXX object tools/llvm-exegesis/lib/PowerPC/CMakeFiles/LLVMExegesisPowerPC.dir/Target.cpp.o
6304.266 [423/10/4896] Building CXX object tools/llvm-exegesis/lib/Mips/CMakeFiles/LLVMExegesisMips.dir/Target.cpp.o
6304.367 [422/10/4897] Building Opts.inc...
6304.929 [421/10/4898] Building CXX object tools/llvm-exegesis/lib/AArch64/CMakeFiles/LLVMExegesisAArch64.dir/Target.cpp.o
6305.084 [420/10/4899] Building Opts.inc...
6305.379 [419/10/4900] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/DummyISelFuzzer.cpp.o
6308.038 [418/10/4901] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil-driver.cpp.o
6309.637 [417/10/4902] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/ErrorCollector.cpp.o
6314.362 [416/10/4903] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs-driver.cpp.o
6314.460 [415/10/4904] 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 
/usr/local/clang-17.0.2/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_LARGE_FILE_API -D_XOPEN_SOURCE=700 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/tools/llvm-gpu-loader -I/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader -I/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/include -I/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/include -I/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc -mcmodel=large -fPIC -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 -pthread -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/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/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/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/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,
      |                                                  ^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: error: '_Complex' is a C99 extension [-Werror,-Wc99-extensions]
   32 |                               _Complex long double
      |                               ^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: note: remove std::move call here
  138 |     report_error(std::move(elf_or_err.takeError()));
      |                  ^~~~~~~~~~                      ~
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:132:20: error: unused variable 'params' [-Werror,-Wunused-variable]
  132 |   LaunchParameters params{threads_x, threads_y, threads_z,
      |                    ^~~~~~
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/shared/rpc_server.h:12:
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:329:25: error: use of undeclared identifier 'fwrite_unlocked'
  329 |       buffer->data[0] = fwrite_unlocked(strs[id], 1, sizes[id], files[id]);
      |                         ^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:327:15: note: while substituting into a lambda expression here
  327 |     port.send([&](rpc::Buffer *buffer, uint32_t id) {
      |               ^
/home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:533:22: note: in instantiation of function template specialization '__llvm_libc_common_utils::internal::handle_port_impl<1U>' requested here
  533 |     return internal::handle_port_impl<1>(port);
      |                      ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Mar 25, 2025

LLVM Buildbot has detected a new failure on builder clang-arm64-windows-msvc running on linaro-armv8-windows-msvc-04 while building libc,llvm at step 4 "build stage 1".

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

Here is the relevant piece of the build log for the reference
Step 4 (build stage 1) failure: 'ninja' (failure)
...
[8996/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceArguments.cpp.obj
[8997/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceAttributes.cpp.obj
[8998/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceBasicBlocks.cpp.obj
[8999/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceDIMetadata.cpp.obj
[9000/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceDistinctMetadata.cpp.obj
[9001/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceDbgRecords.cpp.obj
[9002/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceFunctionBodies.cpp.obj
[9003/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceFunctions.cpp.obj
[9004/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalObjects.cpp.obj
[9005/9326] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
ccache C:\Users\tcwg\scoop\apps\llvm\current\bin\clang-cl.exe  /nologo -TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\tools\llvm-gpu-loader -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\tools\llvm-gpu-loader -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\include -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\include -IC:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\cmake\Modules\..\..\libc /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ -c -- C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp(34,10): fatal error: 'sys/file.h' file not found
   34 | #include <sys/file.h>
      |          ^~~~~~~~~~~~
1 error generated.
[9006/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalValues.cpp.obj
[9007/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalVarInitializers.cpp.obj
[9008/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceGlobalVars.cpp.obj
[9009/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\deltas\ReduceInstructions.cpp.obj
[9010/9326] Building CXX object tools\clang\tools\extra\clangd\index\dex\dexp\CMakeFiles\dexp.dir\Dexp.cpp.obj
[9011/9326] Building CXX object tools\clang\tools\extra\clangd\indexer\CMakeFiles\clangd-indexer.dir\IndexerMain.cpp.obj
[9012/9326] Building CXX object tools\clang\tools\extra\clangd\refactor\tweaks\CMakeFiles\obj.clangDaemonTweaks.dir\RemoveUsingNamespace.cpp.obj
[9013/9326] Building CXX object tools\clang\tools\extra\clangd\refactor\tweaks\CMakeFiles\obj.clangDaemonTweaks.dir\ExtractFunction.cpp.obj
[9014/9326] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\ReducerWorkItem.cpp.obj
ninja: build stopped: subcommand failed.

# TODO: We intentionally split this currently due to statically linking the
# GPU runtimes. Dynamically load the dependencies, possibly using the
# LLVM offloading API when it is complete.
PARTIAL_SOURCES_INTENDED
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a correct use of PARTIAL_SOURCES_INTENDED. It is intended to be used only when you are building multiple targets within a single file. Here, you should just include all sources and use #ifdef.

target_link_libraries(llvm-gpu-loader PUBLIC llvm-libc-common-utilities)

# Check for HSA support for targeting AMD GPUs.
find_package(hsa-runtime64 QUIET 1.2.0 HINTS ${CMAKE_INSTALL_PREFIX} PATHS /opt/rocm)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silent automagic dependency on hsa-runtime64 (and CUDA runtime below) deep down the source tree is a horrible idea. I've filed bug #132890 specifically about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants