Skip to content

Reapply: [llvm-objdump] Add support for HIP offload bundles #140128

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

Merged
merged 2 commits into from
May 16, 2025

Conversation

david-salinas
Copy link
Contributor

Utilize the new extensions to the LLVM Offloading API to extend to llvm-objdump to handle dumping fatbin offload bundles generated by HIP. This extension to llvm-objdump adds the option --offload-fatbin. Specifying this option will take the input object/executable and extract all offload fatbin bundle entries into distinct code object files with names reflecting the source file name combined with the Bundle Entry ID. Users can also use the --arch-name option to filter offload fatbin bundle entries by their target triple.

  With the intention to provide a common API for offloading, this
  extension to the existing LLVM Offloading API adds support for
  Binary Fatbin Bundles; moving some support from the Clang offloading
  API.  The intention is to add functionality to LLVM tooling for
  Binary Fatbin Bundles in subsequent commits.

Change-Id: I907fdcbcd0545162a0ce1cf17ebf7c9f3a4dbde6
@llvmbot
Copy link
Member

llvmbot commented May 15, 2025

@llvm/pr-subscribers-llvm-binary-utilities

Author: David Salinas (david-salinas)

Changes

Utilize the new extensions to the LLVM Offloading API to extend to llvm-objdump to handle dumping fatbin offload bundles generated by HIP. This extension to llvm-objdump adds the option --offload-fatbin. Specifying this option will take the input object/executable and extract all offload fatbin bundle entries into distinct code object files with names reflecting the source file name combined with the Bundle Entry ID. Users can also use the --arch-name option to filter offload fatbin bundle entries by their target triple.


Patch is 68.92 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/140128.diff

10 Files Affected:

  • (modified) llvm/docs/CommandGuide/llvm-objdump.rst (+1-1)
  • (added) llvm/include/llvm/Object/OffloadBundle.h (+211)
  • (modified) llvm/lib/Object/CMakeLists.txt (+1)
  • (added) llvm/lib/Object/OffloadBundle.cpp (+472)
  • (added) llvm/test/tools/llvm-objdump/Offloading/fatbin.test (+60)
  • (modified) llvm/tools/llvm-objdump/OffloadDump.cpp (+45-1)
  • (modified) llvm/tools/llvm-objdump/OffloadDump.h (+5-1)
  • (modified) llvm/tools/llvm-objdump/llvm-objdump.cpp (+2-1)
  • (modified) llvm/unittests/Object/CMakeLists.txt (+1)
  • (added) llvm/unittests/Object/OffloadingBundleTest.cpp (+89)
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst
index ab9f583e96ec6..5e5eaccecd2b7 100644
--- a/llvm/docs/CommandGuide/llvm-objdump.rst
+++ b/llvm/docs/CommandGuide/llvm-objdump.rst
@@ -217,7 +217,7 @@ OPTIONS
 
 .. option:: --offloading
 
-  Display the content of the LLVM offloading section.
+  Display the content of the LLVM offloading sections and HIP offload bundles.
 
 .. option:: --prefix=<prefix>
 
