#46887: llvm-3.7 @3.7-r229298 fails building on 10.6.8 -------------------------+------------------------ Reporter: braumann@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: llvm-3.7 | -------------------------+------------------------ Comment (by braumann@…): Thanks for the work-around. I have relaunched building after cleaning, however, shortly after {{{ :info:build llvm[1]: Linking Release+Debug+Asserts Shared Library libLLVM-3.7svn.dylib }}} I run into the following linker problem {{{ :info:build Undefined symbols for architecture x86_64: :info:build "_environ", referenced from: :info:build Execute(llvm::sys::ProcessInfo&, llvm::StringRef, char const**, char const**, llvm::StringRef const**, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in libLLVMSupport.a(Program.o) :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/llvm-3.7/work/trunk/Release+Debug+Asserts/lib/libLLVM-3.7svn.dylib] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/llvm-3.7/work/trunk/tools /llvm-shlib' :info:build make: *** [all] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/llvm-3.7/work/trunk' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.7/llvm-3.7/work/trunk" && /usr/bin/make -j8 -w all :info:build Exit code: 2 :error:build org.macports.build for port llvm-3.7 returned: command execution failed :debug:build Error code: CHILDSTATUS 12310 2 }}} I attach the full log file. -- Ticket URL: <https://trac.macports.org/ticket/46887#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X