Error while building llvm/clang

I’m newbie to llvm/clang development. So, I’m trying to follow the steps mentioned on https://clang.llvm.org/get_started.html. I’ve skipped optional steps for simplicity. On step 7.4: make is to be run. On running it, upto 72% it is fine.
After that, I’m getting following error:

[ 72%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o
In file included from /home/thereal/svn/llvm/tools/clang/lib/Basic/Targets.cpp:19:0:
/home/thereal/svn/llvm/tools/clang/lib/Basic/Targets/ARM.h:55:34: error: ‘ARMV4T’ is not a member of ‘llvm::ARM::ArchKind’
llvm::ARM::ArchKind ArchKind = llvm::ARM::ArchKind::ARMV4T;
^~~~
make[2]: *** [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o] Error 1
make[1]: *** [tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/all] Error 2
make: *** [all] Error 2

I’ve not made any changes to the code yet. I just to build it first.

Am I missing any modules ?
I don’t have any clues. Please help me.

Thanks.

Regards
Shreyans Doshi

It looks like you got unlucky and checked out a revision which doesn’t build (or you have mismatched revisions of LLVM and clang); try updating clang and LLVM to the latest revision, and build again. -Eli