Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 618862

Summary: =sys-devel/clang-4.0.0-r2 fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED INVALID    
Severity: normal CC: mgorny, tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Agostino Sarubbo gentoo-dev 2017-05-18 18:14:32 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2017-05-18 18:17:15 UTC
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
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-18 18:30:15 UTC
I'm building on 4G with -j3, and yes, a few files actually swap.
Comment 3 Agostino Sarubbo gentoo-dev 2017-05-24 08:06:28 UTC
it worked for me with -j1