[cfe-dev] Error while building llvm/clang

Shreyans Doshi via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 27 12:32:24 PDT 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170728/90da73d0/attachment.html>


More information about the cfe-dev mailing list