🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.gentoo.user
3 messages
3 total messages Started by Eli Schwartz Mon, 16 Nov 2026 15:00
Re: [gentoo-user] LLVM Failed to build
#170
Author: Eli Schwartz
Date: Mon, 16 Nov 2026 15:00
108 lines
5733 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------oL3D1rAeeCpIpoTC0WkGTQF9
Content-Type: multipart/mixed; boundary="------------0cndZ4SdikVkPjEn4hSdnO4X";
 protected-headers="v1"; hp="clear"
Message-ID: <8db2bbcf-36e2-4f66-aa75-46a2abd64ebb@gentoo.org>
Date: Mon, 16 Nov 2026 09:53:26 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [gentoo-user] LLVM Failed to build
To: gentoo-user@lists.gentoo.org
References: <a0fd23f1-bc5b-201e-97d5-93de7fd2c556@sdf.org>
Content-Language: en-US
From: Eli Schwartz <eschwartz@gentoo.org>
Autocrypt: addr=eschwartz@gentoo.org; keydata=
 xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN
 I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4CGwMFCwkIBwMF
 FQoJCAsFFgIDAQACHgUCF4AWIQTvUdMIsc4jCIi+DYTqQj6ToWND8QUCauABDQUJCJCIWQAK
 CRDqQj6ToWND8bXlAQDhi6hUxiss56cdPbsemrWdVQe3CtkpqlQccxV/4a4/QgD/dUCR+SGn
 YxNZj6lir6i/TBr0yfSSrMtKgGO1+lClSwLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b
 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYCGwwWIQTvUdMIsc4jCIi+
 DYTqQj6ToWND8QUCauABGAUJCJCIZAAKCRDqQj6ToWND8c4xAQCWj7iWpgEJUM+wf2bZCkgM
 EKEVVdv5aBJrj6Xa22UhIQEA0bIv2t9jUqUeBMHl/6i0L28s5Mrtr0ZSX3Sg/zeyrAM=
X-Clacks-Overhead: GNU Terry Pratchett
In-Reply-To: <a0fd23f1-bc5b-201e-97d5-93de7fd2c556@sdf.org>

--------------0cndZ4SdikVkPjEn4hSdnO4X
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/16/26 9:00 AM, ashley wrote:
> Hello, gentoo!
>=20
> its my first time actualy posting to the mailing list, so please do tel=
l 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 tes=
ting
> 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.
>=20
> i have also attacked my make.conf, if that helps at all.
>=20
> thank you in advance.


As Philipp noted already, the error in build.log is that g++ is aborting
due to running out of memory.


=46rom make.conf:


EMERGE_DEFAULT_OPTS=3D"--jobs=3D8 --load-average=3D8"
MAKEFLAGS=3D"-j8 -l8"


=46rom emerge --info:

System uname:
Linux-7.3.3-gentoo-dist-bin-x86_64-Intel-R-_Core-TM-_i5-8365U_CPU_@_1.60G=
Hz-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=3D8)
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.


--=20
Eli Schwartz

--------------0cndZ4SdikVkPjEn4hSdnO4X--

--------------oL3D1rAeeCpIpoTC0WkGTQF9
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCavsY5gUDAAAAAAAKCRCEp9ErcA0vV8Fv
AP9jGnLH7tzK4L/4tR21xcFauB90+q6TyPk+0XIopQygDwD+OVMGJ0RdLCQE2+tA8LNT1Yilr7pv
TIS9wcXk40rJXwo=
=jmz7
-----END PGP SIGNATURE-----

--------------oL3D1rAeeCpIpoTC0WkGTQF9--
Re: [gentoo-user] LLVM Failed to build
#173
Author: sedna
Date: Mon, 16 Nov 2026 15:30
20 lines
2064 bytes
On 11/16/26 2026 00:53 UTC, Eli Schwartz wrote:
> You did pretty well, I'd say. :) Thanks for making sure to provide all
the details upfront.

thank you :)

> 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.

Thank you so much for the suggestion! i will look into using Steve.
Thank you once again for the help!
Re: [gentoo-user] LLVM Failed to build
#174
Author: sedna
Date: Mon, 16 Nov 2026 15:30
24 lines
2193 bytes
On 11/16/26 2026 00:53 UTC, Eli Schwartz wrote:
> You did pretty well, I'd say. :) Thanks for making sure to provide all
the details upfront.

thank you :)

> 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.

Thank you so much for the suggestion! i will look into using Steve.
Thank you once again for the help!

-- 
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