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

Bug 836648

Summary: sys-devel/clang-14.0.0-r1: lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o
Product: Gentoo Linux Reporter: HougeLangley <hougelangley1987>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build Log
emerge --info

Description HougeLangley 2022-04-02 13:08:25 UTC
Update to clang-14.0.0-r1

Reproducible: Always
Comment 1 HougeLangley 2022-04-02 13:14:11 UTC
Created attachment 768508 [details]
Build Log
Comment 2 HougeLangley 2022-04-02 13:16:16 UTC
Created attachment 768509 [details]
emerge --info
Comment 3 HougeLangley 2022-04-02 13:16:52 UTC
houge@gentoo-lxqt ~ $ emerge -pqv '=sys-devel/clang-14.0.0-r1::gentoo'
[ebuild  NS   ] sys-devel/clang-14.0.0-r1 [13.0.1] USE="(pie%*) static-analyzer xml -debug -default-compiler-rt -default-libcxx -default-lld -doc -llvm-libunwind -test" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE*) (WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-M68k)" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 
houge@gentoo-lxqt ~ $
Comment 4 Ionen Wolkens gentoo-dev 2022-04-02 18:23:03 UTC
x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus

In almost every cases this means that you ran out of RAM while building, if you look near the end of `dmesg` output you may see a message about it to confirm.

MAKEOPTS="-j20" seems excessive, each thread can "potentially" use ~2GB ram, meaning 2x20=40GB -- if /var/tmp happens to be tmpfs that could also be a lot worse.

Please review your settings and try again.