-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Compilation fails on MacOs. When I run it, I get an error about various labels being undefined for x86_64:
Undefined symbols for architecture x86_64:
"llvm::MachineInstr::addOperand(llvm::MachineFunction&, llvm::MachineOperand const&)", referenced from:
(anonymous namespace)::PatmosSPMark::runOnMachineModule(llvm::Module const&) in PatmosSPMark.cpp.o
llvm::PatmosSPReduce::applyPredicates(llvm::SPScope*, llvm::MachineFunction&) in PatmosSPReduce.cpp.o
llvm::PatmosSPReduce::insertStackLocInitializations(llvm::SPScope*) in PatmosSPReduce.cpp.o
llvm::PatmosSPReduce::insertDefToRegLoc(llvm::MachineBasicBlock&, unsigned int, unsigned int, llvm::SmallVectorImpl<llvm::MachineOperand> const&, bool, bool, bool) in PatmosSPReduce.cpp.o
llvm::PatmosSPReduce::insertDefToS0SpillSlot(llvm::MachineBasicBlock&, unsigned int, unsigned int, unsigned int, llvm::SmallVectorImpl<llvm::MachineOperand> const&) in PatmosSPReduce.cpp.o
llvm::PatmosSPReduce::insertDefToStackLoc(llvm::MachineBasicBlock&, unsigned int, unsigned int, llvm::SmallVectorImpl<llvm::MachineOperand> const&) in PatmosSPReduce.cpp.o
llvm::PatmosSPReduce::insertUseSpillLoad(llvm::RAInfo const&, llvm::_PredicatedBlock<llvm::MachineBasicBlock, llvm::MachineInstr, llvm::MachineOperand>*) in PatmosSPReduce.cpp.o
...
This is not necessarily an issue with the code, as it also doesn't compile on bc4cc75.
Even going back to before I began committing, and patching it like bc4cc75, it still doesn't compile.
Therefore, this might have something to do with the age of the project, and could be solved by updating to a newer version of LLVM.
Metadata
Metadata
Assignees
Labels
No labels