After a few hours of compilation I got: "virtual memory exhausted: Cannnot allocate memory"
Sorry version is 84.
Could you copy/paste the contents of /proc/meminfo from this system?
Also, please provide emerge --info.
I tried to build a few times, when Xorg was not started (from tty), so memory consumption for the system before compilation was maximum ~40 megabytes. /proc/meminfo: MemTotal: 3260620 kB MemFree: 531088 kB MemAvailable: 2449344 kB Buffers: 407020 kB Cached: 1513204 kB SwapCached: 412 kB Active: 1520300 kB Inactive: 951240 kB Active(anon): 569036 kB Inactive(anon): 36600 kB Active(file): 951264 kB Inactive(file): 914640 kB Unevictable: 18120 kB Mlocked: 0 kB HighTotal: 2465204 kB HighFree: 380704 kB LowTotal: 795416 kB LowFree: 150384 kB SwapTotal: 4194300 kB SwapFree: 4189288 kB Dirty: 1928 kB Writeback: 0 kB AnonPages: 569328 kB Mapped: 252884 kB Shmem: 54236 kB KReclaimable: 202920 kB Slab: 218668 kB SReclaimable: 202920 kB SUnreclaim: 15748 kB KernelStack: 3512 kB PageTables: 4328 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 5824608 kB Committed_AS: 1397760 kB VmallocTotal: 122880 kB VmallocUsed: 2348 kB VmallocChunk: 0 kB Percpu: 704 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 4096 kB Hugetlb: 0 kB DirectMap4k: 14328 kB DirectMap4M: 888832 kB emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/x86/17.0/desktop, gcc-9.3.0, glibc-2.30-r8, 5.4.38-gentoo+ i686) ================================================================= System uname: Linux-5.4.38-gentoo+-i686-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.6 KiB Mem: 3260620 total, 328096 free KiB Swap: 4194300 total, 4189288 free Timestamp of repository gentoo: Wed, 17 Jun 2020 14:00:01 +0000 Head commit of repository gentoo: f0f2008b8b3d13b0128eb678ca28ed6f93bcd49f sh bash 5.0_p17 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo dev-util/cmake: 3.16.5::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 9.3.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="@FREE @FREE ipw3945" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=ivybridge -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=ivybridge -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -march=ivybridge -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=ivybridge -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli crypt dbus dri dts dvdr elogind emboss encode exif flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libinput libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis vpx wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Last lines of build log: ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::AgentMetricsCollectorHost>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::PeerConnectionTrackerHost>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::CodeCacheHost>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom::P2PSocketManager>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<content::mojom::MediaInternalLogRecords>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom::MdnsResponder>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom::URLLoaderFactory>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::PluginRegistry>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<media::mojom::InterfaceFactory>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::AecDumpManager>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (base::internal::CallbackListBase<base::RepeatingCallbackList<void(bool)> >::*)(const std::_List_iterator<base::RepeatingCallback<void(bool)> >&); BoundArgsTuple = std::tuple<base::WeakPtr<base::internal::CallbackListBase<base::RepeatingCallbackList<void(bool)> > >, std::_List_iterator<base::RepeatingCallback<void(bool)> > >; unsigned int ...indices = {0, 1}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::P2PSocketDispatcherHost::*)(bool, bool); BoundArgsTuple = std::tuple<base::WeakPtr<content::P2PSocketDispatcherHost> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::{anonymous}::RenderProcessHostIsReadyObserver::*)(); BoundArgsTuple = std::tuple<base::WeakPtr<content::{anonymous}::RenderProcessHostIsReadyObserver> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<tracing::mojom::TracedProcess>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] virtual memory exhausted: Cannot allocate memory ninja: build stopped: subcommand failed. * ERROR: www-client/chromium-84.0.4147.45::gentoo failed (compile phase): * ninja -v -j4 -l0 -C out/Release chrome chromedriver failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4227: Called eninja '-C' 'out/Release' 'chrome' 'chromedriver' * environment, line 1919: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=www-client/chromium-84.0.4147.45::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-84.0.4147.45::gentoo'`. * * MemTotal: 3260620 kB * SwapTotal: 4194300 kB * * The complete build log is located at '/var/tmp/portage/www-client/chromium-84.0.4147.45/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-84.0.4147.45/temp/environment'. * Working directory: '/var/tmp/portage/www-client/chromium-84.0.4147.45/work/chromium-84.0.4147.45' * S: '/var/tmp/portage/www-client/chromium-84.0.4147.45/work/chromium-84.0.4147.45'
(In reply to Vitaly Zdanevich from comment #5) > Last lines of build log: > > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > AgentMetricsCollectorHost>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > PeerConnectionTrackerHost>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > CodeCacheHost>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom:: > P2PSocketManager>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<content::mojom:: > MediaInternalLogRecords>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom:: > MdnsResponder>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom:: > URLLoaderFactory>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > PluginRegistry>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<media::mojom:: > InterfaceFactory>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > AecDumpManager>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (base::internal::CallbackListBase<base::RepeatingCallbackList<void(bool)> > >::*)(const std::_List_iterator<base::RepeatingCallback<void(bool)> >&); > BoundArgsTuple = > std::tuple<base::WeakPtr<base::internal::CallbackListBase<base:: > RepeatingCallbackList<void(bool)> > >, > std::_List_iterator<base::RepeatingCallback<void(bool)> > >; unsigned int > ...indices = {0, 1}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::P2PSocketDispatcherHost::*)(bool, bool); BoundArgsTuple = > std::tuple<base::WeakPtr<content::P2PSocketDispatcherHost> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::{anonymous}::RenderProcessHostIsReadyObserver::*)(); > BoundArgsTuple = > std::tuple<base::WeakPtr<content::{anonymous}:: > RenderProcessHostIsReadyObserver> >; unsigned int ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<tracing::mojom:: > TracedProcess>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > virtual memory exhausted: Cannot allocate memory > ninja: build stopped: subcommand failed. > * ERROR: www-client/chromium-84.0.4147.45::gentoo failed (compile phase): > * ninja -v -j4 -l0 -C out/Release chrome chromedriver failed > * > * Call stack: > * ebuild.sh, line 125: Called src_compile > * environment, line 4227: Called eninja '-C' 'out/Release' 'chrome' > 'chromedriver' > * environment, line 1919: Called die > * The specific snippet of code: > * "$@" || die "${nonfatal_args[@]}" "${*} failed" > * > * If you need support, post the output of `emerge --info > '=www-client/chromium-84.0.4147.45::gentoo'`, > * the complete build log and the output of `emerge -pqv > '=www-client/chromium-84.0.4147.45::gentoo'`. > * > * MemTotal: 3260620 kB > * SwapTotal: 4194300 kB > * > * The complete build log is located at > '/var/tmp/portage/www-client/chromium-84.0.4147.45/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/www-client/chromium-84.0.4147.45/temp/environment'. > * Working directory: > '/var/tmp/portage/www-client/chromium-84.0.4147.45/work/chromium-84.0.4147. > 45' > * S: > '/var/tmp/portage/www-client/chromium-84.0.4147.45/work/chromium-84.0.4147. > 45' Look for a line that starts with 'FAILED' or post full build log (maybe compress).
(In reply to Vitaly Zdanevich from comment #5) > Last lines of build log: ... > virtual memory exhausted: Cannot allocate memory ... You are running out of RAM. Try to reduce number of parallel compile jobs, e.g. set MAKEOPTS="-j1" in /etc/portage/make.conf
> Look for a line that starts with 'FAILED' FAILED: obj/content/browser/browser/storage_partition_impl.o FAILED: obj/content/browser/browser/render_process_host_impl.o
> Try to reduce number of parallel compile jobs, > e.g. set MAKEOPTS="-j1" in /etc/portage/make.conf Is it possible to set this preference only for Chromium?
(In reply to Vitaly Zdanevich from comment #9) > > Try to reduce number of parallel compile jobs, > > e.g. set MAKEOPTS="-j1" in /etc/portage/make.conf > > Is it possible to set this preference only for Chromium? Yes, see: https://wiki.gentoo.org/wiki//etc/portage/package.env
On a side note, most of that swap you have will be unused. Useable RAM + SWAP is only 4GB total, due to 32bit addressing limitations.
Added to /etc/portage/make.conf: MAKEOPTS="-j1" Tried to emerge Chromium again. Yes compilation was much longer, in top I saw that only one core is busy. But again FAIL on chromedriver compilation. Last 50 lines of build log: ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::AgentMetricsCollectorHost>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::PeerConnectionTrackerHost>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::CodeCacheHost>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom::P2PSocketManager>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<content::mojom::MediaInternalLogRecords>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom::MdnsResponder>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom::URLLoaderFactory>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::PluginRegistry>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<media::mojom::InterfaceFactory>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom::AecDumpManager>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (base::internal::CallbackListBase<base::RepeatingCallbackList<void(bool)> >::*)(const std::_List_iterator<base::RepeatingCallback<void(bool)> >&); BoundArgsTuple = std::tuple<base::WeakPtr<base::internal::CallbackListBase<base::RepeatingCallbackList<void(bool)> > >, std::_List_iterator<base::RepeatingCallback<void(bool)> > >; unsigned int ...indices = {0, 1}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::P2PSocketDispatcherHost::*)(bool, bool); BoundArgsTuple = std::tuple<base::WeakPtr<content::P2PSocketDispatcherHost> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::{anonymous}::RenderProcessHostIsReadyObserver::*)(); BoundArgsTuple = std::tuple<base::WeakPtr<content::{anonymous}::RenderProcessHostIsReadyObserver> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<tracing::mojom::TracedProcess>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int ...indices = {0}]’: ../../base/bind_internal.h:772:1: warning: control reaches end of non-void function [-Wreturn-type] virtual memory exhausted: Cannot allocate memory ninja: build stopped: subcommand failed. [31;01m*[0m ERROR: www-client/chromium-84.0.4147.89::gentoo failed (compile phase): [31;01m*[0m ninja -v -j1 -l0 -C out/Release chrome chromedriver failed [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 125: Called src_compile [31;01m*[0m environment, line 4306: Called eninja '-C' 'out/Release' 'chrome' 'chromedriver' [31;01m*[0m environment, line 2003: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m "$@" || die "${nonfatal_args[@]}" "${*} failed" [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=www-client/chromium-84.0.4147.89::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=www-client/chromium-84.0.4147.89::gentoo'`. [32;01m*[0m [32;01m*[0m MemTotal: 3326500 kB [32;01m*[0m SwapTotal: 4194300 kB [32;01m*[0m [31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-84.0.4147.89/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-84.0.4147.89/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/www-client/chromium-84.0.4147.89/work/chromium-84.0.4147.89' [31;01m*[0m S: '/var/tmp/portage/www-client/chromium-84.0.4147.89/work/chromium-84.0.4147.89'
(In reply to Vitaly Zdanevich from comment #12) > Added to /etc/portage/make.conf: > MAKEOPTS="-j1" > > Tried to emerge Chromium again. Yes compilation was much longer, in top I > saw that only one core is busy. But again FAIL on chromedriver compilation. > > Last 50 lines of build log: > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > AgentMetricsCollectorHost>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > PeerConnectionTrackerHost>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > CodeCacheHost>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom:: > P2PSocketManager>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<content::mojom:: > MediaInternalLogRecords>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom:: > MdnsResponder>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<network::mojom:: > URLLoaderFactory>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > PluginRegistry>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<media::mojom:: > InterfaceFactory>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<blink::mojom:: > AecDumpManager>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (base::internal::CallbackListBase<base::RepeatingCallbackList<void(bool)> > >::*)(const std::_List_iterator<base::RepeatingCallback<void(bool)> >&); > BoundArgsTuple = > std::tuple<base::WeakPtr<base::internal::CallbackListBase<base:: > RepeatingCallbackList<void(bool)> > >, > std::_List_iterator<base::RepeatingCallback<void(bool)> > >; unsigned int > ...indices = {0, 1}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::P2PSocketDispatcherHost::*)(bool, bool); BoundArgsTuple = > std::tuple<base::WeakPtr<content::P2PSocketDispatcherHost> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::{anonymous}::RenderProcessHostIsReadyObserver::*)(); > BoundArgsTuple = > std::tuple<base::WeakPtr<content::{anonymous}:: > RenderProcessHostIsReadyObserver> >; unsigned int ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > ../../base/bind_internal.h: In function ‘bool > base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase:: > CancellationQueryMode, const Functor&, const BoundArgsTuple&, > std::index_sequence<indices ...>) [with Functor = void > (content::RenderProcessHostImpl::*)(mojo::PendingReceiver<tracing::mojom:: > TracedProcess>); BoundArgsTuple = > std::tuple<base::WeakPtr<content::RenderProcessHostImpl> >; unsigned int > ...indices = {0}]’: > ../../base/bind_internal.h:772:1: warning: control reaches end of non-void > function [-Wreturn-type] > virtual memory exhausted: Cannot allocate memory > ninja: build stopped: subcommand failed. > [31;01m*[0m ERROR: www-client/chromium-84.0.4147.89::gentoo failed (compile > phase): > [31;01m*[0m ninja -v -j1 -l0 -C out/Release chrome chromedriver failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 125: Called src_compile > [31;01m*[0m environment, line 4306: Called eninja '-C' 'out/Release' > 'chrome' 'chromedriver' > [31;01m*[0m environment, line 2003: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "$@" || die "${nonfatal_args[@]}" "${*} failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info > '=www-client/chromium-84.0.4147.89::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv > '=www-client/chromium-84.0.4147.89::gentoo'`. > [32;01m*[0m > [32;01m*[0m MemTotal: 3326500 kB > [32;01m*[0m SwapTotal: 4194300 kB > [32;01m*[0m > [31;01m*[0m The complete build log is located at > '/var/tmp/portage/www-client/chromium-84.0.4147.89/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at > '/var/tmp/portage/www-client/chromium-84.0.4147.89/temp/environment'. > [31;01m*[0m Working directory: > '/var/tmp/portage/www-client/chromium-84.0.4147.89/work/chromium-84.0.4147. > 89' > [31;01m*[0m S: > '/var/tmp/portage/www-client/chromium-84.0.4147.89/work/chromium-84.0.4147. > 89' You are still running out of memory (probably during linking, so -j1 in MAKEOPTS won't help here): virtual memory exhausted: Cannot allocate memory Can you try to add -Wl,--no-keep-memory to LDFLAGS? Other than that, building chromium on x86 is currently only supported inside 32-bit chroot on amd64.
Also failed to compile on another machine, x86 with PAE: ude/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/nss -I/usr/include/nspr -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -O2 -march=athlon64 -pipe -msse2 -mfpmath=sse -mmmx -c ../../content/browser/browser_interface_binders.cc -o obj/content/browser/browser/browser_interface_binders.o In file included from ../../content/browser/service_worker/embedded_worker_instance.h:21, from ../../content/browser/service_worker/service_worker_version.h:33, from ../../content/browser/service_worker/service_worker_info.h:15, from ../../content/browser/browser_interface_binders.h:8, from ../../content/browser/browser_interface_binders.cc:5: ../../base/threading/sequence_bound.h:134:31: warning: ‘cfi-unrelated-cast’ attribute directive ignored [-Wattributes] 134 | Args&&... args) | ^ ../../base/threading/sequence_bound.h:271:69: warning: ‘cfi-unrelated-cast’ attribute directive ignored [-Wattributes] 271 | void NO_SANITIZE("cfi-unrelated-cast") MoveRecordFrom(From&& other) { | ^ virtual memory exhausted: Cannot allocate memory ninja: build stopped: subcommand failed. * ERROR: www-client/chromium-84.0.4147.89::gentoo failed (compile phase): * ninja -v -j1 -l0 -C out/Release chrome chromedriver failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4309: Called eninja '-C' 'out/Release' 'chrome' 'chromedriver' * environment, line 2006: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=www-client/chromium-84.0.4147.89::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-84.0.4147.89::gentoo'`. * * MemTotal: 4589792 kB * SwapTotal: 3905532 kB * * The complete build log is located at '/var/tmp/portage/www-client/chromium-84.0.4147.89/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-84.0.4147.89/temp/environment'. * Working directory: '/var/tmp/portage/www-client/chromium-84.0.4147.89/work/chromium-84.0.4147.89' * S: '/var/tmp/portage/www-client/chromium-84.0.4147.89/work/chromium-84.0.4147.89' emerge --info: Portage 2.3.103 (python 3.7.8-final-0, default/linux/x86/17.0/desktop, gcc-9.3.0, glibc-2.30-r8, 5.4.48-gentoo-my-custom-kernel+ i686) ================================================================= System uname: Linux-5.4.48-gentoo-my-custom-kernel+-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-2.6 KiB Mem: 4589792 total, 865792 free KiB Swap: 3905532 total, 3905268 free Timestamp of repository gentoo: Thu, 23 Jul 2020 08:30:01 +0000 Head commit of repository gentoo: 15bb22b170a3f9002329fd851cc78778c041770a sh bash 5.0_p17 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 app-shells/bash: 5.0_p17::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.4-r1::gentoo dev-util/cmake: 3.16.5::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="@FREE" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -march=athlon64 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=athlon64 -pipe" GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ https://gentoo-mirror.alexxy.name/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli crypt dav1d dbus dri dts dvd emboss encode exif flac flickr fortran gdbm geolocation gif gles2 gpm gtk iconv icu inspector ipv6 jpeg lcms ldap libnotify libtirpc mad minizip mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp ozone pam pango pcre pdf png policykit ppds readline sdl seccomp spell split-usr ssl startup-notification svg system-icu tcpd tiff truetype udev udisks unicode upower usb vorbis vpx wayland webp wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Sorry, but it looks like you'll need to build on a 64-bit kernel.
how to build chromium 32bit easy (but not "production ebuild" way): 1) need hybrid environment (x86_64 kernel & i?86 userspace. 2) copy suitable (same gcc version preferred) /usr/lib/gcc/x86_64-pc-linux-gnu (/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0 for me now) from suitable CPU 64 machine. 3) copy same direction /usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/cc1plus as /usr/libexec/gcc/i686-pc-linux-gnu/10.2.0/cc1plus64. (/usr/libexec/gcc/x86_64-pc-linux-gnu also can be copyed whole) 4) rename current 32bit cc1plus to cc1plus32: 5) new cc1plus (/usr/libexec/gcc/i686-pc-linux-gnu/10.2.0/cc1plus): #!/bin/bash ${0}32 "${@}" || ${0}64 -m32 "${@}" exit $? 6) on 64bit source say: ldd /usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/cc1plus (or lddtree ...) and copy all listed 64bits files and symlinks (libs) over /lib64 & /usr/lib63 into target 32bit userspace. Try "/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/cc1plus64 --help" to verify. 7) emerge chromium ... PS possible pure local crossdev way for not lazy users.