Opened 16 years ago

Last modified 15 years ago

#14233 closed defect

llvm-2.1 fails to build on Leopard (10.5.1) — at Initial Version

Reported by: kain.nomad@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: llvm Cc:
Port:

Description

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 (0)

Note: See TracTickets for help on using tickets.