Skip to content

auto-win-gnu-32-opt bot is failing llvm build on MIPS header file #30496

Closed
@pnkfelix

Description

@pnkfelix

bors blocked because auto-win-gnu-32-opt bot is failing llvm build on MIPS header file

Pull Requests that have failed due to this:
#30352
#30468
#30469
#30482
#30486
#30413
#30461
#30473

Sample Error Message:

make[4]: Entering directory '/c/bot/slave/auto-win-gnu-32-opt/build/obj/i686-pc-windows-gnu/llvm/lib/Target/Mips'
llvm[4]: Compiling Mips16FrameLowering.cpp for Release build
In file included from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h:74:0,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips.h:18,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsFrameLowering.h:17,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.h:17,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:14:
C:/bot/slave/auto-win-gnu-32-opt/build/obj/i686-pc-windows-gnu/llvm/lib/Target/Mips/MipsGenInstrInfo.inc:2032:0: error: unterminated #ifdef
 #ifdef GET_INSTRINFO_MC_DESC
 ^
In file included from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:29:0,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16InstrInfo.h:18,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:16:
C:/bot/slave/auto-win-gnu-32-opt/build/obj/i686-pc-windows-gnu/llvm/lib/Target/Mips/MipsGenInstrInfo.inc:2032:0: error: unterminated #ifdef
 #ifdef GET_INSTRINFO_MC_DESC
 ^
In file included from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16InstrInfo.h:18:0,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:16:
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:33:47: error: expected class-name before '{' token
 class MipsInstrInfo : public MipsGenInstrInfo {
                                               ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:54:8: error: 'bool llvm::MipsInstrInfo::AnalyzeBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock*&, llvm::MachineBasicBlock*&, llvm::SmallVectorImpl<llvm::MachineOperand>&, bool) const' marked override, but does not override
   bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
        ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:59:12: error: 'unsigned int llvm::MipsInstrInfo::RemoveBranch(llvm::MachineBasicBlock&) const' marked override, but does not override
   unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
            ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:61:12: error: 'unsigned int llvm::MipsInstrInfo::InsertBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock*, llvm::MachineBasicBlock*, llvm::ArrayRef<llvm::MachineOperand>, llvm::DebugLoc) const' marked override, but does not override
   unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
            ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:66:3: error: 'bool llvm::MipsInstrInfo::ReverseBranchCondition(llvm::SmallVectorImpl<llvm::MachineOperand>&) const' marked override, but does not override
   ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const override;
   ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:75:8: error: 'void llvm::MipsInstrInfo::insertNoop(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator) const' marked override, but does not override
   void insertNoop(MachineBasicBlock &MBB,
        ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:89:8: error: 'void llvm::MipsInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, bool, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const' marked override, but does not override
   void storeRegToStackSlot(MachineBasicBlock &MBB,
        ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsInstrInfo.h:97:8: error: 'void llvm::MipsInstrInfo::loadRegFromStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, unsigned int, int, const llvm::TargetRegisterClass*, const llvm::TargetRegisterInfo*) const' marked override, but does not override
   void loadRegFromStackSlot(MachineBasicBlock &MBB,
        ^
In file included from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:16:0:
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16InstrInfo.h:35:12: error: 'unsigned int llvm::Mips16InstrInfo::isLoadFromStackSlot(const llvm::MachineInstr*, int&) const' marked override, but does not override
   unsigned isLoadFromStackSlot(const MachineInstr *MI,
            ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16InstrInfo.h:43:12: error: 'unsigned int llvm::Mips16InstrInfo::isStoreToStackSlot(const llvm::MachineInstr*, int&) const' marked override, but does not override
   unsigned isStoreToStackSlot(const MachineInstr *MI,
            ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16InstrInfo.h:46:8: error: 'void llvm::Mips16InstrInfo::copyPhysReg(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, llvm::DebugLoc, unsigned int, unsigned int, bool) const' marked override, but does not override
   void copyPhysReg(MachineBasicBlock &MBB,
        ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16InstrInfo.h:65:8: error: 'bool llvm::Mips16InstrInfo::expandPostRAPseudo(llvm::MachineBasicBlock::iterator) const' marked override, but does not override
   bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override;
        ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16InstrInfo.h:106:12: error: 'unsigned int llvm::Mips16InstrInfo::getInlineAsmLength(const char*, const llvm::MCAsmInfo&) const' marked override, but does not override
   unsigned getInlineAsmLength(const char *Str,
            ^
In file included from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:19:0:
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsSubtarget.h:281:24: error: invalid covariant return type for 'virtual const llvm::MipsInstrInfo* llvm::MipsSubtarget::getInstrInfo() const'
   const MipsInstrInfo *getInstrInfo() const override { return InstrInfo.get(); }
                        ^
In file included from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/MipsSubtarget.h:25:0,
                 from C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:19:
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/include/llvm/Target/TargetSubtargetInfo.h:76:34: error:   overriding 'virtual const llvm::TargetInstrInfo* llvm::TargetSubtargetInfo::getInstrInfo() const'
   virtual const TargetInstrInfo *getInstrInfo() const { return nullptr; }
                                  ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp: In member function 'virtual void llvm::Mips16FrameLowering::emitPrologue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const':
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:58:30: error: 'const class llvm::Mips16InstrInfo' has no member named 'get'
   BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION))
                              ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:73:34: error: 'const class llvm::Mips16InstrInfo' has no member named 'get'
       BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION))
                                  ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:78:32: error: 'const class llvm::Mips16InstrInfo' has no member named 'get'
     BuildMI(MBB, MBBI, dl, TII.get(Mips::MoveR3216), Mips::S0)
                                ^
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp: In member function 'virtual void llvm::Mips16FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const':
C:/bot/slave/auto-win-gnu-32-opt/build/src/llvm/lib/Target/Mips/Mips16FrameLowering.cpp:96:32: error: 'const class llvm::Mips16InstrInfo' has no member named 'get'
     BuildMI(MBB, MBBI, dl, TII.get(Mips::Move32R16), Mips::SP)
                                ^
/c/bot/slave/auto-win-gnu-32-opt/build/src/llvm/Makefile.rules:1521: recipe for target '/c/bot/slave/auto-win-gnu-32-opt/build/obj/i686-pc-windows-gnu/llvm/lib/Target/Mips/Release/Mips16FrameLowering.o' failed
make[4]: Leaving directory '/c/bot/slave/auto-win-gnu-32-opt/build/obj/i686-pc-windows-gnu/llvm/lib/Target/Mips'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions