Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58868 closed defect (fixed)

ispc @1.11.0: Undefined symbols llvm::Value::dump() const llvm::Module::dump() const

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ispc

Description

ispc does not build on OS X 10.9 and later:

Undefined symbols for architecture x86_64:
  "llvm::Value::dump() const", referenced from:
      lDumpValue(llvm::Value*, std::__1::set<llvm::Value*, std::__1::less<llvm::Value*>, std::__1::allocator<llvm::Value*> >&) in llvmutil.cpp.o
      IntrinsicsOpt::runOnBasicBlock(llvm::BasicBlock&) in opt.cpp.o
      InstructionSimplifyPass::runOnBasicBlock(llvm::BasicBlock&) in opt.cpp.o
      ImproveMemoryOpsPass::runOnBasicBlock(llvm::BasicBlock&) in opt.cpp.o
      GatherCoalescePass::runOnBasicBlock(llvm::BasicBlock&) in opt.cpp.o
      ReplacePseudoMemoryOpsPass::runOnBasicBlock(llvm::BasicBlock&) in opt.cpp.o
      IsCompileTimeConstantPass::runOnBasicBlock(llvm::BasicBlock&) in opt.cpp.o
      ...
  "llvm::Module::dump() const", referenced from:
      Optimize(llvm::Module*, int) in opt.cpp.o
      DebugPass::runOnModule(llvm::Module&) in opt.cpp.o
ld: symbol(s) not found for architecture x86_64

Change History (3)

comment:1 Changed 5 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: assignedclosed

In 5eb768a54de36485a3c04d0502247e04ba734bc4/macports-ports (master):

ispc: explicitly depend on llvm to make require_active_variant into effect

Closes: #58868

comment:2 Changed 5 years ago by kencu (Ken)

buildbots still failing on all systems, sorry...

comment:3 Changed 5 years ago by kencu (Ken)

but does indeed install correctly if llvm-8.0 is reinstalled with the +debug variant. So we're in business!

Note: See TracTickets for help on using tickets.