Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16019 closed defect (fixed)

llvm: can't upgrade from 2.2 to 2.3

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: erickt@…
Port:

Description

I think it's finding the old llvm 2.2 libraries and includes and trying to use them to build the new llvm 2.3.

$ port upgrade llvm
--->  Fetching llvm
--->  Verifying checksum(s) for llvm
--->  Extracting llvm
--->  Configuring llvm
--->  Building llvm
Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build" && nice -n 1 make all " returned error 2
Command output: llvm[1]: Building Release Archive Library libLLVMSupport.a
llvm[2]: Compiling AsmWriterEmitter.cpp for Release build 
llvm[2]: Compiling CallingConvEmitter.cpp for Release build 
llvm[2]: Compiling CodeEmitterGen.cpp for Release build 
llvm[2]: Compiling CodeGenDAGPatterns.cpp for Release build 
llvm[2]: Compiling CodeGenInstruction.cpp for Release build 
llvm[2]: Compiling CodeGenTarget.cpp for Release build 
llvm[2]: Compiling DAGISelEmitter.cpp for Release build 
llvm[2]: Compiling InstrEnumEmitter.cpp for Release build 
llvm[2]: Compiling InstrInfoEmitter.cpp for Release build 
llvm[2]: Compiling IntrinsicEmitter.cpp for Release build 
llvm[2]: Compiling LLVMCConfigurationEmitter.cpp for Release build 
llvm[2]: Compiling Record.cpp for Release build 
llvm[2]: Compiling RegisterInfoEmitter.cpp for Release build 
llvm[2]: Compiling SubtargetEmitter.cpp for Release build 
llvm[2]: Compiling TGLexer.cpp for Release build 
llvm[2]: Compiling TGParser.cpp for Release build 
llvm[2]: Compiling TableGen.cpp for Release build 
llvm[2]: Compiling TableGenBackend.cpp for Release build 
llvm[2]: Linking Release executable tblgen (without symbols)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
llvm::MemoryBuffer::getFile(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, long long)
llvm::MemoryBuffer::getFileOrSTDIN(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, long long)
llvm::cl::ParseCommandLineOptions(int, char**, char const*, bool)
llvm::cl::basic_parser_impl::printOptionInfo(llvm::cl::Option const&, unsigned long) const
llvm::cl::generic_parser_base::printOptionInfo(llvm::cl::Option const&, unsigned long) const
collect2: ld returned 1 exit status
make[2]: *** [/mp/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/Release/bin/tblgen] Error 1
make[1]: *** [TableGen/.makeall] Error 2
make: *** [all] Error 1

Error: Unable to upgrade port: 1
$

Change History (3)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

This was with MacPorts trunk @38333, Mac OS X 10.4.11, Xcode 2.5, MacBook Pro.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r38382.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.