Created attachment 473176 [details] build log [ebuild U ~] sys-devel/clang-4.0.0-r2:4::gentoo [4.0.0:4::gentoo] USE="doc static-analyzer -debug -default-compiler-rt -default-libcxx -multitarget {-test} -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" I had no problems with older versions
ok, I see: virtual memory exhausted: Cannot allocate memory That means that the machines with <8GB of ram can't compile clang anymore? I'm not compiling on tmpfs anyway
I'm building on 4G with -j3, and yes, a few files actually swap.
it worked for me with -j1