Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618862 - =sys-devel/clang-4.0.0-r2 fails to compile
Summary: =sys-devel/clang-4.0.0-r2 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-18 18:14 UTC by Agostino Sarubbo
Modified: 2018-03-29 08:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,320.42 KB, text/x-log)
2017-05-18 18:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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