Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751832 - www-client/chromium-87.0.4280.20-r1 compilation failed with an error: virtual memory exhausted: Cannot allocate memory
Summary: www-client/chromium-87.0.4280.20-r1 compilation failed with an error: virtual...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-30 04:20 UTC by Andrew
Modified: 2020-11-13 06:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log.gz,585.14 KB, application/gzip)
2020-10-30 04:21 UTC, Andrew
Details
emerge --info (emerge_info.txt,6.18 KB, text/plain)
2020-10-30 04:22 UTC, Andrew
Details
/proc/meminfo (mem_info.txt,1.30 KB, text/plain)
2020-10-30 04:23 UTC, Andrew
Details
Kernels config (config-5.9.1-gentoo,116.17 KB, text/plain)
2020-10-30 04:23 UTC, Andrew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2020-10-30 04:20:59 UTC
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
Comment 1 Andrew 2020-10-30 04:21:51 UTC
Created attachment 669242 [details]
build.log
Comment 2 Andrew 2020-10-30 04:22:18 UTC
Created attachment 669245 [details]
emerge --info
Comment 3 Andrew 2020-10-30 04:23:17 UTC
Created attachment 669248 [details]
/proc/meminfo
Comment 4 Andrew 2020-10-30 04:23:57 UTC
Created attachment 669251 [details]
Kernels config
Comment 5 Stephan Hartmann (RETIRED) gentoo-dev 2020-10-30 08:16:38 UTC
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.
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2020-10-30 09:43:36 UTC
x86 keyword should probably be dropped then.
Comment 7 Mike Gilbert gentoo-dev 2020-10-30 15:44:44 UTC
(In reply to Sergei Trofimovich from comment #6)
> x86 keyword should probably be dropped then.

That's up to the arch team.
Comment 8 Andrew 2020-11-13 06:40:17 UTC
Message for  Stephan Hartmann. Thanks for the help! Chromium from overlay works successfully.