Skip to content

[ms] [llvm-ml] Implement support for PROC NEAR/FAR #131707

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 5 commits into from
May 2, 2025

Conversation

ericastor
Copy link
Contributor

Matches ML.EXE by translating "ret" instructions inside a PROC FAR to "retf", and automatically prepending a push cs to all near calls to a PROC FAR.

@ericastor ericastor requested review from rnk, compnerd and mstorsjo March 18, 2025 01:56
@llvmbot llvmbot added backend:X86 mc Machine (object) code labels Mar 18, 2025
@llvmbot
Copy link
Member

llvmbot commented Mar 18, 2025

@llvm/pr-subscribers-backend-x86

Author: Eric Astor (ericastor)

Changes

Matches ML.EXE by translating "ret" instructions inside a PROC FAR to "retf", and automatically prepending a push cs to all near calls to a PROC FAR.


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

5 Files Affected:

  • (modified) llvm/include/llvm/MC/MCContext.h (+7)
  • (modified) llvm/include/llvm/MC/MCSymbolCOFF.h (+8)
  • (modified) llvm/lib/MC/MCParser/COFFMasmParser.cpp (+55-17)
  • (modified) llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp (+52-2)
  • (added) llvm/test/tools/llvm-ml/proc_distance.asm (+56)
diff --git a/llvm/include/llvm/MC/MCContext.h b/llvm/include/llvm/MC/MCContext.h
index e97c890ce9135..70b90834f1edc 100644
--- a/llvm/include/llvm/MC/MCContext.h
+++ b/llvm/include/llvm/MC/MCContext.h
@@ -97,9 +97,13 @@ class MCContext {
     IsDXContainer
   };
 
+  enum DefaultRetType { IsNear, IsFar };
+
 private:
   Environment Env;
 
+  DefaultRetType DefaultRet = IsNear;
+
   /// The name of the Segment where Swift5 Reflection Section data will be
   /// outputted
   StringRef Swift5ReflectionSegmentName;
@@ -394,6 +398,9 @@ class MCContext {
 
   Environment getObjectFileType() const { return Env; }
 
+  DefaultRetType getDefaultRetType() const { return DefaultRet; }
+  void setDefaultRetType(DefaultRetType DR) { DefaultRet = DR; }
+
   const StringRef &getSwift5ReflectionSegmentName() const {
     return Swift5ReflectionSegmentName;
   }
diff --git a/llvm/include/llvm/MC/MCSymbolCOFF.h b/llvm/include/llvm/MC/MCSymbolCOFF.h
index 2964c521e8e44..badcbbcd865c6 100644
--- a/llvm/include/llvm/MC/MCSymbolCOFF.h
+++ b/llvm/include/llvm/MC/MCSymbolCOFF.h
@@ -25,6 +25,7 @@ class MCSymbolCOFF : public MCSymbol {
     SF_ClassShift = 0,
 
     SF_SafeSEH = 0x0100,
+    SF_FarProc = 0x0200,
     SF_WeakExternalCharacteristicsMask = 0x0E00,
     SF_WeakExternalCharacteristicsShift = 9,
   };
@@ -66,6 +67,13 @@ class MCSymbolCOFF : public MCSymbol {
     modifyFlags(SF_SafeSEH, SF_SafeSEH);
   }
 
+  bool isFarProc() const {
+    return getFlags() & SF_FarProc;
+  }
+  void setIsFarProc() const {
+    modifyFlags(SF_FarProc, SF_FarProc);
+  }
+
   static bool classof(const MCSymbol *S) { return S->isCOFF(); }
 };
 
diff --git a/llvm/lib/MC/MCParser/COFFMasmParser.cpp b/llvm/lib/MC/MCParser/COFFMasmParser.cpp
index 8464a2392680b..4ed73e6d93be0 100644
--- a/llvm/lib/MC/MCParser/COFFMasmParser.cpp
+++ b/llvm/lib/MC/MCParser/COFFMasmParser.cpp
@@ -6,6 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "third_party/llvm/llvm-project/llvm/include/llvm/MC/MCContext.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/Twine.h"
 #include "llvm/BinaryFormat/COFF.h"
@@ -41,6 +42,7 @@ class COFFMasmParser : public MCAsmParserExtension {
                           StringRef COMDATSymName, COFF::COMDATType Type,
                           Align Alignment);
 
+  bool parseDirectiveModel(StringRef, SMLoc);
   bool parseDirectiveProc(StringRef, SMLoc);
   bool parseDirectiveEndProc(StringRef, SMLoc);
   bool parseDirectiveSegment(StringRef, SMLoc);
@@ -167,7 +169,7 @@ class COFFMasmParser : public MCAsmParserExtension {
     // .exit
     // .fardata
     // .fardata?
-    addDirectiveHandler<&COFFMasmParser::IgnoreDirective>(".model");
+    addDirectiveHandler<&COFFMasmParser::parseDirectiveModel>(".model");
     // .stack
     // .startup
 
@@ -201,8 +203,13 @@ class COFFMasmParser : public MCAsmParserExtension {
   }
 
   /// Stack of active procedure definitions.
-  SmallVector<StringRef, 1> CurrentProcedures;
-  SmallVector<bool, 1> CurrentProceduresFramed;
+  enum ProcDistance { PROC_DISTANCE_NEAR = 0, PROC_DISTANCE_FAR = 1 };
+  struct ProcInfo {
+    StringRef Name;
+    ProcDistance Distance = PROC_DISTANCE_NEAR;
+    bool IsFramed = false;
+  };
+  SmallVector<ProcInfo, 1> CurrentProcedures;
 
 public:
   COFFMasmParser() = default;
@@ -435,48 +442,75 @@ bool COFFMasmParser::parseDirectiveOption(StringRef Directive, SMLoc Loc) {
   return false;
 }
 
+/// parseDirectiveModel
+///  ::= ".model" "flat"
+bool COFFMasmParser::parseDirectiveModel(StringRef Directive, SMLoc Loc) {
+  if (!getLexer().is(AsmToken::Identifier))
+    return TokError("expected identifier in directive");
+
+  StringRef ModelType = getTok().getIdentifier();
+  if (!ModelType.equals_insensitive("flat")) {
+    return TokError(
+        "expected 'flat' for memory model; no other models supported");
+  }
+
+  // Ignore; no action necessary.
+  Lex();
+  return false;
+}
+
 /// parseDirectiveProc
 /// TODO(epastor): Implement parameters and other attributes.
-///  ::= label "proc" [[distance]]
+///  ::= label "proc" [[distance]] [[frame]]
 ///          statements
 ///      label "endproc"
 bool COFFMasmParser::parseDirectiveProc(StringRef Directive, SMLoc Loc) {
   if (!getStreamer().getCurrentFragment())
     return Error(getTok().getLoc(), "expected section directive");
 
-  StringRef Label;
-  if (getParser().parseIdentifier(Label))
+  ProcInfo Proc;
+  if (getParser().parseIdentifier(Proc.Name))
     return Error(Loc, "expected identifier for procedure");
   if (getLexer().is(AsmToken::Identifier)) {
     StringRef nextVal = getTok().getString();
     SMLoc nextLoc = getTok().getLoc();
     if (nextVal.equals_insensitive("far")) {
-      // TODO(epastor): Handle far procedure definitions.
       Lex();
-      return Error(nextLoc, "far procedure definitions not yet supported");
+      Proc.Distance = PROC_DISTANCE_FAR;
+      nextVal = getTok().getString();
+      nextLoc = getTok().getLoc();
     } else if (nextVal.equals_insensitive("near")) {
       Lex();
+      Proc.Distance = PROC_DISTANCE_NEAR;
       nextVal = getTok().getString();
       nextLoc = getTok().getLoc();
     }
   }
-  MCSymbolCOFF *Sym = cast<MCSymbolCOFF>(getContext().getOrCreateSymbol(Label));
+  MCSymbolCOFF *Sym =
+      cast<MCSymbolCOFF>(getContext().getOrCreateSymbol(Proc.Name));
 
   // Define symbol as simple external function
   Sym->setExternal(true);
   Sym->setType(COFF::IMAGE_SYM_DTYPE_FUNCTION << COFF::SCT_COMPLEX_TYPE_SHIFT);
+  if (Proc.Distance == PROC_DISTANCE_FAR)
+    Sym->setIsFarProc();
+
+  getContext().setDefaultRetType(Proc.Distance == PROC_DISTANCE_NEAR
+                                     ? MCContext::IsNear
+                                     : MCContext::IsFar);
 
-  bool Framed = false;
   if (getLexer().is(AsmToken::Identifier) &&
       getTok().getString().equals_insensitive("frame")) {
     Lex();
-    Framed = true;
+    Proc.IsFramed = true;
+    getStreamer().emitWinCFIStartProc(Sym, Loc);
+  }
+  if (Proc.IsFramed) {
     getStreamer().emitWinCFIStartProc(Sym, Loc);
   }
   getStreamer().emitLabel(Sym, Loc);
 
-  CurrentProcedures.push_back(Label);
-  CurrentProceduresFramed.push_back(Framed);
+  CurrentProcedures.push_back(std::move(Proc));
   return false;
 }
 bool COFFMasmParser::parseDirectiveEndProc(StringRef Directive, SMLoc Loc) {
@@ -487,15 +521,19 @@ bool COFFMasmParser::parseDirectiveEndProc(StringRef Directive, SMLoc Loc) {
 
   if (CurrentProcedures.empty())
     return Error(Loc, "endp outside of procedure block");
-  else if (!CurrentProcedures.back().equals_insensitive(Label))
+  else if (!CurrentProcedures.back().Name.equals_insensitive(Label))
     return Error(LabelLoc, "endp does not match current procedure '" +
-                               CurrentProcedures.back() + "'");
+                               CurrentProcedures.back().Name + "'");
 
-  if (CurrentProceduresFramed.back()) {
+  if (CurrentProcedures.back().IsFramed) {
     getStreamer().emitWinCFIEndProc(Loc);
   }
   CurrentProcedures.pop_back();
-  CurrentProceduresFramed.pop_back();
+  getContext().setDefaultRetType(
+      (CurrentProcedures.empty() ||
+       CurrentProcedures.back().Distance == PROC_DISTANCE_NEAR)
+          ? MCContext::IsNear
+          : MCContext::IsFar);
   return false;
 }
 
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index a6285a55f4155..fed7faafd9460 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -14,6 +14,7 @@
 #include "MCTargetDesc/X86TargetStreamer.h"
 #include "TargetInfo/X86TargetInfo.h"
 #include "X86Operand.h"
+#include "third_party/llvm/llvm-project/llvm/include/llvm/MC/MCInst.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/SmallVector.h"
@@ -32,6 +33,7 @@
 #include "llvm/MC/MCStreamer.h"
 #include "llvm/MC/MCSubtargetInfo.h"
 #include "llvm/MC/MCSymbol.h"
+#include "llvm/MC/MCSymbolCOFF.h"
 #include "llvm/MC/TargetRegistry.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Compiler.h"
@@ -1202,6 +1204,10 @@ class X86AsmParser : public MCTargetAsmParser {
   void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
                          MCStreamer &Out, bool MatchingInlineAsm);
 
+  void MatchMASMFarCallToNear(SMLoc IDLoc, X86Operand &Op,
+                              OperandVector &Operands, MCStreamer &Out,
+                              bool MatchingInlineAsm);
+
   bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures,
                            bool MatchingInlineAsm);
 
@@ -2740,11 +2746,11 @@ bool X86AsmParser::parseIntelOperand(OperandVector &Operands, StringRef Name) {
   if ((BaseReg || IndexReg || RegNo || DefaultBaseReg))
     Operands.push_back(X86Operand::CreateMem(
         getPointerWidth(), RegNo, Disp, BaseReg, IndexReg, Scale, Start, End,
-        Size, DefaultBaseReg, /*SymName=*/StringRef(), /*OpDecl=*/nullptr,
+        Size, DefaultBaseReg, /*SymName=*/SM.getSymName(), /*OpDecl=*/nullptr,
         /*FrontendSize=*/0, /*UseUpRegs=*/false, MaybeDirectBranchDest));
   else
     Operands.push_back(X86Operand::CreateMem(
-        getPointerWidth(), Disp, Start, End, Size, /*SymName=*/StringRef(),
+        getPointerWidth(), Disp, Start, End, Size, /*SymName=*/SM.getSymName(),
         /*OpDecl=*/nullptr, /*FrontendSize=*/0, /*UseUpRegs=*/false,
         MaybeDirectBranchDest));
   return false;
@@ -3442,6 +3448,14 @@ bool X86AsmParser::parseInstruction(ParseInstructionInfo &Info, StringRef Name,
     }
   }
 
+  if (Parser.isParsingMasm() && !is64BitMode()) {
+    // MASM implicitly converts "ret" to "retf" in far procedures; this is
+    // reflected in the default return type in the MCContext.
+    if (PatchedName == "ret" &&
+        getContext().getDefaultRetType() == MCContext::IsFar)
+      PatchedName = "retf";
+  }
+
   // Determine whether this is an instruction prefix.
   // FIXME:
   // Enhance prefixes integrity robustness. for example, following forms
@@ -4130,6 +4144,11 @@ bool X86AsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
   // First, handle aliases that expand to multiple instructions.
   MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands,
                     Out, MatchingInlineAsm);
+  if (getParser().isParsingMasm() && !is64BitMode()) {
+    MatchMASMFarCallToNear(IDLoc, static_cast<X86Operand &>(*Operands[0]),
+                           Operands, Out, MatchingInlineAsm);
+  }
+
   unsigned Prefixes = getPrefixes(Operands);
 
   MCInst Inst;
@@ -4191,6 +4210,37 @@ void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op,
   }
 }
 
