www-client/chromium-87.0.4280.20-r1 compilation failed with an error: virtual memory exhausted: Cannot allocate memory: ... include/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -march=native -pipe -O2 -msse2 -mfpmath=sse -mmmx -c ../../third_party/blink/renderer/core/exported/web_dev_tools_agent_impl.cc -o obj/third_party/blink/renderer/core/exported/exported/web_dev_tools_agent_impl.o virtual memory exhausted: Cannot allocate memory [13633/22949] i686-pc-linux-gnu-g++ -MMD -MF obj/third_party/blink/renderer/core/exported/exported/web_shared_worker_impl.o.d -DBLINK_IMPLEMENTATION=1 -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE Reproducible: Always Architecture: ~x86 The kernel is assembled with the support of PAE. Сompilation www-client/chromium-86.0.4240.22 a month ago on the same machine was successful
Created attachment 669242 [details] build.log
Created attachment 669245 [details] emerge --info
Created attachment 669248 [details] /proc/meminfo
Created attachment 669251 [details] Kernels config
It is not possible to build chromium on x86 directly, because some compile targets require more than 3GB RAM. Either cross compile or build chromium within a i686 chroot on amd64. You can also give chromimum-bin in my overlay (https://github.com/stha09/gpo-stha09) a try.
x86 keyword should probably be dropped then.
(In reply to Sergei Trofimovich from comment #6) > x86 keyword should probably be dropped then. That's up to the arch team.
Message for Stephan Hartmann. Thanks for the help! Chromium from overlay works successfully.