pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

packaging julia lang, stuck on llvm



Compiling julia on netbsd, stuck on llvm build.


Anyone with julia or llvm experience have a clue for this?  julia
bundles llvm inside of its own dependencies:

llvm[4]: ======= Finished Linking Release Executable llvm-config
(without symbols)
llvm[5]: Compiling AnalysisWrappers.cpp for Release build
llvm[5]: Compiling GraphPrinters.cpp for Release build
llvm[5]: Compiling PrintSCC.cpp for Release build
llvm[5]: Compiling opt.cpp for Release build
llvm[5]: Linking Release executable opt (without symbols)
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `(anonymous
namespace)::BasicBlockPassPrinter::getAnalysisUsage(llvm::AnalysisUsage&)
const':
opt.cpp:(.text+0x90): undefined reference to
`llvm::AnalysisUsage::addRequiredID(void const*)'
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `(anonymous
namespace)::RegionPassPrinter::getAnalysisUsage(llvm::AnalysisUsage&)
const':
opt.cpp:(.text+0xb0): undefined reference to
`llvm::AnalysisUsage::addRequiredID(void const*)'
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `(anonymous
namespace)::LoopPassPrinter::getAnalysisUsage(llvm::AnalysisUsage&)
const':
opt.cpp:(.text+0xd0): undefined reference to
`llvm::AnalysisUsage::addRequiredID(void const*)'
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `(anonymous
namespace)::FunctionPassPrinter::getAnalysisUsage(llvm::AnalysisUsage&)
const':
opt.cpp:(.text+0xf0): undefined reference to
`llvm::AnalysisUsage::addRequiredID(void const*)'
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `(anonymous
namespace)::CallGraphSCCPassPrinter::getAnalysisUsage(llvm::AnalysisUsage&)
const':
opt.cpp:(.text+0x110): undefined reference to
`llvm::AnalysisUsage::addRequiredID(void const*)'
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:opt.cpp:(.text+0x130):
more undefined references to `llvm::AnalysisUsage::addRequiredID(void
const*)' follow
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `AddOptimizationPasses(llvm::PassManagerBase&,
llvm::FunctionPassManager&, unsigned int, unsigned int)':
opt.cpp:(.text+0x172): undefined reference to
`llvm::createVerifierPass(llvm::VerifierFailureAction)'
opt.cpp:(.text+0x183): undefined reference to
`llvm::PassManagerBuilder::PassManagerBuilder()'
opt.cpp:(.text+0x1c6): undefined reference to
`llvm::createFunctionInliningPass(int)'
opt.cpp:(.text+0x1f6): undefined reference to
`llvm::PassManagerBuilder::populateFunctionPassManager(llvm::FunctionPassManager&)'
opt.cpp:(.text+0x201): undefined reference to
`llvm::PassManagerBuilder::populateModulePassManager(llvm::PassManagerBase&)'
opt.cpp:(.text+0x209): undefined reference to
`llvm::PassManagerBuilder::~PassManagerBuilder()'
opt.cpp:(.text+0x231): undefined reference to `llvm::createAlwaysInlinerPass()'
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `(anonymous
namespace)::BreakpointPrinter::~BreakpointPrinter()':
opt.cpp:(.text+0x2af): undefined reference to `llvm::ModulePass::~ModulePass()'
/usr/pbulk/scratch/wip/julia/work/julia/deps/llvm-3.3/build_Release/tools/opt/Release/opt.o:
In function `(anonymous
namespace)::BasicBlockPassPrinter::~BasicBlockPassPrinter()':


and tons of stuff like this:
opt.cpp:(.text+0x1b52): undefined reference to `vtable for
llvm::cl::parser<std::string>'
opt.cpp:(.text+0x1b59): undefined reference to `llvm::cl::GeneralCategory'
opt.cpp:(.text+0x1b68): undefined reference to `vtable for
llvm::cl::opt<std::string, false, llvm::cl::parser<std::string> >'
opt.cpp:(.text+0x1bc6): undefined reference to `vtable for
llvm::cl::OptionValue<std::string>'
opt.cpp:(.text+0x1bf3): undefined reference to `llvm::cl::Option::addArgument()'
opt.cpp:(.text+0x1ce6): undefined reference to `llvm::cl::Option::addArgument()'
opt.cpp:(.text+0x1dbd): undefined reference to `llvm::cl::Option::addArgument()'
opt.cpp:(.text+0x2006): undefined reference to `vtable for
llvm::cl::parser<bool>'
opt.cpp:(.text+0x2063): undefined reference to `vtable for
llvm::cl::opt<bool, false, llvm::cl::parser<bool> >'
opt.cpp:(.text+0x2087): undefined reference to `llvm::cl::Option::addArgument()'
opt.cpp:(.text+0x220a): undefined reference to `llvm::cl::Option::addArgument()'
opt.cpp:(.text+0x22b2): undefined reference to `llvm::cl::Option::addArgument()'
opt.cpp:(.text+0x235a): undefined reference to `llvm::cl::Option::addArgument()'
opt.cpp:(.text+0x2517): undefined reference to `llvm::cl::Option::addArgument()'


Home | Main Index | Thread Index | Old Index