On 11/16/26 9:00 AM, ashley wrote:
> Hello, gentoo!
>
> its my first time actualy posting to the mailing list, so please do tell me
> if i get anything wrong :)
You did pretty well, I'd say. :) Thanks for making sure to provide all
the details upfront.
> 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. i have attached all of the
> output and the logs portage told me to, and i hope we can resolve this
> issue, especialy given llvm takes a long time to compile.
>
> i have also attacked my make.conf, if that helps at all.
>
> thank you in advance.
As Philipp noted already, the error in build.log is that g++ is aborting
due to running out of memory.
From make.conf:
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8"
MAKEFLAGS="-j8 -l8"
From emerge --info:
System uname:
Linux…@_1.60GHz-with-glibc2.44
KiB Mem: 7753044 total, 6395524 free
KiB Swap: 8388604 total, 7165456 free
Your system is going to cry a bit if you actually end up building 8*8
things at once. I would highly advise looking into using a global
jobserver: https://wiki.gentoo.org/wiki/Steve
This would allow you to build 8 packages in parallel (emerge --jobs=8)
but only allow a maximum of 8 heavy GCC compiles at a time, distributed
across all packages. It will help you from blowing completely through
your available memory.
Note as well, Steve supports various mechanisms for job control,
including "only allow new jobs to be started if you have at least X
memory available", which can give better results in combination with max
jobs, than just using max jobs alone.
--
Eli Schwartz