diff --git a/llvm/include/llvm/Object/OffloadBundle.h b/llvm/include/llvm/Object/OffloadBundle.h
new file mode 100644
index 0000000000000..7fc0ab141966a
--- /dev/null
+++ b/llvm/include/llvm/Object/OffloadBundle.h
@@ -0,0 +1,211 @@
+//===- OffloadBundle.h - Utilities for offload bundles---*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===-------------------------------------------------------------------------===//
+//
+// This file contains the binary format used for budingling device metadata with
+// an associated device image. The data can then be stored inside a host object
+// file to create a fat binary and read by the linker. This is intended to be a
+// thin wrapper around the image itself. If this format becomes sufficiently
+// complex it should be moved to a standard binary format like msgpack or ELF.
+//
+//===-------------------------------------------------------------------------===//
+
+#ifndef LLVM_OBJECT_OFFLOADBUNDLE_H
+#define LLVM_OBJECT_OFFLOADBUNDLE_H
+
+#include "llvm/ADT/MapVector.h"
+#include "llvm/ADT/SmallString.h"
+#include "llvm/ADT/StringRef.h"
+#include "llvm/Object/Binary.h"
+#include "llvm/Object/ObjectFile.h"
+#include "llvm/Support/Compression.h"
+#include "llvm/Support/Error.h"
+#include "llvm/Support/MemoryBuffer.h"
+#include <memory>
+
+namespace llvm {
+
+namespace object {
+
+class CompressedOffloadBundle {
+private:
+  static inline const size_t MagicSize = 4;
+  static inline const size_t VersionFieldSize = sizeof(uint16_t);
+  static inline const size_t MethodFieldSize = sizeof(uint16_t);
+  static inline const size_t FileSizeFieldSize = sizeof(uint32_t);
+  static inline const size_t UncompressedSizeFieldSize = sizeof(uint32_t);
+  static inline const size_t HashFieldSize = sizeof(uint64_t);
+  static inline const size_t V1HeaderSize =
+      MagicSize + VersionFieldSize + MethodFieldSize +
+      UncompressedSizeFieldSize + HashFieldSize;
+  static inline const size_t V2HeaderSize =
+      MagicSize + VersionFieldSize + FileSizeFieldSize + MethodFieldSize +
+      UncompressedSizeFieldSize + HashFieldSize;
+  static inline const llvm::StringRef MagicNumber = "CCOB";
+  static inline const uint16_t Version = 2;
+
+public:
+  static llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
+  compress(llvm::compression::Params P, const llvm::MemoryBuffer &Input,
+           bool Verbose = false);
+  static llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
+  decompress(llvm::MemoryBufferRef &Input, bool Verbose = false);
+};
+
+/// Bundle entry in binary clang-offload-bundler format.
+struct OffloadBundleEntry {
+  uint64_t Offset = 0u;
+  uint64_t Size = 0u;
+  uint64_t IDLength = 0u;
+  StringRef ID;
+  OffloadBundleEntry(uint64_t O, uint64_t S, uint64_t I, StringRef T)
+      : Offset(O), Size(S), IDLength(I), ID(T) {}
+  void dumpInfo(raw_ostream &OS) {
+    OS << "Offset = " << Offset << ", Size = " << Size
+       << ", ID Length = " << IDLength << ", ID = " << ID;
+  }
+  void dumpURI(raw_ostream &OS, StringRef FilePath) {
+    OS << ID.data() << "\tfile://" << FilePath << "#offset=" << Offset
+       << "&size=" << Size << "\n";
+  }
+};
+
+/// Fat binary embedded in object files in clang-offload-bundler format
+class OffloadBundleFatBin {
+
+  uint64_t Size = 0u;
+  StringRef FileName;
+  uint64_t NumberOfEntries;
+  SmallVector<OffloadBundleEntry> Entries;
+
+public:
+  SmallVector<OffloadBundleEntry> getEntries() { return Entries; }
+  uint64_t getSize() const { return Size; }
+  StringRef getFileName() const { return FileName; }
+  uint64_t getNumEntries() const { return NumberOfEntries; }
+
+  static Expected<std::unique_ptr<OffloadBundleFatBin>>
+  create(MemoryBufferRef, uint64_t SectionOffset, StringRef FileName);
+  Error extractBundle(const ObjectFile &Source);
+
+  Error dumpEntryToCodeObject();
+
+  Error readEntries(StringRef Section, uint64_t SectionOffset);
+  void dumpEntries() {
+    for (OffloadBundleEntry &Entry : Entries)
+      Entry.dumpInfo(outs());
+  }
+
+  void printEntriesAsURI() {
+    for (OffloadBundleEntry &Entry : Entries)
+      Entry.dumpURI(outs(), FileName);
+  }
+
+  OffloadBundleFatBin(MemoryBufferRef Source, StringRef File)
+      : FileName(File), NumberOfEntries(0),
+        Entries(SmallVector<OffloadBundleEntry>()) {}
+
+  SmallVector<OffloadBundleEntry> entryIDContains(StringRef Str) {
+
+    SmallVector<OffloadBundleEntry> Found = SmallVector<OffloadBundleEntry>();
+    llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
+      if (X.ID.contains(Str))
+        return X;
+    });
+    return Found;
+  }
+};
+
+enum UriTypeT { FILE_URI, MEMORY_URI };
+
+struct OffloadBundleURI {
+  int64_t Offset = 0;
+  int64_t Size = 0;
+  uint64_t ProcessID = 0;
+  StringRef FileName;
+  UriTypeT URIType;
+
+  // Constructors
+  // TODO: add a Copy ctor ?
+  OffloadBundleURI(StringRef File, int64_t Off, int64_t Size)
+      : Offset(Off), Size(Size), ProcessID(0), FileName(File),
+        URIType(FILE_URI) {}
+
+public:
+  static Expected<std::unique_ptr<OffloadBundleURI>>
+  createOffloadBundleURI(StringRef Str, UriTypeT Type) {
+    switch (Type) {
+    case FILE_URI:
+      return createFileURI(Str);
+      break;
+    case MEMORY_URI:
+      return createMemoryURI(Str);
+      break;
+    default:
+      return createStringError(object_error::parse_failed,
+                               "Unrecognized URI type");
+    }
+  }
+
+  static Expected<std::unique_ptr<OffloadBundleURI>>
+  createFileURI(StringRef Str) {
+    int64_t O = 0;
+    int64_t S = 0;
+
+    if (!Str.consume_front("file://"))
+      return createStringError(object_error::parse_failed,
+                               "Reading type of URI");
+
+    StringRef FilePathname =
+        Str.take_until([](char C) { return (C == '#') || (C == '?'); });
+    Str = Str.drop_front(FilePathname.size());
+
+    if (!Str.consume_front("#offset="))
+      return createStringError(object_error::parse_failed,
+                               "Reading 'offset' in URI");
+
+    StringRef OffsetStr = Str.take_until([](char C) { return C == '&'; });
+    OffsetStr.getAsInteger(10, O);
+    Str = Str.drop_front(OffsetStr.size());
+
+    if (Str.consume_front("&size="))
+      return createStringError(object_error::parse_failed,
+                               "Reading 'size' in URI");
+
+    Str.getAsInteger(10, S);
+    std::unique_ptr<OffloadBundleURI> OffloadingURI(
+        new OffloadBundleURI(FilePathname, O, S));
+    return OffloadingURI;
+  }
+
+  static Expected<std::unique_ptr<OffloadBundleURI>>
+  createMemoryURI(StringRef Str) {
+    // TODO: add parseMemoryURI type
+    return createStringError(object_error::parse_failed,
+                             "Memory Type URI is not currently supported.");
+  }
+
+  StringRef getFileName() const { return FileName; }
+};
+
+/// Extracts fat binary in binary clang-offload-bundler format from object \p
+/// Obj and return it in \p Bundles
+Error extractOffloadBundleFatBinary(
+    const ObjectFile &Obj, SmallVectorImpl<OffloadBundleFatBin> &Bundles);
+
+/// Extract code object memory from the given \p Source object file at \p Offset
+/// and of \p Size, and copy into \p OutputFileName.
+Error extractCodeObject(const ObjectFile &Source, int64_t Offset, int64_t Size,
+                        StringRef OutputFileName);
+
+/// Extracts an Offload Bundle Entry given by URI
+Error extractOffloadBundleByURI(StringRef URIstr);
+
+} // namespace object
+
+} // namespace llvm
+#endif
diff --git a/llvm/lib/Object/CMakeLists.txt b/llvm/lib/Object/CMakeLists.txt
index bfb420e57a7f4..870169a83174f 100644
--- a/llvm/lib/Object/CMakeLists.txt
+++ b/llvm/lib/Object/CMakeLists.txt
@@ -22,6 +22,7 @@ add_llvm_component_library(LLVMObject
   Object.cpp
   ObjectFile.cpp
   OffloadBinary.cpp
+  OffloadBundle.cpp
   RecordStreamer.cpp
   RelocationResolver.cpp
   SymbolicFile.cpp
diff --git a/llvm/lib/Object/OffloadBundle.cpp b/llvm/lib/Object/OffloadBundle.cpp
new file mode 100644
index 0000000000000..2ecd669f815cc
--- /dev/null
+++ b/llvm/lib/Object/OffloadBundle.cpp
@@ -0,0 +1,472 @@
+//===- OffloadBundle.cpp - Utilities for offload bundles---*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------===//
+
+#include "llvm/Object/OffloadBundle.h"
+#include "llvm/ADT/StringSwitch.h"
+#include "llvm/BinaryFormat/Magic.h"
+#include "llvm/IR/Constants.h"
+#include "llvm/IR/Module.h"
+#include "llvm/IRReader/IRReader.h"
+#include "llvm/MC/StringTableBuilder.h"
+#include "llvm/Object/Archive.h"
+#include "llvm/Object/Binary.h"
+#include "llvm/Object/COFF.h"
+#include "llvm/Object/ELFObjectFile.h"
+#include "llvm/Object/Error.h"
+#include "llvm/Object/IRObjectFile.h"
+#include "llvm/Object/ObjectFile.h"
+#include "llvm/Support/Alignment.h"
+#include "llvm/Support/BinaryStreamReader.h"
+#include "llvm/Support/SourceMgr.h"
+#include "llvm/Support/Timer.h"
+
+using namespace llvm;
+using namespace llvm::object;
+
+static llvm::TimerGroup
+    OffloadBundlerTimerGroup("Offload Bundler Timer Group",
+                             "Timer group for offload bundler");
+
+// Extract an Offload bundle (usually a Offload Bundle) from a fat_bin
+// section
+Error extractOffloadBundle(MemoryBufferRef Contents, uint64_t SectionOffset,
+                           StringRef FileName,
+                           SmallVectorImpl<OffloadBundleFatBin> &Bundles) {
+
+  uint64_t Offset = 0;
+  int64_t NextbundleStart = 0;
+
+  // There could be multiple offloading bundles stored at this section.
+  while (NextbundleStart >= 0) {
+
+    std::unique_ptr<MemoryBuffer> Buffer =
+        MemoryBuffer::getMemBuffer(Contents.getBuffer().drop_front(Offset), "",
+                                   /*RequiresNullTerminator=*/false);
+
+    // Create the FatBinBindle object. This will also create the Bundle Entry
+    // list info.
+    auto FatBundleOrErr =
+        OffloadBundleFatBin::create(*Buffer, SectionOffset + Offset, FileName);
+    if (!FatBundleOrErr)
+      return FatBundleOrErr.takeError();
+
+    // Add current Bundle to list.
+    Bundles.emplace_back(std::move(**FatBundleOrErr));
+
+    // Find the next bundle by searching for the magic string
+    StringRef Str = Buffer->getBuffer();
+    NextbundleStart =
+        (int64_t)Str.find(StringRef("__CLANG_OFFLOAD_BUNDLE__"), 24);
+
+    if (NextbundleStart >= 0)
+      Offset += NextbundleStart;
+  }
+
+  return Error::success();
+}
+
+Error OffloadBundleFatBin::readEntries(StringRef Buffer,
+                                       uint64_t SectionOffset) {
+  uint64_t NumOfEntries = 0;
+
+  BinaryStreamReader Reader(Buffer, llvm::endianness::little);
+
+  // Read the Magic String first.
+  StringRef Magic;
+  if (auto EC = Reader.readFixedString(Magic, 24))
+    return errorCodeToError(object_error::parse_failed);
+
+  // Read the number of Code Objects (Entries) in the current Bundle.
+  if (auto EC = Reader.readInteger(NumOfEntries))
+    return errorCodeToError(object_error::parse_failed);
+
+  NumberOfEntries = NumOfEntries;
+
+  // For each Bundle Entry (code object)
+  for (uint64_t I = 0; I < NumOfEntries; I++) {
+    uint64_t EntrySize;
+    uint64_t EntryOffset;
+    uint64_t EntryIDSize;
+    StringRef EntryID;
+
+    if (auto EC = Reader.readInteger(EntryOffset))
+      return errorCodeToError(object_error::parse_failed);
+
+    if (auto EC = Reader.readInteger(EntrySize))
+      return errorCodeToError(object_error::parse_failed);
+
+    if (auto EC = Reader.readInteger(EntryIDSize))
+      return errorCodeToError(object_error::parse_failed);
+
+    if (auto EC = Reader.readFixedString(EntryID, EntryIDSize))
+      return errorCodeToError(object_error::parse_failed);
+
+    auto Entry = std::make_unique<OffloadBundleEntry>(
+        EntryOffset + SectionOffset, EntrySize, EntryIDSize, EntryID);
+
+    Entries.push_back(*Entry);
+  }
+
+  return Error::success();
+}
+
+Expected<std::unique_ptr<OffloadBundleFatBin>>
+OffloadBundleFatBin::create(MemoryBufferRef Buf, uint64_t SectionOffset,
+                            StringRef FileName) {
+  if (Buf.getBufferSize() < 24)
+    return errorCodeToError(object_error::parse_failed);
+
+  // Check for magic bytes.
+  if (identify_magic(Buf.getBuffer()) != file_magic::offload_bundle)
+    return errorCodeToError(object_error::parse_failed);
+
+  OffloadBundleFatBin *TheBundle = new OffloadBundleFatBin(Buf, FileName);
+
+  // Read the Bundle Entries
+  Error Err = TheBundle->readEntries(Buf.getBuffer(), SectionOffset);
+  if (Err)
+    return errorCodeToError(object_error::parse_failed);
+
+  return std::unique_ptr<OffloadBundleFatBin>(TheBundle);
+}
+
+Error OffloadBundleFatBin::extractBundle(const ObjectFile &Source) {
+  // This will extract all entries in the Bundle
+  for (OffloadBundleEntry &Entry : Entries) {
+
+    if (Entry.Size == 0)
+      continue;
+
+    // create output file name. Which should be
+    // <fileName>-offset<Offset>-size<Size>.co"
+    std::string Str = getFileName().str() + "-offset" + itostr(Entry.Offset) +
+                      "-size" + itostr(Entry.Size) + ".co";
+    if (Error Err = object::extractCodeObject(Source, Entry.Offset, Entry.Size,
+                                              StringRef(Str)))
+      return Err;
+  }
+
+  return Error::success();
+}
+
+Error object::extractOffloadBundleFatBinary(
+    const ObjectFile &Obj, SmallVectorImpl<OffloadBundleFatBin> &Bundles) {
+  assert((Obj.isELF() || Obj.isCOFF()) && "Invalid file type");
+
+  // Iterate through Sections until we find an offload_bundle section.
+  for (SectionRef Sec : Obj.sections()) {
+    Expected<StringRef> Buffer = Sec.getContents();
+    if (!Buffer)
+      return Buffer.takeError();
+
+    // If it does not start with the reserved suffix, just skip this section.
+    if ((llvm::identify_magic(*Buffer) == llvm::file_magic::offload_bundle) ||
+        (llvm::identify_magic(*Buffer) ==
+         llvm::file_magic::offload_bundle_compressed)) {
+
+      uint64_t SectionOffset = 0;
+      if (Obj.isELF()) {
+        SectionOffset = ELFSectionRef(Sec).getOffset();
+      } else if (Obj.isCOFF()) // TODO: add COFF Support 
+        return createStringError(object_error::parse_failed, "COFF object files not supported.\n");
+
+      MemoryBufferRef Contents(*Buffer, Obj.getFileName());
+
+      if (llvm::identify_magic(*Buffer) ==
+          llvm::file_magic::offload_bundle_compressed) {
+        // Decompress the input if necessary.
+        Expected<std::unique_ptr<MemoryBuffer>> DecompressedBufferOrErr =
+            CompressedOffloadBundle::decompress(Contents, false);
+
+        if (!DecompressedBufferOrErr)
+          return createStringError(
+              inconvertibleErrorCode(),
+              "Failed to decompress input: " +
+                  llvm::toString(DecompressedBufferOrErr.takeError()));
+
+        MemoryBuffer &DecompressedInput = **DecompressedBufferOrErr;
+        if (Error Err = extractOffloadBundle(DecompressedInput, SectionOffset,
+                                             Obj.getFileName(), Bundles))
+          return Err;
+      } else {
+        if (Error Err = extractOffloadBundle(Contents, SectionOffset,
+                                             Obj.getFileName(), Bundles))
+          return Err;
+      }
+    }
+  }
+  return Error::success();
+}
+
+Error object::extractCodeObject(const ObjectFile &Source, int64_t Offset,
+                                int64_t Size, StringRef OutputFileName) {
+  Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
+      FileOutputBuffer::create(OutputFileName, Size);
+
+  if (!BufferOrErr)
+    return BufferOrErr.takeError();
+
+  Expected<MemoryBufferRef> InputBuffOrErr = Source.getMemoryBufferRef();
+  if (Error Err = InputBuffOrErr.takeError())
+    return Err;
+
+  std::unique_ptr<FileOutputBuffer> Buf = std::move(*BufferOrErr);
+  std::copy(InputBuffOrErr->getBufferStart() + Offset,
+            InputBuffOrErr->getBufferStart() + Offset + Size,
+            Buf->getBufferStart());
+  if (Error E = Buf->commit())
+    return E;
+
+  return Error::success();
+}
+
+// given a file name, offset, and size, extract data into a code object file,
+// into file <SourceFile>-offset<Offset>-size<Size>.co
+Error object::extractOffloadBundleByURI(StringRef URIstr) {
+  // create a URI object
+  Expected<std::unique_ptr<OffloadBundleURI>> UriOrErr(
+      OffloadBundleURI::createOffloadBundleURI(URIstr, FILE_URI));
+  if (!UriOrErr)
+    return UriOrErr.takeError();
+
+  OffloadBundleURI &Uri = **UriOrErr;
+  std::string OutputFile = Uri.FileName.str();
+  OutputFile +=
+      "-offset" + itostr(Uri.Offset) + "-size" + itostr(Uri.Size) + ".co";
+
+  // Create an ObjectFile object from uri.file_uri
+  auto ObjOrErr = ObjectFile::createObjectFile(Uri.FileName);
+  if (!ObjOrErr)
+    return ObjOrErr.takeError();
+
+  auto Obj = ObjOrErr->getBinary();
+  if (Error Err =
+          object::extractCodeObject(*Obj, Uri.Offset, Uri.Size, OutputFile))
+    return Err;
+
+  return Error::success();
+}
+
+// Utility function to format numbers with commas
+static std::string formatWithCommas(unsigned long long Value) {
+  std::string Num = std::to_string(Value);
+  int InsertPosition = Num.length() - 3;
+  while (InsertPosition > 0) {
+    Num.insert(InsertPosition, ",");
+    InsertPosition -= 3;
+  }
+  return Num;
+}
+
+llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
+CompressedOffloadBundle::decompress(llvm::MemoryBufferRef &Input,
+                                    bool Verbose) {
+  StringRef Blob = Input.getBuffer();
+
+  if (Blob.size() < V1HeaderSize)
+    return llvm::MemoryBuffer::getMemBufferCopy(Blob);
+
+  if (llvm::identify_magic(Blob) !=
+      llvm::file_magic::offload_bundle_compressed) {
+    if (Verbose)
+      llvm::errs() << "Uncompressed bundle.\n";
+    return llvm::MemoryBuffer::getMemBufferCopy(Blob);
+  }
+
+  size_t CurrentOffset = MagicSize;
+
+  uint16_t ThisVersion;
+  memcpy(&ThisVersion, Blob.data() + CurrentOffset, sizeof(uint16_t));
+  CurrentOffset += VersionFieldSize;
+
+  uint16_t CompressionMethod;
+  memcpy(&CompressionMethod, Blob.data() + CurrentOffset, sizeof(uint16_t));
+  CurrentOffset += MethodFieldSize;
+
+  uint32_t TotalFileSize;
+  if (ThisVersion >= 2) {
+    if (Blob.size() < V2HeaderSize)
+      return createStringError(inconvertibleErrorCode(),
+                               "Compressed bundle header size too small");
+    memcpy(&TotalFileSize, Blob.data() + CurrentOffset, sizeof(uint32_t));
+    CurrentOffset += FileSizeFieldSize;
+  }
+
+  uint32_t UncompressedSize;
+  memcpy(&UncompressedSize, Blob.data() + CurrentOffset, sizeof(uint32_t));
+  CurrentOffset += UncompressedSizeFieldSize;
+
+  uint64_t StoredHash;
+  memcpy(&StoredHash, Blob.data() + CurrentOffset, sizeof(uint64_t));
+  CurrentOffset += HashFieldSize;
+
+  llvm::compression::Format CompressionFormat;
+  if (CompressionMethod ==
+      static_cast<uint16_t>(llvm::compression::Format::Zlib))
+    CompressionFormat = llvm::compression::Format::Zlib;
+  else if (CompressionMethod ==
+           static_cast<uint16_t>(llvm::compression::Format::Zstd))
+    CompressionFormat = llvm::compression::Format::Zstd;
+  else
+    return createStringError(inconvertibleErrorCode(),
+                             "Unknown compressing method");
+
+  llvm::Timer DecompressTimer("Decompression Timer", "Decompression time",
+                              OffloadBundlerTimerGroup);
+  if (Verbose)
+    DecompressTimer.startTimer();
+
+  SmallVector<uint8_t, 0> DecompressedData;
+  StringRef Compre...
[truncated]

Copy link

github-actions bot commented May 15, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@david-salinas david-salinas force-pushed the extend-llvm-objdump-fatbin branch from 186620c to 734cb63 Compare May 15, 2025 20:19
  extend option --offloading

Change-Id: Ibc865f80e30aa1a6e5495ecfe617be68a5e15fcf
@david-salinas david-salinas force-pushed the extend-llvm-objdump-fatbin branch from 734cb63 to 43f6c72 Compare May 15, 2025 20:28
@david-salinas david-salinas merged commit 910220b into llvm:main May 16, 2025
12 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder mlir-nvidia-gcc7 running on mlir-nvidia while building llvm at step 6 "build-check-mlir-build-only".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-check-mlir-build-only) failure: build (failure)
...
16.570 [1444/16/3329] Building CXX object tools/mlir/lib/Dialect/Func/Extensions/CMakeFiles/obj.MLIRFuncMeshShardingExtensions.dir/MeshShardingExtensions.cpp.o
16.575 [1443/16/3330] Building CXX object tools/mlir/lib/Dialect/Func/Transforms/CMakeFiles/obj.MLIRFuncTransforms.dir/FuncConversions.cpp.o
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Dialect/Func/Transforms/FuncConversions.cpp: In member function ‘virtual llvm::LogicalResult {anonymous}::CallOpSignatureConversion::matchAndRewrite(mlir::func::CallOp, mlir::OpConversionPattern<mlir::func::CallOp>::OneToNOpAdaptor, mlir::ConversionPatternRewriter&) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/lib/Dialect/Func/Transforms/FuncConversions.cpp:39:25: warning: unused variable ‘idx’ [-Wunused-variable]
     for (auto [idx, type] : llvm::enumerate(callOp.getResultTypes())) {
                         ^
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-deprecated-copy’
cc1plus: warning: unrecognized command line option ‘-Wno-unnecessary-virtual-specifier’
16.576 [1442/16/3331] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/g++-7 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/lib/Object -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Object -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include -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 -Wno-unnecessary-virtual-specifier -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Object/OffloadBundle.cpp
In file included from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Object/OffloadBundle.cpp:9:0:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/Object/OffloadBundle.h: In static member function ‘static llvm::Expected<std::unique_ptr<llvm::object::OffloadBundleURI> > llvm::object::OffloadBundleURI::createFileURI(llvm::StringRef)’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/Object/OffloadBundle.h:182:12: error: could not convert ‘OffloadingURI’ from ‘std::unique_ptr<llvm::object::OffloadBundleURI>’ to ‘llvm::Expected<std::unique_ptr<llvm::object::OffloadBundleURI> >’
     return OffloadingURI;
            ^~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unnecessary-virtual-specifier’
16.577 [1442/15/3332] Building CXX object tools/mlir/lib/Dialect/Func/IR/CMakeFiles/obj.MLIRFuncDialect.dir/FuncOps.cpp.o
16.577 [1442/14/3333] Building CXX object tools/mlir/lib/Dialect/Func/Transforms/CMakeFiles/obj.MLIRFuncTransforms.dir/DuplicateFunctionElimination.cpp.o
16.589 [1442/13/3334] Building CXX object tools/mlir/lib/Dialect/Func/TransformOps/CMakeFiles/obj.MLIRFuncTransformOps.dir/FuncTransformOps.cpp.o
16.593 [1442/12/3335] Building CXX object tools/mlir/lib/Dialect/GPU/CMakeFiles/obj.MLIRGPUDialect.dir/IR/ValueBoundsOpInterfaceImpl.cpp.o
16.594 [1442/11/3336] Building CXX object tools/mlir/lib/Dialect/GPU/CMakeFiles/obj.MLIRGPUTransforms.dir/Transforms/GlobalIdRewriter.cpp.o
16.599 [1442/10/3337] Building CXX object tools/mlir/lib/Dialect/GPU/CMakeFiles/obj.MLIRGPUDialect.dir/IR/GPUDialect.cpp.o
16.605 [1442/9/3338] Building CXX object tools/mlir/lib/Dialect/GPU/CMakeFiles/obj.MLIRGPUTransforms.dir/Transforms/BufferDeallocationOpInterfaceImpl.cpp.o
16.606 [1442/8/3339] Linking CXX static library lib/libMLIRAsyncDialect.a
16.610 [1442/7/3340] Linking CXX static library lib/libMLIRDLTIDialect.a
16.611 [1442/6/3341] Linking CXX static library lib/libMLIRPass.a
16.691 [1442/5/3342] Linking CXX static library lib/libMLIREmitCDialect.a
19.580 [1442/4/3343] Building X86GenInstrInfo.inc...
20.563 [1442/3/3344] Building X86GenSubtargetInfo.inc...
20.651 [1442/2/3345] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
29.832 [1442/1/3346] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
ninja: build stopped: subcommand failed.

@jhuber6
Copy link
Contributor

jhuber6 commented May 16, 2025

The above comes from gcc7 and older compilers not correctly eliding the move on the expected type. Normally you need to manually std::move it. Hopefully some day we'll deprecate gcc7 because this happens all the time.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
8.668 [4243/32/2902] Building MPITypesGen.cpp.inc...
8.669 [4242/32/2903] Building NVGPUTransformOps.cpp.inc...
8.669 [4241/32/2904] Building Passes.h.inc...
8.670 [4240/32/2905] Building Passes.capi.h.inc...
8.670 [4239/32/2906] Building AccCommon.td...
8.673 [4238/32/2907] Building NVGPUOps.cpp.inc...
8.675 [4237/32/2908] Building LLVMAttrInterfaces.cpp.inc...
8.675 [4236/32/2909] Building LLVMAttrInterfaces.h.inc...
8.675 [4235/32/2910] Building NVGPUTransformOps.h.inc...
8.676 [4234/32/2911] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Object -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Object -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -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 -Wno-unnecessary-virtual-specifier -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Object/OffloadBundle.cpp:9:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/Object/OffloadBundle.h: In static member function ‘static llvm::Expected<std::unique_ptr<llvm::object::OffloadBundleURI> > llvm::object::OffloadBundleURI::createFileURI(llvm::StringRef)’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/Object/OffloadBundle.h:182:12: error: could not convert ‘OffloadingURI’ from ‘std::unique_ptr<llvm::object::OffloadBundleURI>’ to ‘llvm::Expected<std::unique_ptr<llvm::object::OffloadBundleURI> >’
     return OffloadingURI;
            ^~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unnecessary-virtual-specifier’
8.676 [4234/31/2912] Building LLVMInterfaces.cpp.inc...
8.677 [4234/30/2913] Linking CXX static library lib/libLLVMX86Desc.a
8.677 [4234/29/2914] Building LLVMInterfaces.h.inc...
8.677 [4234/28/2915] Building LLVMTypeInterfaces.h.inc...
8.677 [4234/27/2916] Building LLVMTypeInterfaces.cpp.inc...
8.679 [4234/26/2917] Building MPIAttrDefs.cpp.inc...
8.680 [4234/25/2918] Building MPIAttrDefs.h.inc...
8.682 [4234/24/2919] Building MPIEnums.cpp.inc...
8.684 [4234/23/2920] Building MPIEnums.h.inc...
8.684 [4234/22/2921] Building NVGPUEnums.cpp.inc...
8.684 [4234/21/2922] Building NVGPUEnums.h.inc...
8.707 [4234/20/2923] Linking CXX static library lib/libLLVMCore.a
9.769 [4234/19/2924] Building AMDGPUGenMCPseudoLowering.inc...
10.119 [4234/18/2925] Building AMDGPUGenPreLegalizeGICombiner.inc...
10.356 [4234/17/2926] Building AMDGPUGenPostLegalizeGICombiner.inc...
10.633 [4234/16/2927] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
10.715 [4234/15/2928] Building AMDGPUGenDisassemblerTables.inc...
10.811 [4234/14/2929] Building AMDGPUGenRegBankGICombiner.inc...
10.952 [4234/13/2930] Building AMDGPUGenMCCodeEmitter.inc...
11.880 [4234/12/2931] Building AMDGPUGenCallingConv.inc...
13.359 [4234/11/2932] Building AMDGPUGenAsmWriter.inc...
13.838 [4234/10/2933] Building AMDGPUGenGlobalISel.inc...
13.974 [4234/9/2934] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
14.071 [4234/8/2935] Building AMDGPUGenDAGISel.inc...
14.126 [4234/7/2936] Building AMDGPUGenAsmMatcher.inc...
15.105 [4234/6/2937] Building AMDGPUGenInstrInfo.inc...
16.314 [4234/5/2938] Building AMDGPUGenRegisterBank.inc...
16.381 [4234/4/2939] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/LTO/LTO.h:23:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/LTO/LTO.cpp:13:

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

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

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

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)
...
[2721/5541] Building MipsGenAsmWriter.inc...
[2722/5541] Building MipsGenPostLegalizeGICombiner.inc...
[2723/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiAsmBackend.cpp.o
[2724/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiInstPrinter.cpp.o
[2725/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCAsmInfo.cpp.o
[2726/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCCodeEmitter.cpp.o
[2727/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCExpr.cpp.o
[2728/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCTargetDesc.cpp.o
[2729/5541] Building CXX object lib/Target/Lanai/TargetInfo/CMakeFiles/LLVMLanaiInfo.dir/LanaiTargetInfo.cpp.o
[2730/5541] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[2731/5541] Building MipsGenDisassemblerTables.inc...
[2732/5541] Building MipsGenRegisterInfo.inc...
[2733/5541] Building MSP430GenMCCodeEmitter.inc...
[2734/5541] Building MSP430GenSDNodeInfo.inc...
[2735/5541] Building PPCGenRegisterInfo.inc...
[2736/5541] Building PPCGenDisassemblerTables.inc...
[2737/5541] Building MipsGenAsmMatcher.inc...
[2738/5541] Building PPCGenMCCodeEmitter.inc...
[2739/5541] Building PPCGenExegesis.inc...
[2740/5541] Building PPCGenRegisterBank.inc...
[2741/5541] Building MipsGenCallingConv.inc...
[2742/5541] Building NVPTXGenRegisterInfo.inc...
[2743/5541] Building MipsGenInstrInfo.inc...
[2744/5541] Building LoongArchGenDAGISel.inc...
[2745/5541] Building LoongArchGenInstrInfo.inc...
[2746/5541] Building PPCGenAsmMatcher.inc...
[2747/5541] Building PPCGenCallingConv.inc...
[2748/5541] Building NVPTXGenSubtargetInfo.inc...
[2749/5541] Building MipsGenExegesis.inc...
[2750/5541] Building MipsGenDAGISel.inc...
Step 8 (build compiler-rt symbolizer) failure: build compiler-rt symbolizer (failure)
...
[2721/5541] Building MipsGenAsmWriter.inc...
[2722/5541] Building MipsGenPostLegalizeGICombiner.inc...
[2723/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiAsmBackend.cpp.o
[2724/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiInstPrinter.cpp.o
[2725/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCAsmInfo.cpp.o
[2726/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCCodeEmitter.cpp.o
[2727/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCExpr.cpp.o
[2728/5541] Building CXX object lib/Target/Lanai/MCTargetDesc/CMakeFiles/LLVMLanaiDesc.dir/LanaiMCTargetDesc.cpp.o
[2729/5541] Building CXX object lib/Target/Lanai/TargetInfo/CMakeFiles/LLVMLanaiInfo.dir/LanaiTargetInfo.cpp.o
[2730/5541] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[2731/5541] Building MipsGenDisassemblerTables.inc...
[2732/5541] Building MipsGenRegisterInfo.inc...
[2733/5541] Building MSP430GenMCCodeEmitter.inc...
[2734/5541] Building MSP430GenSDNodeInfo.inc...
[2735/5541] Building PPCGenRegisterInfo.inc...
[2736/5541] Building PPCGenDisassemblerTables.inc...
[2737/5541] Building MipsGenAsmMatcher.inc...
[2738/5541] Building PPCGenMCCodeEmitter.inc...
[2739/5541] Building PPCGenExegesis.inc...
[2740/5541] Building PPCGenRegisterBank.inc...
[2741/5541] Building MipsGenCallingConv.inc...
[2742/5541] Building NVPTXGenRegisterInfo.inc...
[2743/5541] Building MipsGenInstrInfo.inc...
[2744/5541] Building LoongArchGenDAGISel.inc...
[2745/5541] Building LoongArchGenInstrInfo.inc...
[2746/5541] Building PPCGenAsmMatcher.inc...
[2747/5541] Building PPCGenCallingConv.inc...
[2748/5541] Building NVPTXGenSubtargetInfo.inc...
[2749/5541] Building MipsGenExegesis.inc...
[2750/5541] Building MipsGenDAGISel.inc...
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
[914/2177] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o
[915/2177] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o
[916/2177] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o
[917/2177] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o
[918/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o
[919/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o
[920/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o
[921/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o
[922/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o
[923/2177] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[924/2177] Building CXX object lib/Target/NVPTX/MCTargetDesc/CMakeFiles/LLVMNVPTXDesc.dir/NVPTXMCTargetDesc.cpp.o
[925/2177] Building X86GenRegisterInfo.inc...
[926/2177] Linking CXX static library lib/libLLVMVEDesc.a
[927/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o
[928/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o
[929/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o
[930/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o
[931/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o
[932/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o
[933/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o
[934/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Availability.cpp.o
[935/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o
[936/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o
[937/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o
[938/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o
[939/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o
[940/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o
[941/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o
[942/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o
[943/2177] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o
Step 10 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[2590/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonMCCompound.cpp.o
[2591/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonMCDuplexInfo.cpp.o
[2592/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonMCELFStreamer.cpp.o
[2593/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonMCExpr.cpp.o
[2594/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonMCInstrInfo.cpp.o
[2595/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonMCShuffler.cpp.o
[2596/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonMCTargetDesc.cpp.o
[2597/5541] Building CXX object lib/Target/Hexagon/MCTargetDesc/CMakeFiles/LLVMHexagonDesc.dir/HexagonShuffler.cpp.o
[2598/5541] Building CXX object lib/Target/Hexagon/TargetInfo/CMakeFiles/LLVMHexagonInfo.dir/HexagonTargetInfo.cpp.o
[2599/5541] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[2600/5541] Building LanaiGenDisassemblerTables.inc...
[2601/5541] Building LanaiGenMCCodeEmitter.inc...
[2602/5541] Building AMDGPUGenPreLegalizeGICombiner.inc...
[2603/5541] Building LanaiGenSDNodeInfo.inc...
[2604/5541] Building LanaiGenRegisterInfo.inc...
[2605/5541] Building MSP430GenDAGISel.inc...
[2606/5541] Building LoongArchGenRegisterInfo.inc...
[2607/5541] Building MSP430GenAsmWriter.inc...
[2608/5541] Building LanaiGenInstrInfo.inc...
[2609/5541] Building MipsGenRegisterBank.inc...
[2610/5541] Building LoongArchGenDisassemblerTables.inc...
[2611/5541] Building MSP430GenSDNodeInfo.inc...
[2612/5541] Building LoongArchGenMCCodeEmitter.inc...
[2613/5541] Building MSP430GenAsmMatcher.inc...
[2614/5541] Building MSP430GenDisassemblerTables.inc...
[2615/5541] Building LoongArchGenMCPseudoLowering.inc...
[2616/5541] Building MSP430GenMCCodeEmitter.inc...
[2617/5541] Building MSP430GenRegisterInfo.inc...
[2618/5541] Building LoongArchGenAsmWriter.inc...
[2619/5541] Building MipsGenMCPseudoLowering.inc...
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[775/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o
[776/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o
[777/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o
[778/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o
[779/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o
[780/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSLRootSignature.cpp.o
[781/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o
[782/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o
[783/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o
[784/2290] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[785/2290] Building RISCVGenAsmMatcher.inc...
[786/2290] Building RISCVGenSDNodeInfo.inc...
[787/2290] Building X86GenRegisterInfo.inc...
[788/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o
[789/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o
[790/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o
[791/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o
[792/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o
[793/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o
[794/2290] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenACC.cpp.o
[795/2290] Building Opcodes.inc...
[796/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/ASTSourceDescriptor.cpp.o
[797/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o
[798/2290] Linking CXX static library lib/libLLVMVEAsmParser.a
[799/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o
[800/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o
[801/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o
[802/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o
[803/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o
[804/2290] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o
Step 12 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[3038/5522] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVTargetMachine.cpp.o
[3039/5522] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVUtils.cpp.o
[3040/5522] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVEmitNonSemanticDI.cpp.o
[3041/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVBaseInfo.cpp.o
[3042/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCAsmInfo.cpp.o
[3043/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCTargetDesc.cpp.o
[3044/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVTargetStreamer.cpp.o
[3045/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVAsmBackend.cpp.o
[3046/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVMCCodeEmitter.cpp.o
[3047/5522] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[3048/5522] Building WebAssemblyGenDAGISel.inc...
[3049/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVObjectTargetWriter.cpp.o
[3050/5522] Building CXX object lib/Target/SPIRV/MCTargetDesc/CMakeFiles/LLVMSPIRVDesc.dir/SPIRVInstPrinter.cpp.o
[3051/5522] Building CXX object lib/Target/SPIRV/TargetInfo/CMakeFiles/LLVMSPIRVInfo.dir/SPIRVTargetInfo.cpp.o
[3052/5522] Building CXX object lib/Target/SPIRV/Analysis/CMakeFiles/LLVMSPIRVAnalysis.dir/SPIRVConvergenceRegionAnalysis.cpp.o
[3053/5522] Building WebAssemblyGenDisassemblerTables.inc...
[3054/5522] Building AMDGPUGenPostLegalizeGICombiner.inc...
[3055/5522] Building VEGenRegisterInfo.inc...
[3056/5522] Building WebAssemblyGenInstrInfo.inc...
[3057/5522] Building SystemZGenDAGISel.inc...
[3058/5522] Building VEGenCallingConv.inc...
[3059/5522] Building VEGenAsmWriter.inc...
[3060/5522] Building AMDGPUGenSubtargetInfo.inc...
[3061/5522] Building VEGenAsmMatcher.inc...
[3062/5522] Building VEGenDisassemblerTables.inc...
[3063/5522] Building VEGenMCCodeEmitter.inc...
[3064/5522] Building VEGenSubtargetInfo.inc...
[3065/5522] Building XCoreGenCallingConv.inc...
[3066/5522] Building XCoreGenAsmWriter.inc...
[3067/5522] Building SystemZGenSubtargetInfo.inc...
Step 13 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[2702/5541] Building CXX object lib/Target/MSP430/MCTargetDesc/CMakeFiles/LLVMMSP430Desc.dir/MSP430MCTargetDesc.cpp.o
[2703/5541] Building CXX object lib/Target/MSP430/TargetInfo/CMakeFiles/LLVMMSP430Info.dir/MSP430TargetInfo.cpp.o
[2704/5541] Building CXX object lib/Target/MSP430/AsmParser/CMakeFiles/LLVMMSP430AsmParser.dir/MSP430AsmParser.cpp.o
[2705/5541] Building CXX object lib/Target/MSP430/Disassembler/CMakeFiles/LLVMMSP430Disassembler.dir/MSP430Disassembler.cpp.o
[2706/5541] Building LoongArchGenDAGISel.inc...
[2707/5541] Building CXX object lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchAsmPrinter.cpp.o
[2708/5541] Building CXX object lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchDeadRegisterDefinitions.cpp.o
[2709/5541] Building CXX object lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchExpandAtomicPseudoInsts.cpp.o
[2710/5541] Building CXX object lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchExpandPseudoInsts.cpp.o
[2711/5541] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[2712/5541] Building CXX object lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchFrameLowering.cpp.o
[2713/5541] Building SparcGenMCCodeEmitter.inc...
[2714/5541] Building PPCGenMCCodeEmitter.inc...
[2715/5541] Building NVPTXGenDAGISel.inc...
[2716/5541] Building MipsGenFastISel.inc...
[2717/5541] Building SparcGenSearchableTables.inc...
[2718/5541] Building SparcGenDisassemblerTables.inc...
[2719/5541] Building SparcGenAsmWriter.inc...
[2720/5541] Building PPCGenRegisterInfo.inc...
[2721/5541] Building NVPTXGenInstrInfo.inc...
[2722/5541] Building SparcGenRegisterInfo.inc...
[2723/5541] Building PPCGenRegisterBank.inc...
[2724/5541] Building SparcGenCallingConv.inc...
[2725/5541] Building SPIRVGenAsmWriter.inc...
[2726/5541] Building MipsGenSubtargetInfo.inc...
[2727/5541] Building SparcGenSubtargetInfo.inc...
[2728/5541] Building SparcGenDAGISel.inc...
[2729/5541] Building PPCGenDAGISel.inc...
[2730/5541] Building MipsGenInstrInfo.inc...
[2731/5541] Building SparcGenInstrInfo.inc...
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[896/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/FunctionPointer.cpp.o
[897/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltin.cpp.o
[898/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltinBitCast.cpp.o
[899/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Floating.cpp.o
[900/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/EvaluationResult.cpp.o
[901/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/DynamicAllocator.cpp.o
[902/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBlock.cpp.o
[903/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpFrame.cpp.o
[904/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpStack.cpp.o
[905/2178] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/aarch64-linux-gnu/13/../../../../aarch64-linux-gnu/include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[906/2178] Building X86GenCallingConv.inc...
[907/2178] Building X86GenRegisterBank.inc...
[908/2178] Linking CXX static library lib/libLLVMWebAssemblyAsmParser.a
[909/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Interp.cpp.o
[910/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpState.cpp.o
[911/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Pointer.cpp.o
[912/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/PrimType.cpp.o
[913/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Program.cpp.o
[914/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Record.cpp.o
[915/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Source.cpp.o
[916/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/State.cpp.o
[917/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/MemberPointer.cpp.o
[918/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpShared.cpp.o
[919/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o
[920/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o
[921/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o
[922/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o
[923/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o
[924/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o
[925/2178] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o
Step 15 (build standalone compiler-rt) failure: build standalone compiler-rt (failure)
...
+ /usr/bin/cmake -B compiler_rt_build -GNinja -DCMAKE_C_COMPILER=/home/b/sanitizer-aarch64-linux/build/build_default/bin/clang -DCMAKE_CXX_COMPILER=/home/b/sanitizer-aarch64-linux/build/build_default/bin/clang++ -DCOMPILER_RT_INCLUDE_TESTS=ON -DCOMPILER_RT_ENABLE_WERROR=ON -DLLVM_CMAKE_DIR=/home/b/sanitizer-aarch64-linux/build/build_default/bin/.. /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/../compiler-rt
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:22 (project):
  The CMAKE_C_COMPILER:

    /home/b/sanitizer-aarch64-linux/build/build_default/bin/clang

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:22 (project):
  The CMAKE_CXX_COMPILER:

    /home/b/sanitizer-aarch64-linux/build/build_default/bin/clang++

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:22 (project):
  No CMAKE_ASM_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!

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



ninja: Entering directory `compiler_rt_build'

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


ninja: error: loading 'build.ninja': No such file or directory


Step 16 (test standalone compiler-rt) failure: test standalone compiler-rt (failure)
@@@BUILD_STEP test standalone compiler-rt@@@
ninja: Entering directory `compiler_rt_build'
ninja: error: loading 'build.ninja': No such file or directory

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





@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder clang-aarch64-quick running on linaro-clang-aarch64-quick while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--

/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf:	file format elf64-x86-64

--
Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/yaml2obj /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/yaml2obj /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llvm-objdump -d /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test # RUN: at line 6
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llvm-objdump -d /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/llvm-objdump: error: '/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test:9:10: error: CHECK: expected string not found in input
# CHECK: s_load_dword s7, s[4:5], 0x24
         ^
<stdin>:1:1: note: scanning from here

^
<stdin>:2:12: note: possible intended match here
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
           ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
check:9'0     X error: no match found
           2: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                ?                                                                                                                                                                     possible intended match
>>>>>>

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-b-1 while building llvm at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
      |           ^
6 warnings generated.
[1369/1371] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1370/1371] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/wasm-ld
-- Testing: 59192 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM :: tools/llvm-objdump/Offloading/fatbin.test (55164 of 59192)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--

/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf:	file format elf64-x86-64

--
Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/yaml2obj /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/yaml2obj /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump --offloading /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump --offloading /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump -d /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test # RUN: at line 6
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump -d /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump: error: '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test:9:10: error: CHECK: expected string not found in input
# CHECK: s_load_dword s7, s[4:5], 0x24
         ^
<stdin>:1:1: note: scanning from here

^
<stdin>:2:91: note: possible intended match here
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
                                                                                          ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
check:9'0     X error: no match found
Step 7 (check) failure: check (failure)
...
      |           ^
6 warnings generated.
[1369/1371] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1370/1371] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/wasm-ld
-- Testing: 59192 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM :: tools/llvm-objdump/Offloading/fatbin.test (55164 of 59192)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--

/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf:	file format elf64-x86-64

--
Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/yaml2obj /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/yaml2obj /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump --offloading /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump --offloading /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump -d /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test # RUN: at line 6
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump -d /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/bin/llvm-objdump: error: '/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test:9:10: error: CHECK: expected string not found in input
# CHECK: s_load_dword s7, s[4:5], 0x24
         ^
<stdin>:1:1: note: scanning from here

^
<stdin>:2:91: note: possible intended match here
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-hmso9ho0/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
                                                                                          ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
check:9'0     X error: no match found

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder clang-cmake-x86_64-avx512-linux running on avx512-intel64 while building llvm at step 7 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--

/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf:	file format elf64-x86-64

--
Command Output (stderr):
--
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/yaml2obj /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/yaml2obj /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/llvm-objdump --offloading /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/llvm-objdump --offloading /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/llvm-objdump -d /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test # RUN: at line 6
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/llvm-objdump -d /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/llvm-objdump: error: '/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test:9:10: error: CHECK: expected string not found in input
# CHECK: s_load_dword s7, s[4:5], 0x24
         ^
<stdin>:1:1: note: scanning from here

^
<stdin>:2:20: note: possible intended match here
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
                   ^

Input file: <stdin>
Check file: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
check:9'0     X error: no match found
           2: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1                        ?                                                                                                                                                                               possible intended match
>>>>>>

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder clang-armv8-quick running on linaro-clang-armv8-quick while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/yaml2obj /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/yaml2obj /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
llvm-objdump: ../llvm/llvm/include/llvm/ADT/StringRef.h:610: StringRef llvm::StringRef::drop_front(size_t) const: Assertion `size() >= N && "Dropping more elements than exist"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
#0 0x044ffaf8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-objdump+0x3efaf8)
#1 0x044fd4f8 llvm::sys::RunSignalHandlers() (/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-objdump+0x3ed4f8)
#2 0x04500578 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0xf281d6f0 __default_rt_sa_restorer ./signal/../sysdeps/unix/sysv/linux/arm/sigrestorer.S:80:0
#4 0xf280db06 ./csu/../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47:0
#5 0xf284d292 __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#6 0xf281c840 gsignal ./signal/../sysdeps/posix/raise.c:27:6
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.script: line 3: 2711281 Aborted                 /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf

--

********************


kazutakahirata added a commit that referenced this pull request May 16, 2025
…140128)"

This reverts commit 910220b.

Multiple buildbot failures have been reported:
#140128
@kazutakahirata
Copy link
Contributor

@david-salinas I've reverted the PR. I'm happy to to try your revised PR, so please feel free to add me to the reviewer list. Thanks!

I'm not sure if the following warnings are caught by the build bot, but I am getting:

llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^

While we are at it, maybe you can drop the initializer?

    SmallVector<OffloadBundleEntry> Found = SmallVector<OffloadBundleEntry>();

Just like std::vector, SmallVector starts out being empty.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder arc-builder running on arc-worker while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--

/buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf:	file format elf64-x86-64

--
Command Output (stderr):
--
/buildbot/worker/arc-folder/build/bin/yaml2obj /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /buildbot/worker/arc-folder/build/bin/yaml2obj /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/buildbot/worker/arc-folder/build/bin/llvm-objdump --offloading /buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /buildbot/worker/arc-folder/build/bin/llvm-objdump --offloading /buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/buildbot/worker/arc-folder/build/bin/llvm-objdump -d /buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test # RUN: at line 6
+ /buildbot/worker/arc-folder/build/bin/llvm-objdump -d /buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908
+ /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test
/buildbot/worker/arc-folder/build/bin/llvm-objdump: error: '/buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
/buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test:9:10: error: CHECK: expected string not found in input
# CHECK: s_load_dword s7, s[4:5], 0x24
         ^
<stdin>:1:1: note: scanning from here

^
<stdin>:2:3: note: possible intended match here
/buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
  ^

Input file: <stdin>
Check file: /buildbot/worker/arc-folder/llvm-project/llvm/test/tools/llvm-objdump/Offloading/fatbin.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
check:9'0     X error: no match found
           2: /buildbot/worker/arc-folder/build/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1       ?                                                                                                                                                          possible intended match
>>>>>>

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder clang-m68k-linux-cross running on suse-gary-m68k-cross while building llvm at step 5 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--

/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf:	file format elf64-x86-64

--
Command Output (stderr):
--
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/yaml2obj /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/yaml2obj /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-objdump --offloading /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-objdump --offloading /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-objdump -d /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test # RUN: at line 6
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-objdump -d /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/llvm-objdump: error: '/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test:9:10: error: CHECK: expected string not found in input
# CHECK: s_load_dword s7, s[4:5], 0x24
         ^
<stdin>:1:1: note: scanning from here

^
<stdin>:2:11: note: possible intended match here
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
          ^

Input file: <stdin>
Check file: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1:  
check:9'0     X error: no match found
           2: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu 
check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:9'1               ?                                                                                                                                                                                             possible intended match
>>>>>>

--

********************


llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request May 16, 2025
…d bundles (#140128)"

This reverts commit 910220b.

Multiple buildbot failures have been reported:
llvm/llvm-project#140128
@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-android running on sanitizer-buildbot-android while building llvm at step 2 "annotate".

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

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)
...
[1968/5516] Building CXX object lib/Target/CMakeFiles/LLVMTarget.dir/TargetMachineC.cpp.o
[1969/5516] Building CXX object lib/ExecutionEngine/RuntimeDyld/CMakeFiles/LLVMRuntimeDyld.dir/Targets/RuntimeDyldELFMips.cpp.o
[1970/5516] Building CXX object lib/ExecutionEngine/RuntimeDyld/CMakeFiles/LLVMRuntimeDyld.dir/RuntimeDyldMachO.cpp.o
[1971/5516] Building AArch64GenDAGISel.inc...
[1972/5516] Building AArch64GenPostLegalizeGILowering.inc...
[1973/5516] Building AArch64GenPreLegalizeGICombiner.inc...
[1974/5516] Building AArch64GenRegisterBank.inc...
[1975/5516] Building AArch64GenSystemOperands.inc...
[1976/5516] Building AArch64GenRegisterInfo.inc...
[1977/5516] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/lib/Object -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Object -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/include -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[1978/5516] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
[1979/5516] Building AArch64GenInstrInfo.inc...
[1980/5516] Building AArch64GenSubtargetInfo.inc...
[1981/5516] Building AMDGPUGenMCPseudoLowering.inc...
[1982/5516] Building AMDGPUGenMCCodeEmitter.inc...
[1983/5516] Building AMDGPUGenDisassemblerTables.inc...
[1984/5516] Building AMDGPUGenPostLegalizeGICombiner.inc...
[1985/5516] Building AMDGPUGenCallingConv.inc...
[1986/5516] Building AMDGPUGenAsmWriter.inc...
[1987/5516] Building AMDGPUGenDAGISel.inc...
[1988/5516] Building AMDGPUGenAsmMatcher.inc...
[1989/5516] Building AMDGPUGenGlobalISel.inc...
[1990/5516] Building AMDGPUGenInstrInfo.inc...
ninja: build stopped: subcommand failed.

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


@@@STEP_FAILURE@@@

Step 8 (bootstrap clang) failure: bootstrap clang (failure)
...
[1968/5516] Building CXX object lib/Target/CMakeFiles/LLVMTarget.dir/TargetMachineC.cpp.o
[1969/5516] Building CXX object lib/ExecutionEngine/RuntimeDyld/CMakeFiles/LLVMRuntimeDyld.dir/Targets/RuntimeDyldELFMips.cpp.o
[1970/5516] Building CXX object lib/ExecutionEngine/RuntimeDyld/CMakeFiles/LLVMRuntimeDyld.dir/RuntimeDyldMachO.cpp.o
[1971/5516] Building AArch64GenDAGISel.inc...
[1972/5516] Building AArch64GenPostLegalizeGILowering.inc...
[1973/5516] Building AArch64GenPreLegalizeGICombiner.inc...
[1974/5516] Building AArch64GenRegisterBank.inc...
[1975/5516] Building AArch64GenSystemOperands.inc...
[1976/5516] Building AArch64GenRegisterInfo.inc...
[1977/5516] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/lib/Object -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Object -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm_build64/include -I/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:4309:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4309 |         *__result = __unary_op(*__first);
      |                     ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[1978/5516] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
[1979/5516] Building AArch64GenInstrInfo.inc...
[1980/5516] Building AArch64GenSubtargetInfo.inc...
[1981/5516] Building AMDGPUGenMCPseudoLowering.inc...
[1982/5516] Building AMDGPUGenMCCodeEmitter.inc...
[1983/5516] Building AMDGPUGenDisassemblerTables.inc...
[1984/5516] Building AMDGPUGenPostLegalizeGICombiner.inc...
[1985/5516] Building AMDGPUGenCallingConv.inc...
[1986/5516] Building AMDGPUGenAsmWriter.inc...
[1987/5516] Building AMDGPUGenDAGISel.inc...
[1988/5516] Building AMDGPUGenAsmMatcher.inc...
[1989/5516] Building AMDGPUGenGlobalISel.inc...
[1990/5516] Building AMDGPUGenInstrInfo.inc...
ninja: build stopped: subcommand failed.

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





@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

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

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

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)
...
[3847/4214] Linking CXX executable bin/llvm-special-case-list-fuzzer
[3848/4214] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[3849/4214] Linking CXX executable bin/llvm-itanium-demangle-fuzzer
[3850/4214] Linking CXX executable bin/llvm-jitlink-executor
[3851/4214] Linking CXX static library lib/libLLVMIRReader.a
[3852/4214] Linking CXX executable bin/llvm-bcanalyzer
[3853/4214] Linking CXX executable bin/llvm-stress
[3854/4214] Linking CXX executable bin/llvm-dis
[3855/4214] Linking CXX executable bin/llvm-diff
[3856/4214] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp:14:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[3857/4214] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object -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 -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
Step 8 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[3847/4214] Linking CXX executable bin/llvm-special-case-list-fuzzer
[3848/4214] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[3849/4214] Linking CXX executable bin/llvm-itanium-demangle-fuzzer
[3850/4214] Linking CXX executable bin/llvm-jitlink-executor
[3851/4214] Linking CXX static library lib/libLLVMIRReader.a
[3852/4214] Linking CXX executable bin/llvm-bcanalyzer
[3853/4214] Linking CXX executable bin/llvm-stress
[3854/4214] Linking CXX executable bin/llvm-dis
[3855/4214] Linking CXX executable bin/llvm-diff
[3856/4214] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp:14:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[3857/4214] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object -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 -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
Step 9 (test compiler-rt debug) failure: test compiler-rt debug (failure)
@@@BUILD_STEP test compiler-rt debug@@@
ninja: Entering directory `build_default'
[1/245] Linking CXX static library lib/libLLVMMCParser.a
[2/245] Linking CXX static library lib/libLLVMPowerPCAsmParser.a
[3/245] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp:14:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[4/245] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object -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 -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[5/245] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/llvm-objdump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/llvm-objdump.cpp:23:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
Step 10 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[3828/4195] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[3829/4195] Linking CXX static library lib/libLLVMPowerPCDesc.a
[3830/4195] Linking CXX static library lib/libLLVMPowerPCDisassembler.a
[3831/4195] Linking CXX executable bin/llvm-jitlink-executor
[3832/4195] Linking CXX static library lib/libLLVMIRReader.a
[3833/4195] Linking CXX executable bin/llvm-bcanalyzer
[3834/4195] Linking CXX executable bin/llvm-stress
[3835/4195] Linking CXX executable bin/llvm-dis
[3836/4195] Linking CXX executable bin/llvm-diff
[3837/4195] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp:14:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[3838/4195] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object -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 -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
Step 11 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[3847/4214] Linking CXX executable bin/llvm-yaml-numeric-parser-fuzzer
[3848/4214] Linking CXX static library lib/libLLVMPowerPCDesc.a
[3849/4214] Linking CXX static library lib/libLLVMPowerPCDisassembler.a
[3850/4214] Linking CXX executable bin/llvm-special-case-list-fuzzer
[3851/4214] Linking CXX static library lib/libLLVMIRReader.a
[3852/4214] Linking CXX executable bin/llvm-bcanalyzer
[3853/4214] Linking CXX executable bin/llvm-stress
[3854/4214] Linking CXX executable bin/llvm-dis
[3855/4214] Linking CXX executable bin/llvm-diff
[3856/4214] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object -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 -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[3857/4214] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp:14:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
Step 12 (test compiler-rt default) failure: test compiler-rt default (failure)
@@@BUILD_STEP test compiler-rt default@@@
ninja: Entering directory `build_default'
[1/245] Linking CXX static library lib/libLLVMMCParser.a
[2/245] Linking CXX static library lib/libLLVMPowerPCAsmParser.a
[3/245] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/OffloadDump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.cpp:14:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[4/245] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object -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 -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
[5/245] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o
FAILED: tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm_build0/bin/clang++ -DGTEST_HAS_RTTI=0 -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-objdump -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump -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 -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-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o -MF tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o.d -o tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/llvm-objdump.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/llvm-objdump.cpp:23:
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/llvm/tools/llvm-objdump/OffloadDump.h:14:
Step 13 (build standalone compiler-rt) failure: build standalone compiler-rt (failure)
...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:22 (project):
  The CMAKE_C_COMPILER:

    /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/bin/clang

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:22 (project):
  The CMAKE_CXX_COMPILER:

    /home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/bin/clang++

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:22 (project):
  No CMAKE_ASM_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!

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




ninja: Entering directory `compiler_rt_build'
ninja: error: loading 'build.ninja': No such file or directory

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




Step 14 (test standalone compiler-rt) failure: test standalone compiler-rt (failure)
@@@BUILD_STEP test standalone compiler-rt@@@
ninja: Entering directory `compiler_rt_build'
ninja: error: loading 'build.ninja': No such file or directory

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





@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 12 (build-stage2-unified-tree) failure: build (failure)
...
14.348 [1/8/16] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o
15.668 [1/7/17] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o
28.199 [1/6/18] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o
31.399 [1/5/19] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o
34.865 [1/4/20] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o
40.751 [1/3/21] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o
49.242 [1/2/22] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o
61.595 [1/1/23] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o
61.655 [0/1/24] Linking CXX executable bin/clang-tblgen
162.945 [4256/1154/1153] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/install/stage1/bin/clang++ -DGTEST_HAS_RTTI=0 -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/stage2/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include -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 -Wno-unnecessary-virtual-specifier -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 lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
178.851 [4256/387/1920] Building CXX object unittests/Object/CMakeFiles/ObjectTests.dir/OffloadingBundleTest.cpp.o
FAILED: unittests/Object/CMakeFiles/ObjectTests.dir/OffloadingBundleTest.cpp.o 
ccache /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/install/stage1/bin/clang++ -DGTEST_HAS_RTTI=0 -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/stage2/unittests/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/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/third-party/unittest/googletest/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/third-party/unittest/googlemock/include -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 -Wno-unnecessary-virtual-specifier -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  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT unittests/Object/CMakeFiles/ObjectTests.dir/OffloadingBundleTest.cpp.o -MF unittests/Object/CMakeFiles/ObjectTests.dir/OffloadingBundleTest.cpp.o.d -o unittests/Object/CMakeFiles/ObjectTests.dir/OffloadingBundleTest.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object/OffloadingBundleTest.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object/OffloadingBundleTest.cpp:6:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object/OffloadingBundleTest.cpp:56:19: error: unused variable 'mbuf' [-Werror,-Wunused-variable]
   56 |   MemoryBufferRef mbuf;
      |                   ^~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object/OffloadingBundleTest.cpp:57:13: error: unused variable 'FileName' [-Werror,-Wunused-variable]
   57 |   StringRef FileName;
      |             ^~~~~~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object/OffloadingBundleTest.cpp:72:19: error: unused variable 'mbuf' [-Werror,-Wunused-variable]
   72 |   MemoryBufferRef mbuf;
      |                   ^~~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object/OffloadingBundleTest.cpp:73:13: error: unused variable 'FileName' [-Werror,-Wunused-variable]
   73 |   StringRef FileName;
      |             ^~~~~~~~
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/Object/OffloadingBundleTest.cpp:6:

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
37.181 [2359/192/3986] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o
37.195 [2358/192/3987] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o
37.204 [2357/192/3988] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o
37.213 [2356/192/3989] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o
37.224 [2355/192/3990] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o
37.243 [2354/192/3991] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o
37.257 [2353/192/3992] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o
37.268 [2352/192/3993] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o
37.286 [2351/192/3994] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o
37.299 [2350/192/3995] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o
FAILED: lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o 
ccache /home/buildbots/llvm-external-buildbots/clang.19.1.7/bin/clang++ --gcc-toolchain=/gcc-toolchain/usr -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -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/lib/Object -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/Object -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 -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 -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/OffloadBundle.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/Object/OffloadBundle.cpp
In file included from /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/lib/Object/OffloadBundle.cpp:9:
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:148:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
  148 |     default:
      |     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:118:5: error: non-void lambda does not return a value in all control paths [-Werror,-Wreturn-type]
  118 |     });
      |     ^
/gcc-toolchain/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/stl_algo.h:4304:14: note: in instantiation of function template specialization 'llvm::object::OffloadBundleFatBin::entryIDContains(StringRef)::(anonymous class)::operator()<llvm::object::OffloadBundleEntry>' requested here
 4304 |         *__result = __unary_op(*__first);
      |                     ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1958:15: note: in instantiation of function template specialization 'std::transform<llvm::object::OffloadBundleEntry *, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
 1958 |   return std::transform(adl_begin(Range), adl_end(Range), d_first, F);
      |               ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:11: note: in instantiation of function template specialization 'llvm::transform<llvm::SmallVector<llvm::object::OffloadBundleEntry> &, std::back_insert_iterator<llvm::SmallVector<llvm::object::OffloadBundleEntry>>, (lambda at /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/include/llvm/Object/OffloadBundle.h:115:57)>' requested here
  115 |     llvm::transform(Entries, std::back_inserter(Found), [Str](auto &X) {
      |           ^
2 errors generated.
37.306 [2350/191/3996] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o
37.312 [2350/190/3997] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCV.cpp.o
37.319 [2350/189/3998] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o
37.324 [2350/188/3999] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o
37.330 [2350/187/4000] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o
37.331 [2350/186/4001] Creating library symlink lib/libLLVMFuzzerCLI.so
37.331 [2350/185/4002] Creating library symlink lib/libLLVMBinaryFormat.so
37.333 [2350/184/4003] Creating library symlink lib/libLLVMOrcTargetProcess.so
37.334 [2350/183/4004] Creating library symlink lib/libLLVMWindowsDriver.so
37.338 [2350/182/4005] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o
37.344 [2350/181/4006] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o
37.348 [2350/180/4007] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o
37.354 [2350/179/4008] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o
37.360 [2350/178/4009] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o
37.364 [2350/177/4010] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o
37.368 [2350/176/4011] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o
37.373 [2350/175/4012] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o
37.376 [2350/174/4013] Building CXX object tools/clang/lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o
37.379 [2350/173/4014] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o
37.381 [2350/172/4015] Building CXX object tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-win-x-aarch64 running on as-builder-2 while building llvm at step 9 "test-check-llvm".

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

Here is the relevant piece of the build log for the reference
Step 9 (test-check-llvm) failure: Test just built components: check-llvm completed (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
c:\buildbot\as-builder-2\x-aarch64\build\bin\yaml2obj.exe C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test -o C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\yaml2obj.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test' -o 'C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf'
# RUN: at line 5
c:\buildbot\as-builder-2\x-aarch64\build\bin\llvm-objdump.exe --offloading C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\llvm-objdump.exe' --offloading 'C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf'
# .---command stdout------------
# | 
# | C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf:	file format elf64-x86-64
# `-----------------------------
# RUN: at line 6
c:\buildbot\as-builder-2\x-aarch64\build\bin\llvm-objdump.exe -d C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\llvm-objdump.exe' -d 'C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908'
# .---command stderr------------
# | c:\buildbot\as-builder-2\x-aarch64\build\bin\llvm-objdump.exe: error: 'C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test'
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test:9:10: error: CHECK: expected string not found in input
# | # CHECK: s_load_dword s7, s[4:5], 0x24
# |          ^
# | <stdin>:1:1: note: scanning from here
# | 
# | ^
# | <stdin>:2:67: note: possible intended match here
# | C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
# |                                                                   ^
# | 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  
# | check:9'0     X error: no match found
# |            2: C:\buildbot\as-builder-2\x-aarch64\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1                                                                       ?                                                                                                 possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

...

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu-no-asserts running on doug-worker-6 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'AddressSanitizer-x86_64-linux :: TestCases/asan_lsan_deadlock.cpp' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/buildbot-root/gcc-no-asserts/build/./bin/clang  --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m64  -O0 /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp -o /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/asan_lsan_deadlock.cpp.tmp # RUN: at line 4
+ /home/buildbot/buildbot-root/gcc-no-asserts/build/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -O0 /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp -o /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/asan_lsan_deadlock.cpp.tmp
env ASAN_OPTIONS=detect_leaks=1 not  /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/asan_lsan_deadlock.cpp.tmp 2>&1 | FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp # RUN: at line 5
+ env ASAN_OPTIONS=detect_leaks=1 not /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/asan_lsan_deadlock.cpp.tmp
+ FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
�[1m/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp:58:12: �[0m�[0;1;31merror: �[0m�[1mCHECK: expected string not found in input
�[0m // CHECK: SUMMARY: AddressSanitizer: stack-buffer-overflow
�[0;1;32m           ^
�[0m�[1m<stdin>:1:1: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m=================================================================
�[0;1;32m^
�[0m�[1m<stdin>:2:10: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m==1230680==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x6c40eb000034 at pc 0x639a11da8fb0 bp 0x6c40e91fdce0 sp 0x6c40e91fdcd8
�[0;1;32m         ^
�[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
�[1m�[0m�[0;1;30m            1: �[0m�[1m�[0;1;46m================================================================= �[0m
�[0;1;31mcheck:58'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
�[0m�[0;1;30m            2: �[0m�[1m�[0;1;46m==1230680==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x6c40eb000034 at pc 0x639a11da8fb0 bp 0x6c40e91fdce0 sp 0x6c40e91fdcd8 �[0m
�[0;1;31mcheck:58'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m�[0;1;35mcheck:58'1              ?                                                                                                                                    possible intended match
�[0m�[0;1;30m            3: �[0m�[1m�[0;1;46mWRITE of size 4 at 0x6c40eb000034 thread T2 �[0m
�[0;1;31mcheck:58'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
�[0m>>>>>>

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder clang-armv7-global-isel running on linaro-clang-armv7-global-isel while building llvm at step 7 "ninja check 1".

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

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/yaml2obj /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 4
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/yaml2obj /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/test/tools/llvm-objdump/Offloading/fatbin.test -o /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf # RUN: at line 5
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
llvm-objdump: ../llvm/llvm/include/llvm/ADT/StringRef.h:610: StringRef llvm::StringRef::drop_front(size_t) const: Assertion `size() >= N && "Dropping more elements than exist"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf
#0 0x0d9aea74 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/llvm-objdump+0x9cea74)
#1 0x0d9ac508 llvm::sys::RunSignalHandlers() (/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/llvm-objdump+0x9cc508)
#2 0x0d9af4f4 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0xefedd6f0 __default_rt_sa_restorer ./signal/../sysdeps/unix/sysv/linux/arm/sigrestorer.S:80:0
#4 0xefecdb06 ./csu/../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47:0
#5 0xeff0d292 __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#6 0xefedc840 gsignal ./signal/../sysdeps/posix/raise.c:27:6
/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.script: line 3: 2846355 Aborted                 /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/llvm-objdump --offloading /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/test/tools/llvm-objdump/Offloading/Output/fatbin.test.tmp.elf

--

********************


@llvm-ci
Copy link
Collaborator

llvm-ci commented May 16, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-win-x-armv7l running on as-builder-1 while building llvm at step 9 "test-check-llvm".

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

Here is the relevant piece of the build log for the reference
Step 9 (test-check-llvm) failure: Test just built components: check-llvm completed (failure)
******************** TEST 'LLVM :: tools/llvm-objdump/Offloading/fatbin.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
c:\buildbot\as-builder-1\x-armv7l\build\bin\yaml2obj.exe C:\buildbot\as-builder-1\x-armv7l\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test -o C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf
# executed command: 'c:\buildbot\as-builder-1\x-armv7l\build\bin\yaml2obj.exe' 'C:\buildbot\as-builder-1\x-armv7l\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test' -o 'C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf'
# RUN: at line 5
c:\buildbot\as-builder-1\x-armv7l\build\bin\llvm-objdump.exe --offloading C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf
# executed command: 'c:\buildbot\as-builder-1\x-armv7l\build\bin\llvm-objdump.exe' --offloading 'C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf'
# .---command stdout------------
# | 
# | C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf:	file format elf64-x86-64
# `-----------------------------
# RUN: at line 6
c:\buildbot\as-builder-1\x-armv7l\build\bin\llvm-objdump.exe -d C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908 | c:\buildbot\as-builder-1\x-armv7l\build\bin\filecheck.exe C:\buildbot\as-builder-1\x-armv7l\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test
# executed command: 'c:\buildbot\as-builder-1\x-armv7l\build\bin\llvm-objdump.exe' -d 'C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908'
# .---command stderr------------
# | c:\buildbot\as-builder-1\x-armv7l\build\bin\llvm-objdump.exe: error: 'C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908': can't find target: unable to get target for 'amdgcn-amd-amdhsa', see --version and --triple.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\buildbot\as-builder-1\x-armv7l\build\bin\filecheck.exe' 'C:\buildbot\as-builder-1\x-armv7l\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test'
# .---command stderr------------
# | C:\buildbot\as-builder-1\x-armv7l\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test:9:10: error: CHECK: expected string not found in input
# | # CHECK: s_load_dword s7, s[4:5], 0x24
# |          ^
# | <stdin>:1:1: note: scanning from here
# | 
# | ^
# | <stdin>:2:66: note: possible intended match here
# | C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-1\x-armv7l\llvm-project\llvm\test\tools\llvm-objdump\Offloading\fatbin.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  
# | check:9'0     X error: no match found
# |            2: C:\buildbot\as-builder-1\x-armv7l\build\test\tools\llvm-objdump\Offloading\Output\fatbin.test.tmp.elf.0.hipv4-amdgcn-amd-amdhsa--gfx908: file format elf64-amdgpu 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1                                                                      ?                                                                                                 possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

...

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.

5 participants