+void X86AsmParser::MatchMASMFarCallToNear(SMLoc IDLoc, X86Operand &Op,
+                                          OperandVector &Operands,
+                                          MCStreamer &Out,
+                                          bool MatchingInlineAsm) {
+  // FIXME: This should be replaced with a real .td file alias mechanism.
+  // Also, MatchInstructionImpl should actually *do* the EmitInstruction
+  // call.
+  if (Op.getToken() != "call")
+    return;
+  // This is a call instruction...
+
+  X86Operand &Operand = static_cast<X86Operand &>(*Operands[1]);
+  MCSymbol *Sym = getContext().lookupSymbol(Operand.getSymName());
+  if (Sym == nullptr || !Sym->isInSection() || !Sym->isCOFF() ||
+      !dyn_cast<MCSymbolCOFF>(Sym)->isFarProc())
+    return;
+  // Sym is a reference to a far proc in a code section....
+
+  if (Out.getCurrentSectionOnly() == &Sym->getSection()) {
+    // This is a call to a symbol declared as a far proc, and will be emitted as
+    // a near call... so we need to explicitly push the code section register
+    // before the call.
+    MCInst Inst;
+    Inst.setOpcode(X86::PUSH32r);
+    Inst.addOperand(MCOperand::createReg(MCRegister(X86::CS)));
+    Inst.setLoc(IDLoc);
+    if (!MatchingInlineAsm)
+      emitInstruction(Inst, Operands, Out);
+  }
+}
+
 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc,
                                        const FeatureBitset &MissingFeatures,
                                        bool MatchingInlineAsm) {
diff --git a/llvm/test/tools/llvm-ml/proc_distance.asm b/llvm/test/tools/llvm-ml/proc_distance.asm
new file mode 100644
index 0000000000000..71db903640b42
--- /dev/null
+++ b/llvm/test/tools/llvm-ml/proc_distance.asm
@@ -0,0 +1,56 @@
+; RUN: llvm-ml -m32 -filetype=s %s /Fo - | FileCheck %s
+
+.code
+
+DefaultProc PROC
+  ret
+DefaultProc ENDP
+; CHECK: DefaultProc:
+; CHECK: {{^ *}}ret{{ *$}}
+
+t1:
+call DefaultProc
+; CHECK: t1:
+; CHECK-NEXT: call DefaultProc
+
+NearProc PROC NEAR
+  ret
+NearProc ENDP
+; CHECK: NearProc:
+; CHECK: {{^ *}}ret{{ *$}}
+
+t2:
+call NearProc
+; CHECK: t2:
+; CHECK-NEXT: call NearProc
+
+FarProcInCode PROC FAR
+  ret
+FarProcInCode ENDP
+; CHECK: FarProcInCode:
+; CHECK: {{^ *}}retf{{ *$}}
+
+t3:
+call FarProcInCode
+; CHECK: t3:
+; CHECK-NEXT: push cs
+; CHECK-NEXT: call FarProcInCode
+
+FarCode SEGMENT SHARED NOPAGE NOCACHE INFO READ WRITE EXECUTE DISCARD
+
+FarProcInFarCode PROC FAR
+  ret
+FarProcInFarCode ENDP
+; CHECK: FarProcInFarCode:
+; CHECK: {{^ *}}retf{{ *$}}
+
+FarCode ENDS
+
+.code
+
+t4:
+call FarProcInFarCode
+; CHECK: t4:
+; CHECK-NEXT: call FarProcInFarCode
+
+END

@llvmbot
Copy link
Member

llvmbot commented Mar 18, 2025

@llvm/pr-subscribers-mc

Author: Eric Astor (ericastor)

Changes

Matches ML.EXE by translating "ret" instructions inside a PROC FAR to "retf", and automatically prepending a push cs to all near calls to a PROC FAR.


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

5 Files Affected:

  • (modified) llvm/include/llvm/MC/MCContext.h (+7)
  • (modified) llvm/include/llvm/MC/MCSymbolCOFF.h (+8)
  • (modified) llvm/lib/MC/MCParser/COFFMasmParser.cpp (+55-17)
  • (modified) llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp (+52-2)
  • (added) llvm/test/tools/llvm-ml/proc_distance.asm (+56)
diff --git a/llvm/include/llvm/MC/MCContext.h b/llvm/include/llvm/MC/MCContext.h
index e97c890ce9135..70b90834f1edc 100644
--- a/llvm/include/llvm/MC/MCContext.h
+++ b/llvm/include/llvm/MC/MCContext.h
@@ -97,9 +97,13 @@ class MCContext {
     IsDXContainer
   };
 
+  enum DefaultRetType { IsNear, IsFar };
+
 private:
   Environment Env;
 
+  DefaultRetType DefaultRet = IsNear;
+
   /// The name of the Segment where Swift5 Reflection Section data will be
   /// outputted
   StringRef Swift5ReflectionSegmentName;
@@ -394,6 +398,9 @@ class MCContext {
 
   Environment getObjectFileType() const { return Env; }
 
+  DefaultRetType getDefaultRetType() const { return DefaultRet; }
+  void setDefaultRetType(DefaultRetType DR) { DefaultRet = DR; }
+
   const StringRef &getSwift5ReflectionSegmentName() const {
     return Swift5ReflectionSegmentName;
   }
diff --git a/llvm/include/llvm/MC/MCSymbolCOFF.h b/llvm/include/llvm/MC/MCSymbolCOFF.h
index 2964c521e8e44..badcbbcd865c6 100644
--- a/llvm/include/llvm/MC/MCSymbolCOFF.h
+++ b/llvm/include/llvm/MC/MCSymbolCOFF.h
@@ -25,6 +25,7 @@ class MCSymbolCOFF : public MCSymbol {
     SF_ClassShift = 0,
 
     SF_SafeSEH = 0x0100,
+    SF_FarProc = 0x0200,
     SF_WeakExternalCharacteristicsMask = 0x0E00,
     SF_WeakExternalCharacteristicsShift = 9,
   };
@@ -66,6 +67,13 @@ class MCSymbolCOFF : public MCSymbol {
     modifyFlags(SF_SafeSEH, SF_SafeSEH);
   }
 
+  bool isFarProc() const {
+    return getFlags() & SF_FarProc;
+  }
+  void setIsFarProc() const {
+    modifyFlags(SF_FarProc, SF_FarProc);
+  }
+
   static bool classof(const MCSymbol *S) { return S->isCOFF(); }
 };
 
diff --git a/llvm/lib/MC/MCParser/COFFMasmParser.cpp b/llvm/lib/MC/MCParser/COFFMasmParser.cpp
index 8464a2392680b..4ed73e6d93be0 100644
--- a/llvm/lib/MC/MCParser/COFFMasmParser.cpp
+++ b/llvm/lib/MC/MCParser/COFFMasmParser.cpp
@@ -6,6 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "third_party/llvm/llvm-project/llvm/include/llvm/MC/MCContext.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/Twine.h"
 #include "llvm/BinaryFormat/COFF.h"
@@ -41,6 +42,7 @@ class COFFMasmParser : public MCAsmParserExtension {
                           StringRef COMDATSymName, COFF::COMDATType Type,
                           Align Alignment);
 
+  bool parseDirectiveModel(StringRef, SMLoc);
   bool parseDirectiveProc(StringRef, SMLoc);
   bool parseDirectiveEndProc(StringRef, SMLoc);
   bool parseDirectiveSegment(StringRef, SMLoc);
@@ -167,7 +169,7 @@ class COFFMasmParser : public MCAsmParserExtension {
     // .exit
     // .fardata
     // .fardata?
-    addDirectiveHandler<&COFFMasmParser::IgnoreDirective>(".model");
+    addDirectiveHandler<&COFFMasmParser::parseDirectiveModel>(".model");
     // .stack
     // .startup
 
@@ -201,8 +203,13 @@ class COFFMasmParser : public MCAsmParserExtension {
   }
 
   /// Stack of active procedure definitions.
-  SmallVector<StringRef, 1> CurrentProcedures;
-  SmallVector<bool, 1> CurrentProceduresFramed;
+  enum ProcDistance { PROC_DISTANCE_NEAR = 0, PROC_DISTANCE_FAR = 1 };
+  struct ProcInfo {
+    StringRef Name;
+    ProcDistance Distance = PROC_DISTANCE_NEAR;
+    bool IsFramed = false;
+  };
+  SmallVector<ProcInfo, 1> CurrentProcedures;
 
 public:
   COFFMasmParser() = default;
@@ -435,48 +442,75 @@ bool COFFMasmParser::parseDirectiveOption(StringRef Directive, SMLoc Loc) {
   return false;
 }
 
+/// parseDirectiveModel
+///  ::= ".model" "flat"
+bool COFFMasmParser::parseDirectiveModel(StringRef Directive, SMLoc Loc) {
+  if (!getLexer().is(AsmToken::Identifier))
+    return TokError("expected identifier in directive");
+
+  StringRef ModelType = getTok().getIdentifier();
+  if (!ModelType.equals_insensitive("flat")) {
+    return TokError(
+        "expected 'flat' for memory model; no other models supported");
+  }
+
+  // Ignore; no action necessary.
+  Lex();
+  return false;
+}
+
 /// parseDirectiveProc
 /// TODO(epastor): Implement parameters and other attributes.
-///  ::= label "proc" [[distance]]
+///  ::= label "proc" [[distance]] [[frame]]
 ///          statements
 ///      label "endproc"
 bool COFFMasmParser::parseDirectiveProc(StringRef Directive, SMLoc Loc) {
   if (!getStreamer().getCurrentFragment())
     return Error(getTok().getLoc(), "expected section directive");
 
-  StringRef Label;
-  if (getParser().parseIdentifier(Label))
+  ProcInfo Proc;
+  if (getParser().parseIdentifier(Proc.Name))
     return Error(Loc, "expected identifier for procedure");
   if (getLexer().is(AsmToken::Identifier)) {
     StringRef nextVal = getTok().getString();
     SMLoc nextLoc = getTok().getLoc();
     if (nextVal.equals_insensitive("far")) {
-      // TODO(epastor): Handle far procedure definitions.
       Lex();
-      return Error(nextLoc, "far procedure definitions not yet supported");
+      Proc.Distance = PROC_DISTANCE_FAR;
+      nextVal = getTok().getString();
+      nextLoc = getTok().getLoc();
     } else if (nextVal.equals_insensitive("near")) {
       Lex();
+      Proc.Distance = PROC_DISTANCE_NEAR;
       nextVal = getTok().getString();
       nextLoc = getTok().getLoc();
     }
   }
-  MCSymbolCOFF *Sym = cast<MCSymbolCOFF>(getContext().getOrCreateSymbol(Label));
+  MCSymbolCOFF *Sym =
+      cast<MCSymbolCOFF>(getContext().getOrCreateSymbol(Proc.Name));
 
   // Define symbol as simple external function
   Sym->setExternal(true);
   Sym->setType(COFF::IMAGE_SYM_DTYPE_FUNCTION << COFF::SCT_COMPLEX_TYPE_SHIFT);
+  if (Proc.Distance == PROC_DISTANCE_FAR)
+    Sym->setIsFarProc();
+
+  getContext().setDefaultRetType(Proc.Distance == PROC_DISTANCE_NEAR
+                                     ? MCContext::IsNear
+                                     : MCContext::IsFar);
 
-  bool Framed = false;
   if (getLexer().is(AsmToken::Identifier) &&
       getTok().getString().equals_insensitive("frame")) {
     Lex();
-    Framed = true;
+    Proc.IsFramed = true;
+    getStreamer().emitWinCFIStartProc(Sym, Loc);
+  }
+  if (Proc.IsFramed) {
     getStreamer().emitWinCFIStartProc(Sym, Loc);
   }
   getStreamer().emitLabel(Sym, Loc);
 
-  CurrentProcedures.push_back(Label);
-  CurrentProceduresFramed.push_back(Framed);
+  CurrentProcedures.push_back(std::move(Proc));
   return false;
 }
 bool COFFMasmParser::parseDirectiveEndProc(StringRef Directive, SMLoc Loc) {
@@ -487,15 +521,19 @@ bool COFFMasmParser::parseDirectiveEndProc(StringRef Directive, SMLoc Loc) {
 
   if (CurrentProcedures.empty())
     return Error(Loc, "endp outside of procedure block");
-  else if (!CurrentProcedures.back().equals_insensitive(Label))
+  else if (!CurrentProcedures.back().Name.equals_insensitive(Label))
     return Error(LabelLoc, "endp does not match current procedure '" +
-                               CurrentProcedures.back() + "'");
+                               CurrentProcedures.back().Name + "'");
 
-  if (CurrentProceduresFramed.back()) {
+  if (CurrentProcedures.back().IsFramed) {
     getStreamer().emitWinCFIEndProc(Loc);
   }
   CurrentProcedures.pop_back();
-  CurrentProceduresFramed.pop_back();
+  getContext().setDefaultRetType(
+      (CurrentProcedures.empty() ||
+       CurrentProcedures.back().Distance == PROC_DISTANCE_NEAR)
+          ? MCContext::IsNear
+          : MCContext::IsFar);
   return false;
 }
 
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index a6285a55f4155..fed7faafd9460 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -14,6 +14,7 @@
 #include "MCTargetDesc/X86TargetStreamer.h"
 #include "TargetInfo/X86TargetInfo.h"
 #include "X86Operand.h"
+#include "third_party/llvm/llvm-project/llvm/include/llvm/MC/MCInst.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/SmallVector.h"
@@ -32,6 +33,7 @@
 #include "llvm/MC/MCStreamer.h"
 #include "llvm/MC/MCSubtargetInfo.h"
 #include "llvm/MC/MCSymbol.h"
+#include "llvm/MC/MCSymbolCOFF.h"
 #include "llvm/MC/TargetRegistry.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Compiler.h"
@@ -1202,6 +1204,10 @@ class X86AsmParser : public MCTargetAsmParser {
   void MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op, OperandVector &Operands,
                          MCStreamer &Out, bool MatchingInlineAsm);
 
+  void MatchMASMFarCallToNear(SMLoc IDLoc, X86Operand &Op,
+                              OperandVector &Operands, MCStreamer &Out,
+                              bool MatchingInlineAsm);
+
   bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures,
                            bool MatchingInlineAsm);
 
@@ -2740,11 +2746,11 @@ bool X86AsmParser::parseIntelOperand(OperandVector &Operands, StringRef Name) {
   if ((BaseReg || IndexReg || RegNo || DefaultBaseReg))
     Operands.push_back(X86Operand::CreateMem(
         getPointerWidth(), RegNo, Disp, BaseReg, IndexReg, Scale, Start, End,
-        Size, DefaultBaseReg, /*SymName=*/StringRef(), /*OpDecl=*/nullptr,
+        Size, DefaultBaseReg, /*SymName=*/SM.getSymName(), /*OpDecl=*/nullptr,
         /*FrontendSize=*/0, /*UseUpRegs=*/false, MaybeDirectBranchDest));
   else
     Operands.push_back(X86Operand::CreateMem(
-        getPointerWidth(), Disp, Start, End, Size, /*SymName=*/StringRef(),
+        getPointerWidth(), Disp, Start, End, Size, /*SymName=*/SM.getSymName(),
         /*OpDecl=*/nullptr, /*FrontendSize=*/0, /*UseUpRegs=*/false,
         MaybeDirectBranchDest));
   return false;
@@ -3442,6 +3448,14 @@ bool X86AsmParser::parseInstruction(ParseInstructionInfo &Info, StringRef Name,
     }
   }
 
+  if (Parser.isParsingMasm() && !is64BitMode()) {
+    // MASM implicitly converts "ret" to "retf" in far procedures; this is
+    // reflected in the default return type in the MCContext.
+    if (PatchedName == "ret" &&
+        getContext().getDefaultRetType() == MCContext::IsFar)
+      PatchedName = "retf";
+  }
+
   // Determine whether this is an instruction prefix.
   // FIXME:
   // Enhance prefixes integrity robustness. for example, following forms
@@ -4130,6 +4144,11 @@ bool X86AsmParser::matchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
   // First, handle aliases that expand to multiple instructions.
   MatchFPUWaitAlias(IDLoc, static_cast<X86Operand &>(*Operands[0]), Operands,
                     Out, MatchingInlineAsm);
+  if (getParser().isParsingMasm() && !is64BitMode()) {
+    MatchMASMFarCallToNear(IDLoc, static_cast<X86Operand &>(*Operands[0]),
+                           Operands, Out, MatchingInlineAsm);
+  }
+
   unsigned Prefixes = getPrefixes(Operands);
 
   MCInst Inst;
@@ -4191,6 +4210,37 @@ void X86AsmParser::MatchFPUWaitAlias(SMLoc IDLoc, X86Operand &Op,
   }
 }
 
+void X86AsmParser::MatchMASMFarCallToNear(SMLoc IDLoc, X86Operand &Op,
+                                          OperandVector &Operands,
+                                          MCStreamer &Out,
+                                          bool MatchingInlineAsm) {
+  // FIXME: This should be replaced with a real .td file alias mechanism.
+  // Also, MatchInstructionImpl should actually *do* the EmitInstruction
+  // call.
+  if (Op.getToken() != "call")
+    return;
+  // This is a call instruction...
+
+  X86Operand &Operand = static_cast<X86Operand &>(*Operands[1]);
+  MCSymbol *Sym = getContext().lookupSymbol(Operand.getSymName());
+  if (Sym == nullptr || !Sym->isInSection() || !Sym->isCOFF() ||
+      !dyn_cast<MCSymbolCOFF>(Sym)->isFarProc())
+    return;
+  // Sym is a reference to a far proc in a code section....
+
+  if (Out.getCurrentSectionOnly() == &Sym->getSection()) {
+    // This is a call to a symbol declared as a far proc, and will be emitted as
+    // a near call... so we need to explicitly push the code section register
+    // before the call.
+    MCInst Inst;
+    Inst.setOpcode(X86::PUSH32r);
+    Inst.addOperand(MCOperand::createReg(MCRegister(X86::CS)));
+    Inst.setLoc(IDLoc);
+    if (!MatchingInlineAsm)
+      emitInstruction(Inst, Operands, Out);
+  }
+}
+
 bool X86AsmParser::ErrorMissingFeature(SMLoc IDLoc,
                                        const FeatureBitset &MissingFeatures,
                                        bool MatchingInlineAsm) {
diff --git a/llvm/test/tools/llvm-ml/proc_distance.asm b/llvm/test/tools/llvm-ml/proc_distance.asm
new file mode 100644
index 0000000000000..71db903640b42
--- /dev/null
+++ b/llvm/test/tools/llvm-ml/proc_distance.asm
@@ -0,0 +1,56 @@
+; RUN: llvm-ml -m32 -filetype=s %s /Fo - | FileCheck %s
+
+.code
+
+DefaultProc PROC
+  ret
+DefaultProc ENDP
+; CHECK: DefaultProc:
+; CHECK: {{^ *}}ret{{ *$}}
+
+t1:
+call DefaultProc
+; CHECK: t1:
+; CHECK-NEXT: call DefaultProc
+
+NearProc PROC NEAR
+  ret
+NearProc ENDP
+; CHECK: NearProc:
+; CHECK: {{^ *}}ret{{ *$}}
+
+t2:
+call NearProc
+; CHECK: t2:
+; CHECK-NEXT: call NearProc
+
+FarProcInCode PROC FAR
+  ret
+FarProcInCode ENDP
+; CHECK: FarProcInCode:
+; CHECK: {{^ *}}retf{{ *$}}
+
+t3:
+call FarProcInCode
+; CHECK: t3:
+; CHECK-NEXT: push cs
+; CHECK-NEXT: call FarProcInCode
+
+FarCode SEGMENT SHARED NOPAGE NOCACHE INFO READ WRITE EXECUTE DISCARD
+
+FarProcInFarCode PROC FAR
+  ret
+FarProcInFarCode ENDP
+; CHECK: FarProcInFarCode:
+; CHECK: {{^ *}}retf{{ *$}}
+
+FarCode ENDS
+
+.code
+
+t4:
+call FarProcInFarCode
+; CHECK: t4:
+; CHECK-NEXT: call FarProcInFarCode
+
+END

Matches ML.EXE by translating "ret" instructions inside a `PROC FAR` to "retf", and automatically prepending a `push cs` to all near calls to a `PROC FAR`.
@@ -97,9 +97,13 @@ class MCContext {
IsDXContainer
};

enum DefaultRetType { IsNear, IsFar };
Copy link
Member

Choose a reason for hiding this comment

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

These parser states should ideally kept in AsmParser. Perhaps MasmParser should be exposed in a header so that X86AsmParser can access it directtly.

Copy link
Contributor Author

@ericastor ericastor Mar 21, 2025

Choose a reason for hiding this comment

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

I was debating exactly this choice. I think it's already relatively simple to check isParsingMasm() and then cast the parser object back to MasmParser if you need to ask specific questions of it... if MasmParser had a header, as you say.

However, the Context object seemed a natural place to store stateful context affecting the meaning of potentially-ambiguous mnemonics. I take it you think this is a bit too MASM-specific, and that no other MC should expect to have to make this differentiation contextually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Switched to keeping this state in MasmParser. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MaskRay ... any response here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MaskRay Ping?

Copy link
Member

Choose a reason for hiding this comment

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

(I have limited internet access between April 20th and May 4th, and my response time may be delayed..)

… context

Moves the DefaultRetIsFar information from MCContext to MCMasmParser.
Copy link
Collaborator

@rnk rnk left a comment

Choose a reason for hiding this comment

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

Thanks. I think this looks good.

@ericastor ericastor merged commit 9b4f747 into llvm:main May 2, 2025
11 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder openmp-offload-amdgpu-runtime-2 running on rocm-worker-hw-02 while building llvm at step 5 "compile-openmp".

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

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
4.606 [1233/64/3325] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o
4.607 [1232/64/3326] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o
4.621 [1231/64/3327] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o
4.621 [1230/64/3328] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o
4.629 [1229/64/3329] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o
4.639 [1228/64/3330] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXDeleteChecker.cpp.o
4.643 [1227/64/3331] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o
4.644 [1226/64/3332] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o
4.654 [1225/64/3333] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
4.665 [1224/64/3334] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
ccache /usr/bin/c++ -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/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/MC/MCParser -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/MC/MCParser -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
4.679 [1224/63/3335] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o
4.686 [1224/62/3336] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o
4.692 [1224/61/3337] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o
4.698 [1224/60/3338] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o
4.716 [1224/59/3339] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o
4.722 [1224/58/3340] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o
4.726 [1224/57/3341] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o
4.739 [1224/56/3342] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o
4.743 [1224/55/3343] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o
4.747 [1224/54/3344] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o
4.751 [1224/53/3345] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o
4.774 [1224/52/3346] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o
4.792 [1224/51/3347] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o
4.794 [1224/50/3348] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o
4.807 [1224/49/3349] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o
4.812 [1224/48/3350] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o
4.814 [1224/47/3351] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o
4.846 [1224/46/3352] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o
4.849 [1224/45/3353] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o
4.852 [1224/44/3354] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder cross-project-tests-sie-ubuntu running on doug-worker-1a while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
3.273 [1045/8/14] Linking CXX executable bin/llvm-config
3.281 [1044/8/15] Building CommentCommandList.inc...
3.290 [1040/8/16] Building BuiltinTemplates.inc...
3.331 [137/8/17] Generating VCSVersion.inc
4.152 [136/8/18] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
4.168 [135/8/19] Building Opcodes.inc...
4.298 [126/8/20] Building OpenCLBuiltins.inc...
4.321 [123/8/21] Generating VCSVersion.inc
4.378 [122/8/22] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
4.487 [122/7/23] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/opt/ccache/bin/g++ -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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/lib/MC/MCParser -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/MC/MCParser -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
4.691 [122/6/24] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
4.983 [122/5/25] Building CXX object tools/lldb/source/Version/CMakeFiles/lldbVersion.dir/Version.cpp.o
6.025 [122/4/26] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
13.911 [122/3/27] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
15.071 [122/2/28] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
15.846 [122/1/29] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder cross-project-tests-sie-ubuntu-dwarf5 running on doug-worker-1b while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.025 [130/8/1] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
0.047 [129/8/2] Generating VCSRevision.h
0.147 [128/8/3] Linking CXX executable bin/llvm-config
4.509 [127/8/4] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
5.191 [126/8/5] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
5.273 [125/8/6] Generating VCSVersion.inc
6.860 [124/8/7] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
6.920 [123/8/8] Generating VCSVersion.inc
7.133 [122/8/9] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/opt/ccache/bin/g++ -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/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/lib/MC/MCParser -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/MC/MCParser -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
7.638 [122/7/10] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
7.974 [122/6/11] Building CXX object tools/lldb/source/Version/CMakeFiles/lldbVersion.dir/Version.cpp.o
9.642 [122/5/12] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
10.606 [122/4/13] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
17.539 [122/3/14] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
23.196 [122/2/15] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
23.756 [122/1/16] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder flang-arm64-windows-msvc running on linaro-armv8-windows-msvc-01 while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
2.718 [158/9/3] Generating VCSRevision.h
3.795 [156/10/4] Generating VCSVersion.inc
3.814 [155/10/5] Generating VCSVersion.inc
4.827 [154/10/6] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.obj
4.871 [153/10/7] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.obj
5.274 [153/9/8] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/Version.cpp.obj
5.383 [152/9/9] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.obj
5.383 [152/8/10] Linking CXX static library lib\FortranSupport.lib
5.469 [152/7/11] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.obj
5.776 [152/6/12] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.obj
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.obj 
ccache C:\Users\tcwg\scoop\apps\llvm-arm64\current\bin\clang-cl.exe  /nologo -TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/lib/MC/MCParser -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/llvm/lib/MC/MCParser -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/include -IC:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/llvm/include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Folib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.obj /Fdlib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\LLVMMCParser.pdb -c -- C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp(990,7): error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
6.564 [152/5/13] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.obj
6.988 [152/4/14] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.obj
10.325 [152/3/15] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.obj
13.674 [152/2/16] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.obj
15.898 [152/1/17] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.obj
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

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)
...
[5/145] Linking CXX shared module unittests/Analysis/InlineAdvisorPlugin.so
[6/145] Linking CXX shared module unittests/Passes/Plugins/DoublerPlugin.so
[7/145] Linking CXX shared module unittests/Passes/Plugins/TestPlugin.so
[8/145] Linking CXX shared module unittests/Analysis/InlineOrderPlugin.so
[9/145] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[10/145] Linking CXX executable bin/llvm-config
[11/145] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
[12/145] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[13/145] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[14/145] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/lib/MC/MCParser -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/MC/MCParser -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/include -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[15/145] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[16/145] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o
[17/145] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 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/22433

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
6.831 [4132/32/3011] Building ROCDLOps.h.inc...
6.832 [4131/32/3012] Building ROCDLConversions.inc...
6.839 [4130/32/3013] Building SparseTensorTypes.h.inc...
6.839 [4129/32/3014] Building NVVMOps.cpp.inc...
6.839 [4128/32/3015] Building ROCDLOpsAttributes.cpp.inc...
6.839 [4127/32/3016] Building ROCDLOpsAttributes.h.inc...
6.840 [4126/32/3017] Building ROCDLOpsDialect.cpp.inc...
6.842 [4125/32/3018] Building SparseTensorOpsDialect.cpp.inc...
6.843 [4124/32/3019] Building SparseTensorOpsDialect.h.inc...
6.844 [4123/32/3020] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCParser -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 -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
       ^~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
       TM(TM) {
            ^
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:39:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
 class MCMasmParser : public MCAsmParser {
       ^~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:37:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)
   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
   ^~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
6.846 [4123/31/3021] Building SparseTensorInterfaces.h.inc...
6.847 [4123/30/3022] Building SparseTensorInterfaces.cpp.inc...
6.848 [4123/29/3023] Building ROCDLOps.cpp.inc...
6.850 [4123/28/3024] Building VCIXOpsAttributes.cpp.inc...
6.850 [4123/27/3025] Building VCIXOpsAttributes.h.inc...
6.852 [4123/26/3026] Building VCIXConversions.inc...
6.853 [4123/25/3027] Building VCIXOps.cpp.inc...
6.858 [4123/24/3028] Building SparseTensorOps.cpp.inc...
6.993 [4123/23/3029] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
7.054 [4123/22/3030] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
7.588 [4123/21/3031] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
9.252 [4123/20/3032] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
9.983 [4123/19/3033] Building AMDGPUGenMCPseudoLowering.inc...
10.357 [4123/18/3034] Building AMDGPUGenRegBankGICombiner.inc...
10.697 [4123/17/3035] Building AMDGPUGenPostLegalizeGICombiner.inc...
10.773 [4123/16/3036] Building AMDGPUGenMCCodeEmitter.inc...
10.774 [4123/15/3037] Building AMDGPUGenSubtargetInfo.inc...
11.171 [4123/14/3038] Building AMDGPUGenDisassemblerTables.inc...
11.621 [4123/13/3039] Building AMDGPUGenCallingConv.inc...
12.685 [4123/12/3040] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[3104/7797] Building XeGPUAttrs.h.inc...
[3105/7797] Building SymbolInterfaces.cpp.inc...
[3106/7797] Building SymbolInterfaces.h.inc...
[3107/7797] Building OpAsmAttrInterface.cpp.inc...
[3108/7797] Building OpAsmAttrInterface.h.inc...
[3109/7797] Building OpAsmOpInterface.cpp.inc...
[3110/7797] Building OpAsmOpInterface.h.inc...
[3111/7797] Building OpAsmTypeInterface.cpp.inc...
[3112/7797] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[3113/7797] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
ccache /usr/bin/c++ -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/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib/MC/MCParser -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
[3114/7797] Building OpAsmTypeInterface.h.inc...
[3115/7797] Building CallInterfaces.h.inc...
[3116/7797] Building XeGPUEnums.h.inc...
[3117/7797] Building CallInterfaces.cpp.inc...
[3118/7797] Building XeGPUEnums.cpp.inc...
[3119/7797] Building CastInterfaces.cpp.inc...
[3120/7797] Building ControlFlowInterfaces.cpp.inc...
[3121/7797] Building CastInterfaces.h.inc...
[3122/7797] Building ControlFlowInterfaces.h.inc...
[3123/7797] Building CopyOpInterface.cpp.inc...
[3124/7797] Building CopyOpInterface.h.inc...
[3125/7797] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[3126/7797] Building X86GenInstrInfo.inc...
[3127/7797] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[3128/7797] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
[3129/7797] Building AMDGPUGenMCPseudoLowering.inc...
[3130/7797] Building AMDGPUGenRegBankGICombiner.inc...
[3131/7797] Building AMDGPUGenPostLegalizeGICombiner.inc...
[3132/7797] Building AMDGPUGenPreLegalizeGICombiner.inc...
[3133/7797] Building AMDGPUGenDisassemblerTables.inc...
Step 7 (build cmake config) failure: build cmake config (failure)
...
[3104/7797] Building XeGPUAttrs.h.inc...
[3105/7797] Building SymbolInterfaces.cpp.inc...
[3106/7797] Building SymbolInterfaces.h.inc...
[3107/7797] Building OpAsmAttrInterface.cpp.inc...
[3108/7797] Building OpAsmAttrInterface.h.inc...
[3109/7797] Building OpAsmOpInterface.cpp.inc...
[3110/7797] Building OpAsmOpInterface.h.inc...
[3111/7797] Building OpAsmTypeInterface.cpp.inc...
[3112/7797] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[3113/7797] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
ccache /usr/bin/c++ -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/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib/MC/MCParser -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
[3114/7797] Building OpAsmTypeInterface.h.inc...
[3115/7797] Building CallInterfaces.h.inc...
[3116/7797] Building XeGPUEnums.h.inc...
[3117/7797] Building CallInterfaces.cpp.inc...
[3118/7797] Building XeGPUEnums.cpp.inc...
[3119/7797] Building CastInterfaces.cpp.inc...
[3120/7797] Building ControlFlowInterfaces.cpp.inc...
[3121/7797] Building CastInterfaces.h.inc...
[3122/7797] Building ControlFlowInterfaces.h.inc...
[3123/7797] Building CopyOpInterface.cpp.inc...
[3124/7797] Building CopyOpInterface.h.inc...
[3125/7797] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[3126/7797] Building X86GenInstrInfo.inc...
[3127/7797] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[3128/7797] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
[3129/7797] Building AMDGPUGenMCPseudoLowering.inc...
[3130/7797] Building AMDGPUGenRegBankGICombiner.inc...
[3131/7797] Building AMDGPUGenPostLegalizeGICombiner.inc...
[3132/7797] Building AMDGPUGenPreLegalizeGICombiner.inc...
[3133/7797] Building AMDGPUGenDisassemblerTables.inc...

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.021 [120/9/1] Generating VCSRevision.h
0.039 [117/11/2] Generating VCSVersion.inc
0.646 [116/11/3] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
1.963 [116/10/4] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
2.106 [115/10/5] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
2.119 [115/9/6] Linking CXX executable bin/llvm-config
2.553 [115/8/7] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
3.344 [115/7/8] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
3.795 [115/6/9] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
3.876 [115/5/10] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/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/MC/MCParser -I/buildbot/worker/arc-folder/llvm-project/llvm/lib/MC/MCParser -Iinclude -I/buildbot/worker/arc-folder/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /buildbot/worker/arc-folder/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/buildbot/worker/arc-folder/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor '{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)':
/buildbot/worker/arc-folder/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'llvm::MCAsmParser' is not a direct base of '{anonymous}::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/buildbot/worker/arc-folder/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function 'llvm::MCMasmParser::MCMasmParser()'
  991 |       TM(TM) {
      |            ^
In file included from /buildbot/worker/arc-folder/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/buildbot/worker/arc-folder/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: 'llvm::MCMasmParser::MCMasmParser()' is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/buildbot/worker/arc-folder/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to 'llvm::MCAsmParser::MCAsmParser()'
In file included from /buildbot/worker/arc-folder/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/buildbot/worker/arc-folder/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: 'llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)'
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/buildbot/worker/arc-folder/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
5.214 [115/4/11] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
11.366 [115/3/12] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
16.194 [115/2/13] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
17.446 [115/1/14] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder clang-hip-vega20 running on hip-vega20-0 while building llvm at step 3 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
@@@BUILD_STEP Building LLVM@@@
[1/155] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/155] Generating VCSRevision.h
[3/155] Generating VCSVersion.inc
[4/155] Linking CXX executable bin/llvm-config
[5/155] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
[6/155] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
[7/155] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[8/155] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[9/155] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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 -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/MC/MCParser -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
[10/155] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[11/155] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[12/155] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
[13/155] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[14/155] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.
Step 7 (Building LLVM) failure: Building LLVM (failure)
@@@BUILD_STEP Building LLVM@@@
[1/155] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/155] Generating VCSRevision.h
[3/155] Generating VCSVersion.inc
[4/155] Linking CXX executable bin/llvm-config
[5/155] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
[6/155] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
[7/155] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[8/155] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[9/155] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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 -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/MC/MCParser -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
[10/155] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[11/155] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[12/155] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
[13/155] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[14/155] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.
program finished with exit code 1
elapsedTime=26.494897

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
0.053 [1795/11/13] Building BuiltinTemplates.inc...
0.077 [223/13/14] Building Opcodes.inc...
0.093 [215/12/15] Generating VCSVersion.inc
0.097 [214/12/16] Linking CXX executable bin/llvm-config
0.134 [214/11/17] Building OpenCLBuiltins.inc...
0.765 [212/10/18] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
2.000 [212/9/19] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
2.098 [212/8/20] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
2.789 [212/7/21] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
2.905 [212/6/22] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/opt/ccache/bin/g++ -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/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/MC/MCParser -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/MC/MCParser -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
3.024 [212/5/23] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
4.412 [212/4/24] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
10.012 [212/3/25] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
13.084 [212/2/26] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
13.971 [212/1/27] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder libc-x86_64-debian-dbg-bootstrap-build running on libc-x86_64-debian while building llvm at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[14/69] Building Opcodes.inc...
[15/61] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
[16/61] Building OpenCLBuiltins.inc...
[17/59] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[18/59] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
[19/59] Linking CXX executable bin/llvm-config
[20/59] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[21/59] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[22/59] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[23/59] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/usr/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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/MC/MCParser -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/MC/MCParser -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g  -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'llvm::MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
    : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      ^~~~~~~~~~~
1 error generated.
[24/59] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[25/59] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
[26/59] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[27/59] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.
['ninja', 'libc'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 164, in step
    yield
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 126, in main
    run_command(['ninja', 'libc'])
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 179, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', 'libc']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@
@@@BUILD_STEP check-libc@@@
Running: ninja check-libc
[1/3119] Building CommentHTMLTags.inc...
[2/3119] Building CommentHTMLTagsProperties.inc...
[3/3119] Building StmtDataCollectors.inc...
[4/3119] Building BuiltinTemplates.inc...
[5/3000] Building Attributes.inc...
[6/2339] Building GenVT.inc...
[7/630] Building AbstractBasicReader.inc...
[8/630] Building AbstractBasicWriter.inc...
[9/630] Building CommentHTMLNamedCharacterReferences.inc...
[10/630] Building CommentCommandInfo.inc...
[11/630] Building CommentCommandList.inc...
Step 6 (build libc) failure: build libc (failure)
...
[14/69] Building Opcodes.inc...
[15/61] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
[16/61] Building OpenCLBuiltins.inc...
[17/59] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[18/59] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
[19/59] Linking CXX executable bin/llvm-config
[20/59] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[21/59] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[22/59] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[23/59] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/usr/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/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/lib/MC/MCParser -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/MC/MCParser -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/include -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g  -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'llvm::MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
    : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      ^~~~~~~~~~~
1 error generated.
[24/59] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[25/59] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
[26/59] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[27/59] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.
['ninja', 'libc'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 164, in step
    yield
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 126, in main
    run_command(['ninja', 'libc'])
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/build/../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py", line 179, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/llvm-libc-buildbot/home/sivachandra/libc-x86_64-debian/libc-x86_64-debian-dbg-bootstrap-build/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', 'libc']' returned non-zero exit status 1.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 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 4 "build stage 1".

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

Here is the relevant piece of the build log for the reference
Step 4 (build stage 1) failure: 'ninja' (failure)
[1/142] Generating VCSRevision.h
[2/142] Generating VCSVersion.inc
[3/142] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
[4/142] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
[5/142] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[6/142] Linking CXX executable bin/llvm-config
[7/142] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[8/142] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/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 -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/lib/MC/MCParser -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/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-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/MC/MCParser/MCMasmParser.h: At global scope:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
  991 |       TM(TM) {
      |            ^
[9/142] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[10/142] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
[11/142] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[12/142] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
[13/142] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[14/142] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[2485/4904] Building CXX object tools\llvm-bcanalyzer\CMakeFiles\llvm-bcanalyzer.dir\llvm-bcanalyzer.cpp.obj
[2486/4904] Building CXX object tools\llvm-diff\lib\CMakeFiles\LLVMDiff.dir\DifferenceEngine.cpp.obj
[2487/4904] Building CXX object tools\llvm-diff\lib\CMakeFiles\LLVMDiff.dir\DiffConsumer.cpp.obj
[2488/4904] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCWinCOFFStreamer.cpp.obj
[2489/4904] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\COFFMasmParser.cpp.obj
[2490/4904] Linking CXX static library lib\LLVMWindowsDriver.lib
[2491/4904] Building CXX object tools\llvm-cov\CMakeFiles\llvm-cov.dir\llvm-cov.cpp.obj
[2492/4904] Building CXX object tools\llvm-cov\CMakeFiles\llvm-cov.dir\CoverageFilters.cpp.obj
[2493/4904] Building CXX object tools\llvm-diff\CMakeFiles\llvm-diff.dir\llvm-diff.cpp.obj
[2494/4904] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.obj 
C:\bin\ccache.exe C:\PROGRA~2\MICROS~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib\MC\MCParser -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\MC\MCParser -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Folib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj /Fdlib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\LLVMMCParser.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(991): error C2280: 'llvm::MCMasmParser::MCMasmParser(void)': attempting to reference a deleted function
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: compiler has generated 'llvm::MCMasmParser::MCMasmParser' here
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: 'llvm::MCMasmParser::MCMasmParser(void)': function was implicitly deleted because a base class 'llvm::MCAsmParser' has either no appropriate default constructor or overload resolution was ambiguous
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/MC/MCParser/MCAsmParser.h(123): note: see declaration of 'llvm::MCAsmParser'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(990): error C2614: '`anonymous-namespace'::MasmParser': illegal member initialization: 'MCAsmParser' is not a base or member
[2495/4904] Building CXX object tools\llvm-as\CMakeFiles\llvm-as.dir\llvm-as.cpp.obj
[2496/4904] Linking CXX static library lib\LLVMTextAPI.lib
[2497/4904] Linking CXX static library lib\LLVMCore.lib
[2498/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\PPCallbacks.cpp.obj
[2499/4904] Building Opcodes.inc...
[2500/4904] Building AttrDocTable.inc...
[2501/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\PreprocessingRecord.cpp.obj
[2502/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\ModuleMap.cpp.obj
[2503/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\ModuleMapFile.cpp.obj
[2504/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\PPConditionalDirectiveRecord.cpp.obj
[2505/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\ScratchBuffer.cpp.obj
[2506/4904] Building CXX object tools\clang\lib\ASTMatchers\CMakeFiles\obj.clangASTMatchers.dir\GtestMatchers.cpp.obj
[2507/4904] Building CXX object tools\clang\lib\ASTMatchers\Dynamic\CMakeFiles\obj.clangDynamicASTMatchers.dir\Marshallers.cpp.obj
[2508/4904] Building CXX object tools\clang\lib\ASTMatchers\CMakeFiles\obj.clangASTMatchers.dir\LowLevelHelpers.cpp.obj
[2509/4904] Building CXX object tools\clang\lib\ASTMatchers\Dynamic\CMakeFiles\obj.clangDynamicASTMatchers.dir\Parser.cpp.obj
[2510/4904] Building CXX object tools\clang\lib\ASTMatchers\CMakeFiles\obj.clangASTMatchers.dir\ASTMatchFinder.cpp.obj
[2511/4904] Building CXX object tools\clang\lib\ASTMatchers\Dynamic\CMakeFiles\obj.clangDynamicASTMatchers.dir\Diagnostics.cpp.obj
[2512/4904] Building CXX object tools\clang\lib\ASTMatchers\Dynamic\CMakeFiles\obj.clangDynamicASTMatchers.dir\Registry.cpp.obj
[2513/4904] Building CXX object tools\clang\lib\ASTMatchers\CMakeFiles\obj.clangASTMatchers.dir\ASTMatchersInternal.cpp.obj
[2514/4904] Linking CXX executable bin\llvm-config.exe
[2515/4904] Building CXX object tools\clang\lib\ASTMatchers\Dynamic\CMakeFiles\obj.clangDynamicASTMatchers.dir\VariantValue.cpp.obj
[2516/4904] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCContext.cpp.obj
[2517/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\HeaderSearch.cpp.obj
[2518/4904] Generating VCSVersion.inc
[2519/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\MacroArgs.cpp.obj
[2520/4904] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\IRSymtab.cpp.obj
[2521/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\Lexer.cpp.obj
[2522/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\LiteralSupport.cpp.obj
[2523/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\PreprocessorLexer.cpp.obj
[2524/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\MacroInfo.cpp.obj
[2525/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\PPLexerChange.cpp.obj
[2526/4904] Building CXX object tools\clang\lib\Lex\CMakeFiles\obj.clangLex.dir\TokenConcatenation.cpp.obj

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
12.194 [3982/17/2060] Building CXX object lib/ExecutionEngine/RuntimeDyld/CMakeFiles/LLVMRuntimeDyld.dir/RuntimeDyldMachO.cpp.o
12.195 [3981/17/2061] Building CXX object lib/ExecutionEngine/RuntimeDyld/CMakeFiles/LLVMRuntimeDyld.dir/RuntimeDyldELF.cpp.o
12.204 [3980/17/2062] Building CXX object lib/ExecutionEngine/RuntimeDyld/CMakeFiles/LLVMRuntimeDyld.dir/Targets/RuntimeDyldELFMips.cpp.o
12.208 [3979/17/2063] Building CXX object lib/Target/CMakeFiles/LLVMTarget.dir/Target.cpp.o
12.218 [3978/17/2064] Building CXX object lib/Target/CMakeFiles/LLVMTarget.dir/TargetMachine.cpp.o
12.231 [3977/17/2065] Building CXX object lib/Target/CMakeFiles/LLVMTarget.dir/TargetMachineC.cpp.o
12.233 [3976/17/2066] Building CXX object lib/Target/CMakeFiles/LLVMTarget.dir/TargetLoweringObjectFile.cpp.o
12.352 [3975/17/2067] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
13.939 [3974/17/2068] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
14.603 [3973/17/2069] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
ccache /usr/bin/clang++-17 -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/clang-debian-cpp20/clang-debian-cpp20/build/lib/MC/MCParser -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/MC/MCParser -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include -Wno-deprecated-enum-enum-conversion -Wno-deprecated-declarations -Wno-deprecated-anon-enum-enum-conversion -Wno-ambiguous-reversed-operator -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++20  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
15.191 [3973/16/2070] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
15.247 [3973/15/2071] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
16.168 [3973/14/2072] Building AArch64GenSubtargetInfo.inc...
16.309 [3973/13/2073] Building AArch64GenInstrInfo.inc...
19.968 [3973/12/2074] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
22.998 [3973/11/2075] Building AMDGPUGenCallingConv.inc...
25.164 [3973/10/2076] Building AMDGPUGenMCPseudoLowering.inc...
26.144 [3973/9/2077] Building AMDGPUGenAsmMatcher.inc...
26.560 [3973/8/2078] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
26.568 [3973/7/2079] Building AMDGPUGenDAGISel.inc...
28.527 [3973/6/2080] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/LTO/LTO.cpp:1519:38: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
 1519 |           if (LLVM_ENABLE_THREADS && Conf.TimeTraceEnabled)
      |                                      ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/LTO/LTO.cpp:1512:10: note: add an explicit capture of 'this' to capture '*this' by reference
 1512 |         [=](BitcodeModule BM, ModuleSummaryIndex &CombinedIndex,
      |          ^
      |           , this
1 warning generated.
28.585 [3973/5/2081] Building AMDGPUGenAsmWriter.inc...
28.882 [3973/4/2082] Building AMDGPUGenMCCodeEmitter.inc...
29.086 [3973/3/2083] Building AMDGPUGenDisassemblerTables.inc...
34.259 [3973/2/2084] Building AMDGPUGenGlobalISel.inc...
35.388 [3973/1/2085] Building AMDGPUGenInstrInfo.inc...
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder clang-armv7-lnt running on linaro-clang-armv7-lnt while building llvm at step 6 "build stage 1".

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

Here is the relevant piece of the build log for the reference
Step 6 (build stage 1) failure: 'ninja' (failure)
...
[4/142] Generating VCSRevision.h
[5/142] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[6/142] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[7/142] Generating VCSVersion.inc
[8/142] Linking CXX static library lib/libLLVMMC.a
[9/142] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
[10/142] Linking CXX executable bin/llvm-config
[11/142] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[12/142] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[13/142] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/clang-armv7-lnt/stage1/lib/MC/MCParser -I/home/tcwg-buildbot/worker/clang-armv7-lnt/llvm/llvm/lib/MC/MCParser -I/home/tcwg-buildbot/worker/clang-armv7-lnt/stage1/include -I/home/tcwg-buildbot/worker/clang-armv7-lnt/llvm/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/tcwg-buildbot/worker/clang-armv7-lnt/llvm/llvm/lib/MC/MCParser/MasmParser.cpp
../llvm/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[14/142] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
[15/142] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder lldb-arm-ubuntu running on linaro-lldb-arm-ubuntu while building llvm at step 4 "build".

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

Here is the relevant piece of the build log for the reference
Step 4 (build) failure: build (failure)
...
15.485 [1760/162/4704] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueFileSpecList.cpp.o
15.488 [1759/162/4705] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueFormat.cpp.o
15.491 [1758/162/4706] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueFormatEntity.cpp.o
15.494 [1757/162/4707] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueLanguage.cpp.o
15.498 [1756/162/4708] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValuePathMappings.cpp.o
15.501 [1755/162/4709] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueProperties.cpp.o
15.503 [1754/162/4710] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueRegex.cpp.o
15.506 [1753/162/4711] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueSInt64.cpp.o
15.509 [1752/162/4712] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueUInt64.cpp.o
15.512 [1751/162/4713] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lib/MC/MCParser -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/lib/MC/MCParser -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
../llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
15.514 [1751/161/4714] Building CXX object tools/lldb/tools/lldb-instr/CMakeFiles/lldb-instr.dir/Instrument.cpp.o
15.515 [1751/160/4715] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueString.cpp.o
15.516 [1751/159/4716] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionValueUUID.cpp.o
15.517 [1751/158/4717] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionGroupVariable.cpp.o
15.518 [1751/157/4718] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/OptionGroupWatchpoint.cpp.o
15.520 [1751/156/4719] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/Options.cpp.o
15.521 [1751/155/4720] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/Property.cpp.o
15.522 [1751/154/4721] Building CXX object tools/lldb/source/Interpreter/CMakeFiles/lldbInterpreter.dir/ScriptInterpreter.cpp.o
15.522 [1751/153/4722] Linking CXX static library lib/liblldbInterpreterInterfaces.a
15.524 [1751/152/4723] Building CXX object tools/lldb/source/Plugins/ABI/AArch64/CMakeFiles/lldbPluginABIAArch64.dir/ABIAArch64.cpp.o
15.525 [1751/151/4724] Building CXX object tools/lldb/source/Plugins/ABI/AArch64/CMakeFiles/lldbPluginABIAArch64.dir/ABIMacOSX_arm64.cpp.o
15.526 [1751/150/4725] Building CXX object tools/lldb/source/Plugins/ABI/AArch64/CMakeFiles/lldbPluginABIAArch64.dir/ABISysV_arm64.cpp.o
15.526 [1751/149/4726] Building CXX object tools/lldb/source/Plugins/ABI/ARM/CMakeFiles/lldbPluginABIARM.dir/ABIARM.cpp.o
15.527 [1751/148/4727] Building CXX object tools/lldb/source/Plugins/ABI/ARM/CMakeFiles/lldbPluginABIARM.dir/ABIMacOSX_arm.cpp.o
15.528 [1751/147/4728] Building CXX object tools/lldb/source/Plugins/ABI/ARM/CMakeFiles/lldbPluginABIARM.dir/ABISysV_arm.cpp.o
15.529 [1751/146/4729] Building CXX object tools/lldb/source/Plugins/ABI/Hexagon/CMakeFiles/lldbPluginABIHexagon.dir/ABISysV_hexagon.cpp.o
15.531 [1751/145/4730] Building CXX object tools/lldb/source/Plugins/ABI/LoongArch/CMakeFiles/lldbPluginABILoongArch.dir/ABISysV_loongarch.cpp.o
15.532 [1751/144/4731] Building CXX object tools/lldb/source/Plugins/ABI/Mips/CMakeFiles/lldbPluginABIMips.dir/ABIMips.cpp.o
15.533 [1751/143/4732] Building CXX object tools/lldb/source/Plugins/ABI/Mips/CMakeFiles/lldbPluginABIMips.dir/ABISysV_mips.cpp.o
15.534 [1751/142/4733] Building CXX object tools/lldb/source/Plugins/ABI/Mips/CMakeFiles/lldbPluginABIMips.dir/ABISysV_mips64.cpp.o
15.535 [1751/141/4734] Building CXX object tools/lldb/source/Plugins/ABI/MSP430/CMakeFiles/lldbPluginABIMSP430.dir/ABISysV_msp430.cpp.o
15.536 [1751/140/4735] Building CXX object tools/lldb/source/Plugins/ABI/PowerPC/CMakeFiles/lldbPluginABIPowerPC.dir/ABIPowerPC.cpp.o
15.537 [1751/139/4736] Building CXX object tools/lldb/source/Plugins/ABI/PowerPC/CMakeFiles/lldbPluginABIPowerPC.dir/ABISysV_ppc.cpp.o
15.538 [1751/138/4737] Building CXX object tools/lldb/source/Plugins/ABI/PowerPC/CMakeFiles/lldbPluginABIPowerPC.dir/ABISysV_ppc64.cpp.o
15.540 [1751/137/4738] Building CXX object tools/lldb/source/Plugins/ABI/RISCV/CMakeFiles/lldbPluginABIRISCV.dir/ABISysV_riscv.cpp.o
15.541 [1751/136/4739] Building CXX object tools/lldb/source/Plugins/ABI/SystemZ/CMakeFiles/lldbPluginABISystemZ.dir/ABISysV_s390x.cpp.o
15.541 [1751/135/4740] Building CXX object tools/lldb/source/Plugins/ABI/X86/CMakeFiles/lldbPluginABIX86.dir/ABIX86.cpp.o
15.542 [1751/134/4741] Building CXX object tools/lldb/source/Plugins/ABI/X86/CMakeFiles/lldbPluginABIX86.dir/ABIX86_i386.cpp.o
15.543 [1751/133/4742] Building CXX object tools/lldb/source/Plugins/ABI/X86/CMakeFiles/lldbPluginABIX86.dir/ABIMacOSX_i386.cpp.o
15.544 [1751/132/4743] Building CXX object tools/lldb/source/Plugins/ABI/X86/CMakeFiles/lldbPluginABIX86.dir/ABISysV_i386.cpp.o
15.545 [1751/131/4744] Building CXX object tools/lldb/source/Plugins/ABI/X86/CMakeFiles/lldbPluginABIX86.dir/ABISysV_x86_64.cpp.o
15.546 [1751/130/4745] Building CXX object tools/lldb/source/Plugins/ABI/X86/CMakeFiles/lldbPluginABIX86.dir/ABIWindows_x86_64.cpp.o
15.546 [1751/129/4746] Building CXX object tools/lldb/source/Plugins/Architecture/Arm/CMakeFiles/lldbPluginArchitectureArm.dir/ArchitectureArm.cpp.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 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/12348

Here is the relevant piece of the build log for the reference
Step 6 (build-check-mlir-build-only) failure: build (failure)
...
15.966 [2157/16/2606] Building CallInterfaces.h.inc...
15.977 [2156/16/2607] Building CastInterfaces.h.inc...
15.981 [2155/16/2608] Building XeGPUEnums.h.inc...
15.986 [2154/16/2609] Building ControlFlowInterfaces.cpp.inc...
15.987 [2153/16/2610] Building XeGPUEnums.cpp.inc...
15.988 [2152/16/2611] Building CopyOpInterface.cpp.inc...
15.991 [2151/16/2612] Building ControlFlowInterfaces.h.inc...
15.997 [2150/16/2613] Building BuiltinAttributes.h.inc...
16.002 [2149/16/2614] Building BuiltinAttributes.cpp.inc...
16.009 [2148/16/2615] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/MC/MCParser -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 -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
       ^~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
       TM(TM) {
            ^
In file included from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:39:0:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
 class MCMasmParser : public MCAsmParser {
       ^~~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:37:0:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)
   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
   ^~~~~~~~~~~
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
16.011 [2148/15/2616] Building DerivedAttributeOpInterface.h.inc...
16.012 [2148/14/2617] Building DerivedAttributeOpInterface.cpp.inc...
16.012 [2148/13/2618] Building CopyOpInterface.h.inc...
16.016 [2148/12/2619] Building DestinationStyleOpInterface.h.inc...
16.017 [2148/11/2620] Building DestinationStyleOpInterface.cpp.inc...
16.017 [2148/10/2621] Building FunctionInterfaces.cpp.inc...
16.020 [2148/9/2622] Building FunctionInterfaces.h.inc...
16.027 [2148/8/2623] Building BuiltinAttributeInterfaces.cpp.inc...
16.094 [2148/7/2624] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
16.568 [2148/6/2625] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
17.416 [2148/5/2626] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
19.361 [2148/4/2627] Building X86GenInstrInfo.inc...
20.356 [2148/3/2628] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
20.374 [2148/2/2629] Building X86GenSubtargetInfo.inc...
29.085 [2148/1/2630] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
ninja: build stopped: subcommand failed.

ericastor added a commit that referenced this pull request May 2, 2025
@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder mlir-s390x-linux running on systemz-1 while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
26.230 [3392/4/1440] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o
26.249 [3391/4/1441] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Minidump.cpp.o
26.274 [3390/4/1442] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/ModuleSymbolTable.cpp.o
26.296 [3389/4/1443] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Object.cpp.o
26.316 [3388/4/1444] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/ObjectFile.cpp.o
26.344 [3387/4/1445] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/OffloadBinary.cpp.o
26.367 [3386/4/1446] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/RecordStreamer.cpp.o
26.391 [3385/4/1447] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/RelocationResolver.cpp.o
26.410 [3384/4/1448] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/SymbolicFile.cpp.o
26.413 [3383/4/1449] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/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 -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/build/lib/MC/MCParser -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/MC/MCParser -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/build/include -I/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor '{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)':
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'llvm::MCAsmParser' is not a direct base of '{anonymous}::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function 'llvm::MCMasmParser::MCMasmParser()'
  991 |       TM(TM) {
      |            ^
In file included from /home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: 'llvm::MCMasmParser::MCMasmParser()' is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to 'llvm::MCAsmParser::MCAsmParser()'
In file included from /home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: 'llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)'
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/uweigand/sandbox/buildbot/mlir-s390x-linux/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
26.434 [3383/3/1450] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/SymbolSize.cpp.o
28.309 [3383/2/1451] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
28.861 [3383/1/1452] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

ericastor added a commit that referenced this pull request May 2, 2025
Reverts #131707 - apparently it had gotten into a bad
state, and will need relanding.
@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py ...' (failure)
...
@@@HALT_ON_FAILURE@@@
Running: ninja -j 16 compiler-rt
[1/2] Building CXX object projects\compiler-rt\lib\asan\CMakeFiles\RTAsan_dynamic_version_script_dummy.x86_64.dir\dummy.cpp.obj
[2/2] Linking CXX shared library lib\clang\21\lib\windows\clang_rt.asan_dynamic-x86_64.dll
Running: ninja -j 16 clang lld
[1/24] Generating VCSRevision.h
[2/24] Generating VCSVersion.inc
[3/24] Building CXX object tools\clang\lib\Basic\CMakeFiles\obj.clangBasic.dir\Version.cpp.obj
[4/24] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCWinCOFFStreamer.cpp.obj
[5/24] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.obj 
C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\sanitizer-windows\build\stage1\lib\MC\MCParser -IC:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser -IC:\b\slave\sanitizer-windows\build\stage1\include -IC:\b\slave\sanitizer-windows\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Zi /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Folib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj /Fdlib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\LLVMMCParser.pdb /FS -c C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp
C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(991): error C2280: 'llvm::MCMasmParser::MCMasmParser(void)': attempting to reference a deleted function
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: compiler has generated 'llvm::MCMasmParser::MCMasmParser' here
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: 'llvm::MCMasmParser::MCMasmParser(void)': function was implicitly deleted because a base class 'llvm::MCAsmParser' has either no appropriate default constructor or overload resolution was ambiguous
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/MC/MCParser/MCAsmParser.h(123): note: see declaration of 'llvm::MCAsmParser'
C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(990): error C2614: '`anonymous-namespace'::MasmParser': illegal member initialization: 'MCAsmParser' is not a base or member
[6/24] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\WinCOFFObjectWriter.cpp.obj
[7/24] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\COFFMasmParser.cpp.obj
[8/24] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCContext.cpp.obj
[9/24] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\IRSymtab.cpp.obj
[10/24] Building CXX object lib\Target\X86\AsmParser\CMakeFiles\LLVMX86AsmParser.dir\X86AsmParser.cpp.obj
[11/24] Building CXX object lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
[12/24] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTO.cpp.obj
ninja: build stopped: subcommand failed.
Command 'ninja' failed with return code 1
@@@STEP_FAILURE@@@
Step 7 (stage 1 build) failure: stage 1 build (failure)
@@@BUILD_STEP stage 1 build@@@
Running: ninja -j 16 compiler-rt
[1/2] Building CXX object projects\compiler-rt\lib\asan\CMakeFiles\RTAsan_dynamic_version_script_dummy.x86_64.dir\dummy.cpp.obj
[2/2] Linking CXX shared library lib\clang\21\lib\windows\clang_rt.asan_dynamic-x86_64.dll
Running: ninja -j 16 clang lld
[1/24] Generating VCSRevision.h
[2/24] Generating VCSVersion.inc
[3/24] Building CXX object tools\clang\lib\Basic\CMakeFiles\obj.clangBasic.dir\Version.cpp.obj
[4/24] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCWinCOFFStreamer.cpp.obj
[5/24] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.obj 
C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\slave\sanitizer-windows\build\stage1\lib\MC\MCParser -IC:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser -IC:\b\slave\sanitizer-windows\build\stage1\include -IC:\b\slave\sanitizer-windows\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Zi /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Folib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj /Fdlib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\LLVMMCParser.pdb /FS -c C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp
C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(991): error C2280: 'llvm::MCMasmParser::MCMasmParser(void)': attempting to reference a deleted function
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: compiler has generated 'llvm::MCMasmParser::MCMasmParser' here
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: 'llvm::MCMasmParser::MCMasmParser(void)': function was implicitly deleted because a base class 'llvm::MCAsmParser' has either no appropriate default constructor or overload resolution was ambiguous
C:\b\slave\sanitizer-windows\llvm-project\llvm\include\llvm/MC/MCParser/MCAsmParser.h(123): note: see declaration of 'llvm::MCAsmParser'
C:\b\slave\sanitizer-windows\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(990): error C2614: '`anonymous-namespace'::MasmParser': illegal member initialization: 'MCAsmParser' is not a base or member
[6/24] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\WinCOFFObjectWriter.cpp.obj
[7/24] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\COFFMasmParser.cpp.obj
[8/24] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCContext.cpp.obj
[9/24] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\IRSymtab.cpp.obj
[10/24] Building CXX object lib\Target\X86\AsmParser\CMakeFiles\LLVMX86AsmParser.dir\X86AsmParser.cpp.obj
[11/24] Building CXX object lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
[12/24] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTO.cpp.obj
ninja: build stopped: subcommand failed.
Command 'ninja' failed with return code 1
program finished with exit code 0
elapsedTime=50.984000

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[1753/2721] Building CXX object lib\ExecutionEngine\RuntimeDyld\CMakeFiles\LLVMRuntimeDyld.dir\RuntimeDyldELF.cpp.obj
[1754/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\JITLoaderVTune.cpp.obj
[1755/2721] Building CXX object lib\ExecutionEngine\RuntimeDyld\CMakeFiles\LLVMRuntimeDyld.dir\RuntimeDyldChecker.cpp.obj
[1756/2721] Building CXX object lib\DWP\CMakeFiles\LLVMDWP.dir\DWP.cpp.obj
[1757/2721] Building CXX object lib\ExecutionEngine\CMakeFiles\LLVMExecutionEngine.dir\TargetSelect.cpp.obj
[1758/2721] Building CXX object lib\DebugInfo\Symbolize\CMakeFiles\LLVMSymbolize.dir\Symbolize.cpp.obj
[1759/2721] Building CXX object lib\ExecutionEngine\RuntimeDyld\CMakeFiles\LLVMRuntimeDyld.dir\JITSymbol.cpp.obj
[1760/2721] Building CXX object lib\ExecutionEngine\RuntimeDyld\CMakeFiles\LLVMRuntimeDyld.dir\Targets\RuntimeDyldELFMips.cpp.obj
[1761/2721] Building CXX object lib\ExecutionEngine\RuntimeDyld\CMakeFiles\LLVMRuntimeDyld.dir\RuntimeDyld.cpp.obj
[1762/2721] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1443~1.348\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\lib\MC\MCParser -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\lib\MC\MCParser -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\include -IC:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Folib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\MasmParser.cpp.obj /Fdlib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\LLVMMCParser.pdb /FS -c C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(991): error C2280: 'llvm::MCMasmParser::MCMasmParser(void)': attempting to reference a deleted function
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: compiler has generated 'llvm::MCMasmParser::MCMasmParser' here
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\include\llvm/MC/MCParser/MCMasmParser.h(25): note: 'llvm::MCMasmParser::MCMasmParser(void)': function was implicitly deleted because a base class 'llvm::MCAsmParser' has either no appropriate default constructor or overload resolution was ambiguous
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\include\llvm/MC/MCParser/MCAsmParser.h(123): note: see declaration of 'llvm::MCAsmParser'
C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\lib\MC\MCParser\MasmParser.cpp(990): error C2614: '`anonymous-namespace'::MasmParser': illegal member initialization: 'MCAsmParser' is not a base or member
[1763/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\OrcRTBootstrap.cpp.obj
[1764/2721] Building CXX object lib\ExecutionEngine\MCJIT\CMakeFiles\LLVMMCJIT.dir\MCJIT.cpp.obj
[1765/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\RegisterEHFrames.cpp.obj
[1766/2721] Building CXX object lib\ExecutionEngine\Interpreter\CMakeFiles\LLVMInterpreter.dir\Execution.cpp.obj
[1767/2721] Building CXX object lib\Target\CMakeFiles\LLVMTarget.dir\Target.cpp.obj
[1768/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\UnwindInfoManager.cpp.obj
[1769/2721] Building CXX object lib\ExecutionEngine\Interpreter\CMakeFiles\LLVMInterpreter.dir\ExternalFunctions.cpp.obj
[1770/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\CompactUnwindSupport.cpp.obj
[1771/2721] Building CXX object lib\Target\CMakeFiles\LLVMTarget.dir\TargetMachine.cpp.obj
[1772/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\JITLinkGeneric.cpp.obj
[1773/2721] Building CXX object lib\Target\CMakeFiles\LLVMTarget.dir\TargetLoweringObjectFile.cpp.obj
[1774/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\JITLinkMemoryManager.cpp.obj
[1775/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\DWARFRecordSectionSplitter.cpp.obj
[1776/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\SimpleRemoteEPCServer.cpp.obj
[1777/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\MachO.cpp.obj
[1778/2721] Building CXX object lib\DebugInfo\Symbolize\CMakeFiles\LLVMSymbolize.dir\SymbolizableObjectFile.cpp.obj
[1779/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\JITLink.cpp.obj
[1780/2721] Building CXX object lib\ExecutionEngine\Interpreter\CMakeFiles\LLVMInterpreter.dir\Interpreter.cpp.obj
[1781/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\MachO_arm64.cpp.obj
[1782/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\SimpleExecutorMemoryManager.cpp.obj
[1783/2721] Building CXX object lib\Target\CMakeFiles\LLVMTarget.dir\TargetMachineC.cpp.obj
[1784/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\ExecutorSharedMemoryMapperService.cpp.obj
[1785/2721] Building CXX object lib\ExecutionEngine\CMakeFiles\LLVMExecutionEngine.dir\ExecutionEngine.cpp.obj
[1786/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\MachO_x86_64.cpp.obj
[1787/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\SimpleExecutorDylibManager.cpp.obj
[1788/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\DefaultHostBootstrapValues.cpp.obj
[1789/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\MachOLinkGraphBuilder.cpp.obj
[1790/2721] Building CXX object lib\ExecutionEngine\JITLink\CMakeFiles\LLVMJITLink.dir\EHFrameSupport.cpp.obj
[1791/2721] Building CXX object lib\ExecutionEngine\Orc\TargetProcess\CMakeFiles\LLVMOrcTargetProcess.dir\JITLoaderPerf.cpp.obj
[1792/2721] Building CXX object lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
[1793/2721] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCContext.cpp.obj
[1794/2721] Building X86GenExegesis.inc...

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

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

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

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)
...
[2817/5525] Building CXX object lib/Target/Sparc/MCTargetDesc/CMakeFiles/LLVMSparcDesc.dir/SparcTargetStreamer.cpp.o
[2818/5525] Building CXX object lib/Target/Sparc/TargetInfo/CMakeFiles/LLVMSparcInfo.dir/SparcTargetInfo.cpp.o
[2819/5525] Building SPIRVGenTables.inc...
[2820/5525] Building SPIRVGenRegisterBank.inc...
[2821/5525] Building SPIRVGenAsmWriter.inc...
[2822/5525] Building SystemZGenMCCodeEmitter.inc...
[2823/5525] Building SPIRVGenSubtargetInfo.inc...
[2824/5525] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVAPI.cpp.o
[2825/5525] Building SystemZGenGNUAsmWriter.inc...
[2826/5525] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[2827/5525] Building NVPTXGenInstrInfo.inc...
[2828/5525] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVAsmPrinter.cpp.o
[2829/5525] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o
[2830/5525] Building PPCGenDAGISel.inc...
[2831/5525] Building PPCGenInstrInfo.inc...
[2832/5525] Building SystemZGenDisassemblerTables.inc...
[2833/5525] Building SystemZGenCallingConv.inc...
[2834/5525] Building PPCGenGlobalISel.inc...
[2835/5525] Building SystemZGenRegisterInfo.inc...
[2836/5525] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[2837/5525] Building SystemZGenAsmMatcher.inc...
[2838/5525] Building SystemZGenHLASMAsmWriter.inc...
[2839/5525] Building VEGenCallingConv.inc...
[2840/5525] Building WebAssemblyGenSubtargetInfo.inc...
[2841/5525] Building WebAssemblyGenRegisterInfo.inc...
[2842/5525] Building WebAssemblyGenDisassemblerTables.inc...
[2843/5525] Building WebAssemblyGenAsmWriter.inc...
[2844/5525] Building VEGenDisassemblerTables.inc...
[2845/5525] Building WebAssemblyGenAsmMatcher.inc...
[2846/5525] Building VEGenMCCodeEmitter.inc...
[2847/5525] Building WebAssemblyGenDAGISel.inc...
[2848/5525] Building VEGenAsmMatcher.inc...
[2849/5525] Building VEGenSubtargetInfo.inc...
[2850/5525] Building VEGenAsmWriter.inc...
[2851/5525] Building VEGenRegisterInfo.inc...
[2852/5525] Building RISCVGenCompressInstEmitter.inc...
[2853/5525] Building WebAssemblyGenFastISel.inc...
[2854/5525] Building WebAssemblyGenMCCodeEmitter.inc...
[2855/5525] Building AMDGPUGenPostLegalizeGICombiner.inc...
[2856/5525] Building SystemZGenDAGISel.inc...
[2857/5525] Building WebAssemblyGenInstrInfo.inc...
[2858/5525] Building VEGenDAGISel.inc...
[2859/5525] Building SystemZGenInstrInfo.inc...
Step 8 (build compiler-rt symbolizer) failure: build compiler-rt symbolizer (failure)
...
[2817/5525] Building CXX object lib/Target/Sparc/MCTargetDesc/CMakeFiles/LLVMSparcDesc.dir/SparcTargetStreamer.cpp.o
[2818/5525] Building CXX object lib/Target/Sparc/TargetInfo/CMakeFiles/LLVMSparcInfo.dir/SparcTargetInfo.cpp.o
[2819/5525] Building SPIRVGenTables.inc...
[2820/5525] Building SPIRVGenRegisterBank.inc...
[2821/5525] Building SPIRVGenAsmWriter.inc...
[2822/5525] Building SystemZGenMCCodeEmitter.inc...
[2823/5525] Building SPIRVGenSubtargetInfo.inc...
[2824/5525] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVAPI.cpp.o
[2825/5525] Building SystemZGenGNUAsmWriter.inc...
[2826/5525] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[2827/5525] Building NVPTXGenInstrInfo.inc...
[2828/5525] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVAsmPrinter.cpp.o
[2829/5525] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVBuiltins.cpp.o
[2830/5525] Building PPCGenDAGISel.inc...
[2831/5525] Building PPCGenInstrInfo.inc...
[2832/5525] Building SystemZGenDisassemblerTables.inc...
[2833/5525] Building SystemZGenCallingConv.inc...
[2834/5525] Building PPCGenGlobalISel.inc...
[2835/5525] Building SystemZGenRegisterInfo.inc...
[2836/5525] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
[2837/5525] Building SystemZGenAsmMatcher.inc...
[2838/5525] Building SystemZGenHLASMAsmWriter.inc...
[2839/5525] Building VEGenCallingConv.inc...
[2840/5525] Building WebAssemblyGenSubtargetInfo.inc...
[2841/5525] Building WebAssemblyGenRegisterInfo.inc...
[2842/5525] Building WebAssemblyGenDisassemblerTables.inc...
[2843/5525] Building WebAssemblyGenAsmWriter.inc...
[2844/5525] Building VEGenDisassemblerTables.inc...
[2845/5525] Building WebAssemblyGenAsmMatcher.inc...
[2846/5525] Building VEGenMCCodeEmitter.inc...
[2847/5525] Building WebAssemblyGenDAGISel.inc...
[2848/5525] Building VEGenAsmMatcher.inc...
[2849/5525] Building VEGenSubtargetInfo.inc...
[2850/5525] Building VEGenAsmWriter.inc...
[2851/5525] Building VEGenRegisterInfo.inc...
[2852/5525] Building RISCVGenCompressInstEmitter.inc...
[2853/5525] Building WebAssemblyGenFastISel.inc...
[2854/5525] Building WebAssemblyGenMCCodeEmitter.inc...
[2855/5525] Building AMDGPUGenPostLegalizeGICombiner.inc...
[2856/5525] Building SystemZGenDAGISel.inc...
[2857/5525] Building WebAssemblyGenInstrInfo.inc...
[2858/5525] Building VEGenDAGISel.inc...
[2859/5525] Building SystemZGenInstrInfo.inc...
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
[784/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o
[785/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o
[786/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o
[787/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/BitcastBuffer.cpp.o
[788/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/ByteCodeEmitter.cpp.o
[789/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Compiler.cpp.o
[790/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Context.cpp.o
[791/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Descriptor.cpp.o
[792/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Frame.cpp.o
[793/2061] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[794/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Disasm.cpp.o
[795/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/EvalEmitter.cpp.o
[796/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Function.cpp.o
[797/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/FunctionPointer.cpp.o
[798/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltin.cpp.o
[799/2061] Linking CXX static library lib/libLLVMXCoreDisassembler.a
[800/2061] Linking CXX static library lib/libLLVMXCoreDesc.a
[801/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBuiltinBitCast.cpp.o
[802/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Floating.cpp.o
[803/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/EvaluationResult.cpp.o
[804/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/DynamicAllocator.cpp.o
[805/2061] Linking CXX static library lib/libLLVMHexagonDisassembler.a
[806/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Interp.cpp.o
[807/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpBlock.cpp.o
[808/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpFrame.cpp.o
[809/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpStack.cpp.o
[810/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpState.cpp.o
[811/2061] Linking CXX static library lib/libLLVMLanaiDisassembler.a
[812/2061] Linking CXX static library lib/libLLVMLoongArchDisassembler.a
[813/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Pointer.cpp.o
[814/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/PrimType.cpp.o
[815/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Program.cpp.o
[816/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Record.cpp.o
[817/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/Source.cpp.o
[818/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/State.cpp.o
[819/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/MemberPointer.cpp.o
[820/2061] Linking CXX static library lib/libLLVMRISCVDisassembler.a
[821/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ByteCode/InterpShared.cpp.o
[822/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o
[823/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o
[824/2061] Linking CXX static library lib/libLLVMSystemZDisassembler.a
[825/2061] Linking CXX static library lib/libLLVMAArch64Disassembler.a
[826/2061] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o
Step 10 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[2614/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchELFStreamer.cpp.o
[2615/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchInstPrinter.cpp.o
[2616/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchMCAsmInfo.cpp.o
[2617/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchMCCodeEmitter.cpp.o
[2618/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchMCExpr.cpp.o
[2619/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchMCTargetDesc.cpp.o
[2620/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchMatInt.cpp.o
[2621/5525] Building CXX object lib/Target/LoongArch/MCTargetDesc/CMakeFiles/LLVMLoongArchDesc.dir/LoongArchTargetStreamer.cpp.o
[2622/5525] Building CXX object lib/Target/LoongArch/TargetInfo/CMakeFiles/LLVMLoongArchInfo.dir/LoongArchTargetInfo.cpp.o
[2623/5525] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[2624/5525] Building MSP430GenCallingConv.inc...
[2625/5525] Building MSP430GenMCCodeEmitter.inc...
[2626/5525] Building MSP430GenDAGISel.inc...
[2627/5525] Building MSP430GenSubtargetInfo.inc...
[2628/5525] Building MSP430GenAsmMatcher.inc...
[2629/5525] Building MSP430GenAsmWriter.inc...
[2630/5525] Building MSP430GenDisassemblerTables.inc...
[2631/5525] Building MipsGenRegisterBank.inc...
[2632/5525] Building MSP430GenRegisterInfo.inc...
[2633/5525] Building MipsGenPostLegalizeGICombiner.inc...
[2634/5525] Building MipsGenMCCodeEmitter.inc...
[2635/5525] Building PPCGenMCCodeEmitter.inc...
[2636/5525] Building AMDGPUGenMCPseudoLowering.inc...
[2637/5525] Building SparcGenAsmWriter.inc...
[2638/5525] Building MSP430GenInstrInfo.inc...
[2639/5525] Building SparcGenCallingConv.inc...
[2640/5525] Building PPCGenExegesis.inc...
[2641/5525] Building PPCGenDisassemblerTables.inc...
[2642/5525] Building PPCGenRegisterInfo.inc...
[2643/5525] Building MipsGenMCPseudoLowering.inc...
[2644/5525] Building NVPTXGenSubtargetInfo.inc...
[2645/5525] Building SparcGenAsmMatcher.inc...
[2646/5525] Building PPCGenCallingConv.inc...
[2647/5525] Building PPCGenAsmMatcher.inc...
[2648/5525] Building NVPTXGenRegisterInfo.inc...
[2649/5525] Building MipsGenSubtargetInfo.inc...
[2650/5525] Building PPCGenAsmWriter.inc...
[2651/5525] Building AMDGPUGenPreLegalizeGICombiner.inc...
[2652/5525] Building PPCGenSubtargetInfo.inc...
[2653/5525] Building SparcGenDAGISel.inc...
[2654/5525] Building PPCGenFastISel.inc...
[2655/5525] Building NVPTXGenInstrInfo.inc...
[2656/5525] Building AMDGPUGenRegBankGICombiner.inc...
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[786/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o
[787/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o
[788/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceMgrAdapter.cpp.o
[789/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o
[790/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/StackExhaustionHandler.cpp.o
[791/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o
[792/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o
[793/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o
[794/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o
[795/2249] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[796/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o
[797/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o
[798/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o
[799/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o
[800/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o
[801/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o
[802/2249] Linking CXX static library lib/libLLVMSystemZInfo.a
[803/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/LVLGen.cpp.o
[804/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEAsmPrinter.cpp.o
[805/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VECustomDAG.cpp.o
[806/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEFrameLowering.cpp.o
[807/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEISelDAGToDAG.cpp.o
[808/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEISelLowering.cpp.o
[809/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEInstrInfo.cpp.o
[810/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEMachineFunctionInfo.cpp.o
[811/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VEMCInstLower.cpp.o
[812/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VERegisterInfo.cpp.o
[813/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VESubtarget.cpp.o
[814/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VETargetMachine.cpp.o
[815/2249] Building CXX object lib/Target/VE/CMakeFiles/LLVMVECodeGen.dir/VVPISelLowering.cpp.o
[816/2249] Building CXX object lib/Target/VE/AsmParser/CMakeFiles/LLVMVEAsmParser.dir/VEAsmParser.cpp.o
[817/2249] Building CXX object lib/Target/VE/Disassembler/CMakeFiles/LLVMVEDisassembler.dir/VEDisassembler.cpp.o
[818/2249] Building CXX object lib/Target/VE/TargetInfo/CMakeFiles/LLVMVEInfo.dir/VETargetInfo.cpp.o
[819/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VEAsmBackend.cpp.o
[820/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VEELFObjectWriter.cpp.o
[821/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VEInstPrinter.cpp.o
[822/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VEMCAsmInfo.cpp.o
[823/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VEMCCodeEmitter.cpp.o
[824/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VEMCExpr.cpp.o
[825/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VEMCTargetDesc.cpp.o
[826/2249] Building CXX object lib/Target/VE/MCTargetDesc/CMakeFiles/LLVMVEDesc.dir/VETargetStreamer.cpp.o
[827/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o
[828/2249] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o
Step 12 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[3381/5506] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o
[3382/5506] Building CXX object tools/clang/lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o
[3383/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o
[3384/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o
[3385/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o
[3386/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o
[3387/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o
[3388/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o
[3389/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o
[3390/5506] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[3391/5506] Building RISCVGenRegisterInfo.inc...
[3392/5506] Linking CXX static library lib/libLLVMSystemZDisassembler.a
[3393/5506] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o
[3394/5506] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o
[3395/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o
[3396/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o
[3397/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o
[3398/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o
[3399/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o
[3400/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o
[3401/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o
[3402/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o
[3403/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o
[3404/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o
[3405/5506] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o
[3406/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o
[3407/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o
[3408/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o
[3409/5506] Building RISCVGenAsmWriter.inc...
[3410/5506] Building VEGenInstrInfo.inc...
[3411/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o
[3412/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o
[3413/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o
[3414/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o
[3415/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o
[3416/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o
[3417/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o
[3418/5506] Building OpenCLBuiltins.inc...
[3419/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o
[3420/5506] Building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o
[3421/5506] Building RISCVGenPostLegalizeGICombiner.inc...
[3422/5506] Building RISCVGenMCPseudoLowering.inc...
[3423/5506] Building RISCVGenCompressInstEmitter.inc...
Step 13 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[4467/5525] Linking CXX executable bin/llvm-jitlink-executor
[4468/5525] Building CXX object tools/llvm-objcopy/CMakeFiles/llvm-objcopy.dir/ObjcopyOptions.cpp.o
[4469/5525] Linking CXX executable bin/llvm-rust-demangle-fuzzer
[4470/5525] Linking CXX executable bin/llvm-dis
[4471/5525] Building RISCVGenPostLegalizeGICombiner.inc...
[4472/5525] Linking CXX executable bin/llvm-microsoft-demangle-fuzzer
[4473/5525] Linking CXX executable bin/llvm-yaml-parser-fuzzer
[4474/5525] Building X86GenRegisterBank.inc...
[4475/5525] Linking CXX executable bin/llvm-mt
[4476/5525] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[4477/5525] Building X86GenRegisterInfo.inc...
[4478/5525] Linking CXX executable bin/llvm-special-case-list-fuzzer
[4479/5525] Linking CXX executable bin/llvm-diff
[4480/5525] Linking CXX executable bin/llvm-stress
[4481/5525] Linking CXX executable bin/llvm-yaml-numeric-parser-fuzzer
[4482/5525] Building X86GenAsmWriter1.inc...
[4483/5525] Building X86GenAsmWriter.inc...
[4484/5525] Building RISCVGenSearchableTables.inc...
[4485/5525] Building X86GenAsmMatcher.inc...
[4486/5525] Building X86GenInstrMapping.inc...
[4487/5525] Building X86GenMnemonicTables.inc...
[4488/5525] Building X86GenDisassemblerTables.inc...
[4489/5525] Building RISCVGenSubtargetInfo.inc...
[4490/5525] Building X86GenFoldTables.inc...
[4491/5525] Building AArch64GenSubtargetInfo.inc...
[4492/5525] Building AArch64GenInstrInfo.inc...
[4493/5525] Building X86GenFastISel.inc...
[4494/5525] Building X86GenGlobalISel.inc...
[4495/5525] Building X86GenSubtargetInfo.inc...
[4496/5525] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
[4497/5525] Building X86GenDAGISel.inc...
[4498/5525] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[4499/5525] Building AMDGPUGenMCPseudoLowering.inc...
[4500/5525] Building X86GenInstrInfo.inc...
[4501/5525] Building AMDGPUGenRegBankGICombiner.inc...
[4502/5525] Building AMDGPUGenPostLegalizeGICombiner.inc...
[4503/5525] Building AMDGPUGenPreLegalizeGICombiner.inc...
[4504/5525] Building AMDGPUGenSubtargetInfo.inc...
[4505/5525] Building AMDGPUGenMCCodeEmitter.inc...
[4506/5525] Building AMDGPUGenDisassemblerTables.inc...
[4507/5525] Building RISCVGenInstrInfo.inc...
[4508/5525] Building AMDGPUGenSearchableTables.inc...
[4509/5525] Building RISCVGenGlobalISel.inc...
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[226/713] Building CXX object lib/Target/X86/MCTargetDesc/CMakeFiles/LLVMX86Desc.dir/X86WinCOFFTargetStreamer.cpp.o
[227/713] Building CXX object lib/Target/X86/TargetInfo/CMakeFiles/LLVMX86Info.dir/X86TargetInfo.cpp.o
[228/713] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.o
[229/713] Linking CXX static library lib/libLLVMAArch64Disassembler.a
[230/713] Linking CXX static library lib/libLLVMRISCVDisassembler.a
[231/713] Linking CXX static library lib/libLLVMX86Info.a
[232/713] Linking CXX static library lib/libLLVMX86Disassembler.a
[233/713] Linking CXX static library lib/libLLVMX86Desc.a
[234/713] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVInstructionSelector.cpp.o
[235/713] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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/MC/MCParser -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser -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/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
[236/713] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
[237/713] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.

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




Step 15 (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/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 2, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-ubuntu running on as-builder-4 while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
64.984 [2112/64/1786] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/DebugUtils.cpp.o
65.079 [2111/64/1787] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/InjectedSourceStream.cpp.o
65.106 [2110/64/1788] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCDebugObjectRegistrar.cpp.o
65.137 [2109/64/1789] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCGenericDylibManager.cpp.o
65.174 [2108/64/1790] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCGenericJITLinkMemoryManager.cpp.o
65.186 [2107/64/1791] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugAddr.cpp.o
65.195 [2106/64/1792] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/EnumTables.cpp.o
65.197 [2105/64/1793] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/aarch64.cpp.o
65.202 [2104/64/1794] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCGenericRTDyldMemoryManager.cpp.o
65.221 [2103/64/1795] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/c++ -DEXPENSIVE_CHECKS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/lib/MC/MCParser -I/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/MC/MCParser -I/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/include -U_GLIBCXX_DEBUG -Wno-misleading-indentation -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g  -fno-exceptions -funwind-tables -fno-rtti -gsplit-dwarf -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
65.228 [2103/63/1796] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ObjectFileInterface.cpp.o
65.229 [2103/62/1797] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCIndirectionUtils.cpp.o
65.242 [2103/61/1798] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/GetDylibInterface.cpp.o
65.243 [2103/60/1799] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/ExecutionUtils.cpp.o
65.267 [2103/59/1800] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFListTable.cpp.o
65.389 [2103/58/1801] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/RawError.cpp.o
65.427 [2103/57/1802] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EHFrameRegistrationPlugin.cpp.o
65.428 [2103/56/1803] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/DebugObjectManagerPlugin.cpp.o
65.444 [2103/55/1804] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/DbiModuleDescriptorBuilder.cpp.o
65.452 [2103/54/1805] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCStreamer.cpp.o
65.556 [2103/53/1806] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/GlobalsStream.cpp.o
65.794 [2103/52/1807] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/NativeTypeUDT.cpp.o
65.798 [2103/51/1808] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/PDBStringTableBuilder.cpp.o
65.893 [2103/50/1809] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/NamedStreamMap.cpp.o
65.958 [2103/49/1810] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/NativeTypeTypedef.cpp.o
65.969 [2103/48/1811] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
65.974 [2103/47/1812] Building CXX object lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanVerifier.cpp.o
66.298 [2103/46/1813] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
66.593 [2103/45/1814] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/PublicsStream.cpp.o
66.673 [2103/44/1815] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/Native/NativeFunctionSymbol.cpp.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder clangd-ubuntu-tsan running on clangd-ubuntu-clang while building llvm at step 5 "build-clangd-clangd-index-server-clangd-indexer".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-clangd-clangd-index-server-clangd-indexer) failure: build (failure)
...
338.005 [2388/18/874] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/ELFAsmParser.cpp.o
338.013 [2387/18/875] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
338.083 [2386/18/876] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParserExtension.cpp.o
338.631 [2385/18/877] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCTargetAsmParser.cpp.o
339.396 [2384/18/878] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/XCOFFAsmParser.cpp.o
339.531 [2383/18/879] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/DarwinAsmParser.cpp.o
340.485 [2382/18/880] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/WasmAsmParser.cpp.o
340.818 [2381/18/881] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WasmObjectWriter.cpp.o
340.924 [2380/18/882] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Decompressor.cpp.o
340.999 [2379/18/883] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
ccache /usr/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/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/lib/MC/MCParser -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/MC/MCParser -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=thread -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
341.252 [2379/17/884] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/COFFImportFile.cpp.o
341.437 [2379/16/885] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/DXContainer.cpp.o
341.474 [2379/15/886] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/COFFModuleDefinition.cpp.o
341.519 [2379/14/887] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Archive.cpp.o
341.722 [2379/13/888] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Error.cpp.o
341.742 [2379/12/889] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Binary.cpp.o
342.074 [2379/11/890] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/FaultMapParser.cpp.o
342.184 [2379/10/891] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/BuildID.cpp.o
342.855 [2379/9/892] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/GOFFObjectFile.cpp.o
342.875 [2379/8/893] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/ArchiveWriter.cpp.o
343.569 [2379/7/894] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
343.582 [2379/6/895] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/COFFObjectFile.cpp.o
343.867 [2379/5/896] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRObjectFile.cpp.o
344.627 [2379/4/897] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
345.949 [2379/3/898] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolution.cpp.o
350.168 [2379/2/899] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/ELFObjectFile.cpp.o
354.568 [2379/1/900] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/ELF.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 2, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building llvm at step 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
0.365 [4195/13/42] Generating VCSVersion.inc
0.409 [4194/13/43] Building OpenCLBuiltins.inc...
0.948 [4192/12/44] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/Version.cpp.o
0.986 [4191/12/45] Linking CXX static library lib/libFortranSupport.a
0.988 [4191/11/46] Building CXX object tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
1.632 [4191/10/47] Building CXX object tools/bolt/lib/Utils/CMakeFiles/LLVMBOLTUtils.dir/CommandLineOpts.cpp.o
1.672 [4190/10/48] Linking CXX static library lib/libLLVMBOLTUtils.a
1.945 [4190/9/49] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
2.045 [4190/8/50] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
2.572 [4190/7/51] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/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/build/buildbot/premerge-monolithic-linux/build/lib/MC/MCParser -I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/MC/MCParser -I/build/buildbot/premerge-monolithic-linux/build/include -I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
    : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      ^~~~~~~~~~~
1 error generated.
2.720 [4190/6/52] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
2.978 [4190/5/53] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
4.032 [4190/4/54] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
7.266 [4190/3/55] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
11.463 [4190/2/56] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
12.727 [4190/1/57] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 3, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
18.417 [584/20/6201] Linking CXX static library lib/libMLIRSCFToSPIRV.a
18.420 [583/20/6202] Linking CXX static library lib/libMLIRCAPILinalg.a
18.421 [583/19/6203] Linking CXX static library lib/libMLIRTensorToLinalg.a
18.428 [583/18/6204] Linking CXX static library lib/libMLIRMeshToMPI.a
18.431 [583/17/6205] Linking CXX executable bin/mlir-minimal-opt-canonicalize
18.435 [583/16/6206] Linking CXX static library lib/libMLIRGPUToSPIRV.a
18.461 [583/15/6207] Building CXX object tools/mlir/tools/mlir-lsp-server/CMakeFiles/mlir-lsp-server.dir/mlir-lsp-server.cpp.o
18.476 [583/14/6208] Building CXX object tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o
18.479 [583/13/6209] Building CXX object tools/mlir/tools/mlir-opt/CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o
18.551 [583/12/6210] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
ccache /home/buildbots/llvm-external-buildbots/clang.19.1.7/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-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/lib/MC/MCParser -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/lib/MC/MCParser -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/build/include -I/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-flang-rhel-test/ppc64le-flang-rhel-clang-build/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
1 error generated.
18.703 [583/11/6211] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
20.574 [583/10/6212] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
21.427 [583/9/6213] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
24.132 [583/8/6214] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
29.238 [583/7/6215] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/cmake_pch.hxx.pch
33.054 [583/6/6216] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
34.222 [583/5/6217] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.pch
37.869 [583/4/6218] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
46.688 [583/3/6219] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/cmake_pch.hxx.pch
146.138 [583/2/6220] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/cmake_pch.hxx.pch
200.865 [583/1/6221] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/cmake_pch.hxx.pch
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 3, 2025

LLVM Buildbot has detected a new failure on builder bolt-x86_64-ubuntu-nfc running on bolt-worker while building llvm at step 7 "build-bolt".

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

Here is the relevant piece of the build log for the reference
Step 7 (build-bolt) failure: build (failure)
...
0.539 [29/10/271] No install step for 'bolt_rt'
0.541 [28/10/272] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZacasABIFix.cpp.o
0.556 [28/9/273] Completed 'bolt_rt'
0.572 [28/8/274] Linking CXX static library lib/libLLVMCore.a
0.610 [27/8/275] Linking CXX static library lib/libLLVMCFGuard.a
1.525 [27/7/276] Building CXX object tools/bolt/lib/Utils/CMakeFiles/LLVMBOLTUtils.dir/CommandLineOpts.cpp.o
1.564 [26/7/277] Linking CXX static library lib/libLLVMBOLTUtils.a
1.650 [26/6/278] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
1.732 [26/5/279] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
2.421 [26/4/280] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.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 -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/lib/MC/MCParser -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/MC/MCParser -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp: In constructor ‘{anonymous}::MasmParser::MasmParser(llvm::SourceMgr&, llvm::MCContext&, llvm::MCStreamer&, const llvm::MCAsmInfo&, tm, unsigned int)’:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type ‘llvm::MCAsmParser’ is not a direct base of ‘{anonymous}::MasmParser’
  990 |     : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      |       ^~~~~~~~~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:991:12: error: use of deleted function ‘llvm::MCMasmParser::MCMasmParser()’
  991 |       TM(TM) {
      |            ^
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:39:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: note: ‘llvm::MCMasmParser::MCMasmParser()’ is implicitly deleted because the default definition would be ill-formed:
   17 | class MCMasmParser : public MCAsmParser {
      |       ^~~~~~~~~~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/MC/MCParser/MCMasmParser.h:17:7: error: no matching function for call to ‘llvm::MCAsmParser::MCAsmParser()’
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:37:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note: candidate: ‘llvm::MCAsmParser::MCAsmParser(llvm::MCContext&, llvm::MCStreamer&, llvm::SourceMgr&, const llvm::MCAsmInfo&)’
  139 |   MCAsmParser(MCContext &, MCStreamer &, SourceMgr &, const MCAsmInfo &);
      |   ^~~~~~~~~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/MC/MCParser/MCAsmParser.h:139:3: note:   candidate expects 4 arguments, 0 provided
2.542 [26/3/281] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
3.788 [26/2/282] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
8.428 [26/1/283] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmParser.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 3, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
193.106 [2571/96/1460] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/FaultMapParser.cpp.o
193.167 [2570/96/1461] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/DarwinAsmParser.cpp.o
193.183 [2569/96/1462] Linking CXX static library lib/libLLVMRemarks.a
193.219 [2568/96/1463] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
193.294 [2567/96/1464] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/XCOFF/XCOFFWriter.cpp.o
193.328 [2566/96/1465] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/XCOFFObjectWriter.cpp.o
193.394 [2565/96/1466] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/WindowsMachineFlag.cpp.o
193.447 [2564/96/1467] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Error.cpp.o
193.463 [2563/96/1468] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/XCOFF/XCOFFReader.cpp.o
193.491 [2562/96/1469] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/clang++ -DEXPENSIVE_CHECKS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/lib/MC/MCParser -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/MC/MCParser -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include -U_GLIBCXX_DEBUG -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'llvm::MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
    : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      ^~~~~~~~~~~
1 error generated.
193.606 [2562/95/1470] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/Archive.cpp.o
193.607 [2562/94/1471] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Decompressor.cpp.o
193.608 [2562/93/1472] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
193.614 [2562/92/1473] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/COFF/COFFReader.cpp.o
193.721 [2562/91/1474] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/XCOFF/XCOFFObjcopy.cpp.o
194.005 [2562/90/1475] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/MachO/MachOLayoutBuilder.cpp.o
194.074 [2562/89/1476] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/COFFModuleDefinition.cpp.o
194.120 [2562/88/1477] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/DXContainer.cpp.o
194.160 [2562/87/1478] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/ObjCopy.cpp.o
194.226 [2562/86/1479] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/COFF/COFFObject.cpp.o
194.281 [2562/85/1480] Building CXX object lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/SampleProfile.cpp.o
194.281 [2562/84/1481] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/COFF/COFFObjcopy.cpp.o
194.314 [2562/83/1482] Building CXX object lib/MCA/CMakeFiles/LLVMMCA.dir/InstrBuilder.cpp.o
194.369 [2562/82/1483] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/COFFImportFile.cpp.o
194.472 [2562/81/1484] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/wasm/WasmObjcopy.cpp.o
194.518 [2562/80/1485] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/GOFFYAML.cpp.o
194.590 [2562/79/1486] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Binary.cpp.o
194.601 [2562/78/1487] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/GOFFObjectFile.cpp.o
194.682 [2562/77/1488] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/SymbolicFile.cpp.o
194.826 [2562/76/1489] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Minidump.cpp.o
194.956 [2562/75/1490] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Object.cpp.o
194.963 [2562/74/1491] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/VectorUtils.cpp.o
195.010 [2562/73/1492] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/StackSafetyAnalysis.cpp.o
195.019 [2562/72/1493] Building CXX object lib/Debuginfod/CMakeFiles/LLVMDebuginfod.dir/HTTPClient.cpp.o
195.090 [2562/71/1494] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/MachOUniversal.cpp.o
195.120 [2562/70/1495] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ModuleSummaryAnalysis.cpp.o
195.160 [2562/69/1496] Building CXX object lib/ObjectYAML/CMakeFiles/LLVMObjectYAML.dir/YAML.cpp.o
195.171 [2562/68/1497] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/Archive.cpp.o
195.236 [2562/67/1498] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/TapiFile.cpp.o
195.254 [2562/66/1499] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/MachO/MachOReader.cpp.o
195.259 [2562/65/1500] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/MachO/MachOObject.cpp.o
195.273 [2562/64/1501] Building CXX object lib/ObjCopy/CMakeFiles/LLVMObjCopy.dir/MachO/MachOWriter.cpp.o
195.342 [2562/63/1502] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/BuildID.cpp.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 3, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/clang-tidy/llvmlibc/CalleeNamespaceCheck.h:12:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/clang-tidy/llvmlibc/../ClangTidyCheck.h:14:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/ASTMatchers/ASTMatchFinder.h:43:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/ASTMatchers/ASTMatchers.h:67:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/StmtOpenMP.h:5820:14: warning: parameter 'NumClauses' not found in the function declaration [-Wdocumentation]
  /// \param NumClauses Number of clauses to allocate.
             ^~~~~~~~~~
12 warnings generated.
10.349 [1438/96/4713] Building CXX object tools/clang/tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o
10.358 [1437/96/4714] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/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/b/1/clang-x86_64-debian-fast/llvm.obj/lib/MC/MCParser -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/MC/MCParser -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:44:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/MC/MCStreamer.h:30:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/TargetParser/ARMTargetParser.h:268:12: warning: parameter 'Arch' not found in the function declaration [-Wdocumentation]
/// \param Arch the architecture name (e.g., "armv7s"). If it is an empty
           ^~~~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/TargetParser/ARMTargetParser.h:268:12: note: did you mean 'MArch'?
/// \param Arch the architecture name (e.g., "armv7s"). If it is an empty
           ^~~~
           MArch
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:44:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/MC/MCStreamer.h:631:14: warning: parameter 'Sym' not found in the function declaration [-Wdocumentation]
  /// \param Sym - The symbol on the .ref directive.
             ^~~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/MC/MCStreamer.h:631:14: note: did you mean 'Symbol'?
  /// \param Sym - The symbol on the .ref directive.
             ^~~
             Symbol
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'llvm::MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
    : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      ^~~~~~~~~~~
2 warnings and 1 error generated.
10.360 [1437/95/4715] Building CXX object tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/clang-tidy/llvm/HeaderGuardCheck.cpp:9:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/clang-tidy/llvm/HeaderGuardCheck.h:12:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/clang-tidy/llvm/../utils/HeaderGuard.h:12:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/clang-tidy/llvm/../utils/../ClangTidyCheck.h:14:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/ASTMatchers/ASTMatchFinder.h:43:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/ASTMatchers/ASTMatchers.h:47:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/ASTContext.h:21:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/Decl.h:17:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/APValue.h:391:14: warning: parameter 'UninitArray' not found in the function declaration [-Wdocumentation]
  /// \param UninitArray Marker. Pass an empty UninitArray.
             ^~~~~~~~~~~
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/APValue.h:400:14: warning: parameter 'UninitStruct' not found in the function declaration [-Wdocumentation]
  /// \param UninitStruct Marker. Pass an empty UninitStruct.
             ^~~~~~~~~~~~
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/clang-tidy/llvm/HeaderGuardCheck.cpp:9:

@llvm-ci
Copy link
Collaborator

llvm-ci commented May 3, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
6.605 [2961/42/4296] Building X86GenFoldTables.inc...
6.831 [2961/41/4297] Building X86GenAsmMatcher.inc...
6.914 [2961/40/4298] Building X86GenRegisterBank.inc...
7.083 [2961/39/4299] Building RISCVGenSearchableTables.inc...
7.102 [2961/38/4300] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
7.239 [2961/37/4301] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
7.290 [2961/36/4302] Building RISCVGenSubtargetInfo.inc...
7.435 [2961/35/4303] Building X86GenRegisterInfo.inc...
7.949 [2961/34/4304] Building X86GenGlobalISel.inc...
8.020 [2961/33/4305] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o
FAILED: lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/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/b/1/llvm-x86_64-debian-dylib/build/lib/MC/MCParser -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/lib/MC/MCParser -I/b/1/llvm-x86_64-debian-dylib/build/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -MF lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o.d -o lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MasmParser.cpp.o -c /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/lib/MC/MCParser/MasmParser.cpp:990:7: error: type 'llvm::MCAsmParser' is not a direct or virtual base of '(anonymous namespace)::MasmParser'
    : MCAsmParser(Ctx, Out, SM, MAI), CurBuffer(CB ? CB : SM.getMainFileID()),
      ^~~~~~~~~~~
1 error generated.
8.073 [2961/32/4306] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
8.113 [2961/31/4307] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o
8.179 [2961/30/4308] Building X86GenFastISel.inc...
9.138 [2961/29/4309] Building X86GenDAGISel.inc...
9.788 [2961/28/4310] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
10.299 [2961/27/4311] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
10.687 [2961/26/4312] Building AArch64GenSubtargetInfo.inc...
11.267 [2961/25/4313] Building X86GenSubtargetInfo.inc...
11.282 [2961/24/4314] Building AArch64GenInstrInfo.inc...
11.811 [2961/23/4315] Building X86GenInstrInfo.inc...
12.115 [2961/22/4316] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
12.423 [2961/21/4317] Building RISCVGenInstrInfo.inc...
12.548 [2961/20/4318] Building AMDGPUGenMCPseudoLowering.inc...
12.927 [2961/19/4319] Building AMDGPUGenRegBankGICombiner.inc...
13.327 [2961/18/4320] Building AMDGPUGenPreLegalizeGICombiner.inc...
13.584 [2961/17/4321] Building AMDGPUGenPostLegalizeGICombiner.inc...
13.621 [2961/16/4322] Building AMDGPUGenSubtargetInfo.inc...
13.821 [2961/15/4323] Building AMDGPUGenDisassemblerTables.inc...
13.947 [2961/14/4324] Building RISCVGenGlobalISel.inc...
14.025 [2961/13/4325] Building AMDGPUGenMCCodeEmitter.inc...
15.326 [2961/12/4326] Building AMDGPUGenSearchableTables.inc...
16.377 [2961/11/4327] Building RISCVGenDAGISel.inc...
17.148 [2961/10/4328] Building AMDGPUGenCallingConv.inc...
17.456 [2961/9/4329] Building AMDGPUGenAsmWriter.inc...
18.689 [2961/8/4330] Building AMDGPUGenDAGISel.inc...
18.874 [2961/7/4331] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
19.224 [2961/6/4332] Building AMDGPUGenAsmMatcher.inc...
19.354 [2961/5/4333] Building AMDGPUGenGlobalISel.inc...
20.220 [2961/4/4334] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
20.713 [2961/3/4335] Building AMDGPUGenInstrInfo.inc...
21.711 [2961/2/4336] Building AMDGPUGenRegisterBank.inc...
24.284 [2961/1/4337] Building AMDGPUGenRegisterInfo.inc...
ninja: build stopped: subcommand failed.

IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
Matches ML.EXE by translating "ret" instructions inside a `PROC FAR` to "retf", and automatically prepending a `push cs` to all near calls to a `PROC FAR`.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
)

Reverts llvm#131707 - apparently it had gotten into a bad
state, and will need relanding.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
Matches ML.EXE by translating "ret" instructions inside a `PROC FAR` to "retf", and automatically prepending a `push cs` to all near calls to a `PROC FAR`.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
)

Reverts llvm#131707 - apparently it had gotten into a bad
state, and will need relanding.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
Matches ML.EXE by translating "ret" instructions inside a `PROC FAR` to "retf", and automatically prepending a `push cs` to all near calls to a `PROC FAR`.
IanWood1 pushed a commit to IanWood1/llvm-project that referenced this pull request May 6, 2025
)

Reverts llvm#131707 - apparently it had gotten into a bad
state, and will need relanding.
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request May 6, 2025
…" (#138353)

Reverts llvm/llvm-project#131707 - apparently it had gotten into a bad
state, and will need relanding.
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
Matches ML.EXE by translating "ret" instructions inside a `PROC FAR` to "retf", and automatically prepending a `push cs` to all near calls to a `PROC FAR`.
GeorgeARM pushed a commit to GeorgeARM/llvm-project that referenced this pull request May 7, 2025
)

Reverts llvm#131707 - apparently it had gotten into a bad
state, and will need relanding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:X86 mc Machine (object) code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants