🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.gentoo.user
2 messages
2 total messages Started by Philipp Ludwig Mon, 16 Nov 2026 14:20
Re: [gentoo-user] LLVM Failed to build
#168
Author: Philipp Ludwig
Date: Mon, 16 Nov 2026 14:20
22 lines
2196 bytes
Am 2026-11-16 15:00, schrieb ashley:
> last night i was letting portage emerge world again (as i so often do, 
> given
> the shovels of vulnerabilities being found and the fact i am on the 
> testing
> branch), and i woke up to an error from portage.

In the logs I see:

> x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program 
> cc1plus

Check dmesg if g++ was killed because your system was out of memory. 
Compiling
LLVM can be very memory-intensive, especially if your argument to `-j` 
in
MAKEOPTS is high.
If you rebooted in the meantime, you may not find this output in `dmesg` 
anymore,
but _maybe_ in `journalctl --dmesg -b -1`.

Best regards
Re: [gentoo-user] LLVM Failed to build
#169
Author: sedna
Date: Mon, 16 Nov 2026 14:50
20 lines
1978 bytes
> Check dmesg if g++ was killed because your system was out of memory.

I checked dmesg, and i found that g++ was indeed oom-killed.

[125534.506164]
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=1,mems_allowed=0,global_oom,task_memcg=/1,task=cc1plus,pid=439010,uid=250
[125534.506180] Out of memory: Killed process 439010 (cc1plus)
total-vm:16107396kB, anon-rss:5664500kB, file-rss:12kB, shmem-rss:0kB,
UID:250 pgtables:22908kB oom_score_adj:0

> Compiling LLVM can be very memory-intensive, especially if your
> argument to `-j` in MAKEOPTS is high.

my -j in makeopts is set to 8, so that explains a lot :)

thank you so much for the help! i am glad it wasn't something more serious.

-- 
sedna@sdf.org
SDF Public Unix System - http://sdf.org/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads