Build fail on mac osx for Git code
i try building from http://dl.rust-lang.org/dist/rust-0.3.tar.gz build is successful. but on on latest git code base, build is failing on my iMac with 10.6.8. OS version.
make is giving following error
llvm[5]: ======= Finished Linking Release+Asserts Executable diagtool (without symbols) llvm[5]: Compiling ClangCheck.cpp for Release+Asserts build llvm[5]: Linking Release+Asserts executable clang-check (without symbols) llvm[5]: ======= Finished Linking Release+Asserts Executable clang-check (without symbols) llvm[5]: Compiling ClangASTDump.cpp for Release+Asserts build /var/folders/Mn/MniahSSdEPyqP93Uh9LBhk+++TI/-Tmp-//cceo1Sie.s:unknown:Non-global symbol: __ZZN5clang7tooling24newFrontendActionFactoryIN12_GLOBAL__N_120SelectiveDumpVisitorEEEPNS0_21FrontendActionFactoryEPT_EN28FrontendActionFactoryAdapter22ConsumerFactoryAdaptor17CreateASTConsumerERNS_16CompilerInstanceEN4llvm9StringRefE.eh can't be a weak_definition /var/folders/Mn/MniahSSdEPyqP93Uh9LBhk+++TI/-Tmp-//cceo1Sie.s:unknown:Non-global symbol: __ZZN5clang7tooling24newFrontendActionFactoryIN12_GLOBAL__N_120SelectiveDumpVisitorEEEPNS0_21FrontendActionFactoryEPT_EN28FrontendActionFactoryAdapter6createEv.eh can't be a weak_definition make[5]: *** [/Users/WCL/rustGitHub/rust/llvm/x86_64-apple-darwin/tools/clang/tools/clang-ast-dump/Release+Asserts/ClangASTDump.o] Error 1 make[4]: *** [all] Error 1 make[3]: *** [all] Error 1 make[2]: *** [clang/.makeall] Error 2 make[1]: *** [all] Error 1 make: *** [/Users/WCL/rustGitHub/rust/llvm/x86_64-apple-darwin/Release+Asserts/bin/llvm-config] Error 2
It works on Mac OS 10.8 (Mountain Lion).
@fsouza thanks for reply.
after build break I did make again , this time it worked.
I will check on mountain lion if it builds smoothly and then close the issue.
I'm reopening this because it's still happening on OSX 10.6.8, and suggest we try to fix this before the 0.4 release since it could cause errors for new users.
ok it's on the 0.4 list
Fixed by erickt.