#14233 closed defect (fixed)
llvm-2.1 fails to build on Leopard (10.5.1)
Reported by: | kain.nomad@… | Owned by: | erickt@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | llvm | Cc: | |
Port: |
Description (last modified by jmpalacios (Juan Manuel Palacios))
I've already installed llvm-2.0 on Mac OS X 10.5.1. But, llvm-2.1 fails to build. (port selfupdate is done, of course)
---> Fetching llvm ---> Verifying checksum(s) for llvm ---> Extracting llvm ---> Configuring llvm ---> Building llvm with target tools-only Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build" && make tools-only " returned error 2 Command output: llvm[1]: Building llvm-config script. make[2]: Nothing to be done for `all'. llvm[2]: Compiling AnalysisWrappers.cpp for Release build llvm[2]: Compiling GraphPrinters.cpp for Release build llvm[2]: Compiling PrintSCC.cpp for Release build llvm[2]: Compiling opt.cpp for Release build llvm[2]: Linking Release executable opt (without symbols) Undefined symbols: "llvm::createGVNPREPass()", referenced from: (anonymous namespace)::ForcePassLinking::ForcePassLinking() in opt.o "llvm::createLoopUnswitchPass(bool)", referenced from: (anonymous namespace)::AddStandardCompilePasses(llvm::PassManager&) in opt.o (anonymous namespace)::ForcePassLinking::ForcePassLinking() in opt.o "llvm::createScalarReplAggregatesPass(int)", referenced from: (anonymous namespace)::AddStandardCompilePasses(llvm::PassManager&) in opt.o (anonymous namespace)::ForcePassLinking::ForcePassLinking() in opt.o "llvm::createGVNPass()", referenced from: (anonymous namespace)::AddStandardCompilePasses(llvm::PassManager&) in opt.o (anonymous namespace)::ForcePassLinking::ForcePassLinking() in opt.o "llvm::CheckBitcodeOutputToConsole(std::basic_ostream<char, std::char_traits<char> >*, bool)", referenced from: _main in opt.o "llvm::createLoopIndexSplitPass()", referenced from: (anonymous namespace)::ForcePassLinking::ForcePassLinking() in opt.o "llvm::createRedundantLoadEliminationPass()", referenced from: (anonymous namespace)::ForcePassLinking::ForcePassLinking() in opt.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/bin/opt] Error 1 make[1]: *** [opt/.makeall] Error 2 make: *** [all] Error 1 Error: Status 1 encountered during processing.
Change History (7)
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|---|
Milestone: | → Port Bugs |
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to erickt@… |
---|
comment:3 Changed 17 years ago by erickt@…
Status: | new → assigned |
---|
I've bumped llvm to 2.2. Did that fix your problem?
comment:4 Changed 17 years ago by ez.mac@…
Hi thanks for the update but the same issue occurred to me with 2.2 :
llvm[2]: Linking Release executable tblgen (without symbols) Undefined symbols:
"llvm::cl::ParseCommandLineOptions(int, char, char const*)", referenced from:
_main in TableGen.o
"llvm::MemoryBuffer::getFileOrSTDIN(char const*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, long long)", referenced from:
ParseFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)in TableGen.o
ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/bin/tblgen Error 1 make[1]: * [TableGen/.makeall] Error 2 make: * [all] Error 1
etc ...
How could I help ?
comment:5 Changed 17 years ago by ez.mac@…
ok my bad, I didn't read all the threads : so got uninstalled previous version, now it compiles fine ...
sorry for disturbance, thanks for your support
comment:6 Changed 17 years ago by erickt@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
No problem!
Assigning to maintainer.