SVN version fails to compile

I tried to compile currently latest revision 105100 and got errors (below). I tried to get previous revisions, down to 105090, and all of them have the same error.

configure was given flags: --enable-assertions --enable-shared --enable-libffi --enable-debug-runtime --enable-debug-symbols --disable-optimized

FreeBSD-8.0

2.7 with the same flags builds ok.

Yuri

--- errors ---
llvm[3]: Compiling gtest-port.cc for Debug build
/tmp/llvm-svn/llvm-objects/utils/FileCheck/Debug/FileCheck.o(.text+0x16b5): In function `CanonicalizeInputFile':
/tmp/llvm-svn/llvm/utils/FileCheck/FileCheck.cpp:464: undefined reference to `llvm::MemoryBuffer::getMemBufferCopy(llvm::StringRef, char const*)'
/tmp/llvm-svn/llvm-objects/utils/FileCheck/Debug/FileCheck.o(.text+0x1767): In function `ReadCheckFile':
/tmp/llvm-svn/llvm/utils/FileCheck/FileCheck.cpp:478: undefined reference to `llvm::MemoryBuffer::getFileOrSTDIN(llvm::StringRef, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, long long, stat*)'
/tmp/llvm-svn/llvm-objects/utils/FileCheck/Debug/FileCheck.o(.text+0x230c): In function `main':
/tmp/llvm-svn/llvm/utils/FileCheck/FileCheck.cpp:636: undefined reference to `llvm::MemoryBuffer::getFileOrSTDIN(llvm::StringRef, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, long long, stat*)'
collect2: ld returned 1 exit status
gmake[2]: *** [/tmp/llvm-svn/llvm-objects/Debug/bin/FileCheck] Error 1
gmake[2]: Leaving directory `/tmp/llvm-svn/llvm-objects/utils/FileCheck'
gmake[1]: *** [FileCheck/.makeall] Error 2

Never mind, it was the conflict with the pre-installedm llvm-2.7 package, libraries from it were picked by my build.

Yuri