looks like this: emerge -pv lgogdownloader These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/tinyxml2-6.2.0:0/6::gentoo USE="-static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild N ~] dev-cpp/htmlcxx-0.86::gentoo USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild N ] net-libs/liboauth-1.0.3::gentoo USE="nss -bindist -curl -doc" 0 KiB [ebuild N ~] games-util/lgogdownloader-3.4::gentoo USE="debug" 0 KiB Total: 4 packages (4 new), Size of downloads: 0 KiB In the ebuild it's not forced but switched on per default as in: IUSE="+debug" Is this for a reason? The debug cflags need a lot of memory, and made my rpi crash upon compile as I didn't expected an ebuild to use >400mb per thread if the distfiles is just 75kb.
I've dropped the flag but only because it didn't actually do anything. This is a C++ program that uses libraries such as Boost, I'm not surprised it requires so much RAM to build.
You're right, it doesn't make a difference for the amount of ram used per thread. Its just the way it is, so I'll restrict the jobs for it on the rpi.