I am getting ... /usr/bin/ld: Undefined symbols: llvm::MVT::getValueTypeString(llvm::MVT::ValueType) llvm::MVT::getVectorType(llvm::MVT::ValueType, unsigned int) llvm::MVT::getTypeForValueType(llvm::MVT::ValueType) collect2: ld returned 1 exit status
I don't have such problems here (Linux) and with crosscompiler (MingW, targeting windows). Maybe this is due to big circular dependency of libraries.
Created attachment 369 [details] proosed patch Attached patch (pr841.diff) fixes build failures on Mac OS X.
Patch doesn't break anything on Linux (rebuilding llc & lli correctly).
Fixed.