LLGO installation

Hi,

I get the follwing error when trying to compile llgo (LLVM bindings for Go) on my mac:

Scanning dependencies of target clang
[ 98%] [100%] [100%] Building CXX object tools/driver/CMakeFiles/clang.dir/driver.cpp.o
Building CXX object tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o
Building CXX object tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o
Linking CXX executable …/…/bin/clang

Undefined symbols for architecture x86_64:
“_AnnotateHappensAfter”, referenced from:
llvm::Statistic::init() in libclangStaticAnalyzerFrontend.a(AnalysisConsumer.cpp.o)
llvm::Statistic::init() in libclangStaticAnalyzerCore.a(CoreEngine.cpp.o)
llvm::Statistic::init() in libclangStaticAnalyzerCore.a(ExprEngineCallAndReturn.cpp.o)
llvm::Statistic::init() in libclangStaticAnalyzerCore.a(ExprEngine.cpp.o)
llvm::Statistic::init() in libclangStaticAnalyzerCore.a(BugReporter.cpp.o)
llvm::Statistic::init() in libclangStaticAnalyzerCheckers.a(AnalyzerStatsChecker.cpp.o)
llvm::Statistic::init() in libclangAnalysis.a(CallGraph.cpp.o)

“llvm::isCurrentDebugType(char const*)”, referenced from:
llvm::sys::UnicodeCharSet::rangesAreValid() const in libclangLex.a(Lexer.cpp.o)
“llvm::DebugFlag”, referenced from:
llvm::sys::UnicodeCharSet::rangesAreValid() const in libclangLex.a(Lexer.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [bin/clang-3.6] Error 1
make[3]: *** [tools/driver/CMakeFiles/clang.dir/all] Error 2
make[2]: *** [tools/driver/CMakeFiles/clang.dir/rule] Error 2
make[1]: *** [clang] Error 2
make: *** [workdir/.update-clang-stamp] Error 2

Can you help me fix this ?

Thanks