[MacPorts] #14233: llvm-2.1 fails to build on Leopard (10.5.1)

MacPorts trac at macosforge.org
Fri Feb 8 12:35:56 PST 2008


#14233: llvm-2.1 fails to build on Leopard (10.5.1)
----------------------------------+-----------------------------------------
 Reporter:  kain.nomad at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.6.0                                
 Keywords:  llvm                  |  
----------------------------------+-----------------------------------------
 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.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14233>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list