...
Note: Linux distributions shipping GCC 4.9.x can not use Clang to compile for now because of a GCC bug. You have to use GCC instead.
While compiling you may get one error like: "c++: internal compiler error: Killed (program cc1plus)" the reasons of this can be:
Low ram/swap amount: increase ram/swap to a minimum of 2GB of ram and 2GB of swap or decrease the amount of make -j to 1.
Selinux kernel: change to one non-Selinux kernel or use Debian 9 or Ubuntu 16 compiling with clang or compile without pch.
Debian based distributions (recommended)
...