set binutils, clang, gcc*, llvm* copy2fs link /lib64 -> /lib tce-load -i compiletc git llvm-dev python clang git clone https://github.com/llvm-mirror/libclc cd libclc ./configure.py --with-llvm-config=/usr/local/bin/llvm-config edit Makefile remove "-flto -fuse-linker-plugin" make sudo make install