Code:
../../bin/llvm-tblgen: error while loading shared libraries: libLLVMSupport.so: cannot open shared object file: No such file or directory
I saw that lib in build/lib dir and I use -j1 so this can't be lib problem
I'm afraid it _is_ your problem, because the system isn't seeing it.Try sticking a symlink to it in /usr/lib64 or suchlike, & running ldconfig. Also, there's world of difference between libLLVMSupport.so, libLLVMSupport.so.N (e.g. libLLVMSupport.so.1) & libLLVMSupport.so.N.NN. Go figure. You may also be able to add the libdir in the ./configure line and tell it to search there.