Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chromium-114.0.5735.133 stalls
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 266
Location: Warsaw, Poland

PostPosted: Thu Jun 29, 2023 5:15 am    Post subject: chromium-114.0.5735.133 stalls Reply with quote

I'm trying to emerge the latest stable chromium (114.0.5735.133) with the latest stable gcc (12.3.1_p20230526) on an old Athlon Phenom cpu. The system is not a daemon of speed, so it takes some time, but unfortunately the emerge stalls at some point:
Code:

[52427/54763] rm -f obj/components/printing/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/printing/renderer/librenderer.a @"obj/components/printing/renderer/librenderer.a.rsp"
[52428/54763] rm -f obj/components/plugins/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/plugins/renderer/librenderer.a @"obj/components/plugins/renderer/librenderer.a.rsp"
[52429/54763] touch obj/components/safe_browsing/content/renderer/renderer.stamp
[52430/54763] touch obj/components/safe_browsing/content/renderer/throttles.stamp
[52431/54763] touch obj/components/safe_browsing/content/renderer/phishing_classifier/phishing_classifier.stamp
[52432/54763] rm -f obj/components/pdf/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/pdf/renderer/librenderer.a @"obj/components/pdf/renderer/librenderer.a.rsp"
[52433/54763] touch obj/components/spellcheck/renderer/renderer.stamp
[52434/54763] rm -f obj/components/security_interstitials/content/renderer/libsecurity_interstitial_page_controller.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/security_interstitials/content/renderer/libsecurity_interstitial_page_controller.a @"obj/components/security_interstitials/content/renderer/libsecurity_interstitial_page_controller.a.rsp"
[52435/54763] rm -f obj/components/subresource_filter/content/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/subresource_filter/content/renderer/librenderer.a @"obj/components/subresource_filter/content/renderer/librenderer.a.rsp"
[52436/54763] touch obj/components/page_load_metrics/renderer/renderer.stamp
[52437/54763] rm -f obj/components/translate/content/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/translate/content/renderer/librenderer.a @"obj/components/translate/content/renderer/librenderer.a.rsp"
[52438/54763] rm -f obj/components/visitedlink/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/visitedlink/renderer/librenderer.a @"obj/components/visitedlink/renderer/librenderer.a.rsp"
[52439/54763] rm -f obj/components/web_cache/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/web_cache/renderer/librenderer.a @"obj/components/web_cache/renderer/librenderer.a.rsp"
[52440/54763] touch obj/extensions/renderer/renderer.stamp
[52441/54763] rm -f obj/components/webapps/renderer/librenderer.a && "x86_64-pc-linux-gnu-ar" -T -r -c -s -D obj/components/webapps/renderer/librenderer.a @"obj/components/webapps/renderer/librenderer.a.rsp"
[52442/54763] "python3.11" "../../build/toolchain/gcc_link_wrapper.py" --output="./v8_context_snapshot_generator" -- x86_64-pc-linux-gnu-g++ -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,-z,defs -Wl,--as-needed -pie -Wl,--disable-new-dtags -Wl,-O1 -Wl,--as-needed -o "./v8_context_snapshot_generator" -Wl,--start-group @"./v8_context_snapshot_generator.rsp"  -Wl,--end-group  -latomic -ldl -lpthread -lrt -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -licui18n -licuuc -licudata -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lz -lresolv -lgio-2.0 -ljpeg -lxml2 -lxslt -lexpat -lwebpdemux -lwebpmux -lwebp -lfreetype -lfontconfig -lharfbuzz-subset -lharfbuzz -lopenh264 -lm -lX11 -lXcomposite -lXdamage -lXext -lXfixes -lXrender -lXrandr -lXtst -ldrm -lxcb -lxkbcommon -lgbm -lXi -lpci -latk-1.0 -latk-bridge-2.0 -lre2 -lpangocairo-1.0 -lpango-1.0 -lcairo -lasound -lFLAC -ldbus-1 -latspi
[52443/54763] python3.11 ../../build/gn_run_binary.py ./v8_context_snapshot_generator --output_file=v8_context_snapshot.bin
[52444/54763] touch obj/tools/v8_context_snapshot/generate_v8_context_snapshot.stamp
[52445/54763] touch obj/tools/v8_context_snapshot/v8_context_snapshot.stamp


However, I believe the offending process here is not gcc compilation, but:
Code:
portage  22271  0.0  0.0  19984    12 pts/1    S    Jun27   0:00 python3.11 ../../third_party/node/node.py ../../third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --silent --config ../../third_party/devtools-frontend/src/front_end/Images/rollup.config.js --input gen/third_party/devtools-frontend/src/front_end/Images/Images.prebundle.js --file gen/third_party/devtools-frontend/src/front_end/Images/Images.js
portage  22275 98.0  1.3 1117280 79988 pts/1   Rl   Jun27 2161:49 /var/tmp/portage/www-client/chromium-114.0.5735.133/work/chromium-114.0.5735.133/out/Release/../../third_party/node/linux/node-linux-x64/bin/node ../../third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --silent --config ../../third_party/devtools-frontend/src/front_end/Images/rollup.config.js --input gen/third_party/devtools-frontend/src/front_end/Images/Images.prebundle.js --file gen/third_party/devtools-frontend/src/front_end/Images/Images.js

that's been running at 100% on one core for roughly 36 hours. Exactly the same happens when I try to emerge chromium 113.0.5672.126 and the same happened when I tried to emerge with gcc-12.2.1_p20230428-r1.

I'm quite baffled and to be honest I don't know where to proceed from here.

That my emerge --info:
Code:
Portage 3.0.46 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r8, 6.1.31-gentoo x86_64)
=================================================================
System uname: Linux-6.1.31-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-glibc2.36
KiB Mem:     5832872 total,   2265528 free
KiB Swap:   12582908 total,  11563396 free
Timestamp of repository gentoo: Thu, 29 Jun 2023 01:15:01 +0000
Head commit of repository gentoo: 6d4c9c57df89a7b1dd9bbcddd02e39df3c52c3b1
Timestamp of repository gentoo-zh: Tue, 27 Jun 2023 23:46:48 +0000
Head commit of repository gentoo-zh: f2baae4fd178d380c8b0cd56c6524a06d8974c4c

Timestamp of repository haskell: Mon, 26 Jun 2023 19:03:52 +0000
Head commit of repository haskell: 95b356e64b1b1c054aa542c838601546af83c419

Timestamp of repository ricerlay: Sat, 25 Feb 2023 06:47:23 +0000
Head commit of repository ricerlay: be0c525c83e2c6fd1d759a5e672237ee97a139e8

Head commit of repository steam-overlay: f5d81890625d21bcc8e1f903cc471daab0951403

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.39 p6) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.7.4 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.32::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.5::gentoo
sys-devel/gcc:             11.3.1_p20230427::gentoo, 12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.5::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.5::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --new-compress
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    volatile: False

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: False

local_repo
    location: /home/jakub/local_repo
    masters: gentoo
    priority: 0
    volatile: True

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

ricerlay
    location: /var/db/repos/ricerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ricerlay.git
    masters: gentoo
    volatile: False

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: True

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-11.x google-talkplugin Q3AEULA dlj-1.1 PUEL googleearth AdobeFlash-10 AdobeFlash-10.1 skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright Google-TOS MakeMKV-EULA FraunhoferFDK ValveSteamLicense CC-Sampling-Plus-1.0 all-rights-reserved"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/mnt/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict 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 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="pl en en_US"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--new-compress"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac aacplus acl acpi alsa amd64 amr amrenc avahi avif bidi bluray branding bzip2 cairo cdda cdr cgroups cjk cli crypt cups dbus dri dts dvd dvdr dvr elogind encode exif faac faad fam flac fontconfig fortran fribidi fuse gdbm gif gimp gpm gsm gtk gui harfbuzz heif hscolour http2 iconv icu ipv6 jpeg lcms libass libnotify librtmp libtirpc lm-sensors logrotate mad matroska mmx mng mp3 mp4 mpeg mtp multilib ncurses nfs nls nptl ogg opengl openmp opus pam pango pcre pdf pipewire png policykit ppds prelink pulseaudio qt5 rar readline rtmp s3tc samba scanner sdl seccomp smp sound speex spell split-usr sse sse2 ssl startup-notification svg test-rust theora threads tiff timezone truetype udev udisks unicode upower usb vaapi vdpau vorbis vpx wavpack webp wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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" L10N="pl en en-US en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1830
Location: Germany

PostPosted: Thu Jun 29, 2023 7:53 am    Post subject: Reply with quote

Do you have enough disk space?
Do you use https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs?
Do you have enough RAM?

https://wiki.gentoo.org/wiki//etc/portage/package.env can help to set specific emerge options for a package without changing the global settings.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2077

PostPosted: Thu Jun 29, 2023 7:58 am    Post subject: Reply with quote

Could you share ps faux output when it hangs?
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 266
Location: Warsaw, Poland

PostPosted: Thu Jun 29, 2023 8:43 am    Post subject: Reply with quote

Banana wrote:
Do you have enough disk space?
Do you use https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs?
Do you have enough RAM?


I have 6GB of RAM and enough swap. And there's like 400GB of free space in the portage tmp partition. I don't use TMPDIR on tmpfs here.

sam_ wrote:
Could you share ps faux output when it hangs?


Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    Jun11   0:04 [kthreadd]
root         3  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [rcu_gp]
root         4  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [rcu_par_gp]
root         5  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [slub_flushwq]
root         6  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [netns]
root        10  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [mm_percpu_wq]
root        11  0.0  0.0      0     0 ?        S    Jun11  13:01  \_ [ksoftirqd/0]
root        12  0.0  0.0      0     0 ?        I    Jun11  14:59  \_ [rcu_preempt]
root        13  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [migration/0]
root        14  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [cpuhp/0]
root        15  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [cpuhp/1]
root        16  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [migration/1]
root        17  0.0  0.0      0     0 ?        S    Jun11  11:43  \_ [ksoftirqd/1]
root        20  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [cpuhp/2]
root        21  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [migration/2]
root        22  0.0  0.0      0     0 ?        S    Jun11  11:30  \_ [ksoftirqd/2]
root        25  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [cpuhp/3]
root        26  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [migration/3]
root        27  0.0  0.0      0     0 ?        S    Jun11  13:12  \_ [ksoftirqd/3]
root        30  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [kdevtmpfs]
root        31  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [inet_frag_wq]
root        32  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [kauditd]
root        34  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [oom_reaper]
root        35  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [writeback]
root        36  0.5  0.0      0     0 ?        S    Jun11 135:53  \_ [kcompactd0]
root        37  0.0  0.0      0     0 ?        SN   Jun11   0:00  \_ [ksmd]
root        38  0.0  0.0      0     0 ?        SN   Jun11   0:00  \_ [khugepaged]
root        39  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [kblockd]
root        40  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [blkcg_punt_bio]
root        41  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [ata_sff]
root        42  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [edac-poller]
root        43  0.0  0.0      0     0 ?        I<   Jun11   4:27  \_ [kworker/0:1H-kblockd]
root        44  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [rpciod]
root        45  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [xprtiod]
root        48  0.4  0.0      0     0 ?        S    Jun11 106:45  \_ [kswapd0]
root        49  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [nfsiod]
root        59  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [acpi_thermal_pm]
root        61  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [scsi_eh_0]
root        62  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [scsi_tmf_0]
root        63  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [scsi_eh_1]
root        64  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [scsi_tmf_1]
root        65  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [scsi_eh_2]
root        66  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [scsi_tmf_2]
root        67  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [scsi_eh_3]
root        68  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [scsi_tmf_3]
root        71  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [scsi_eh_4]
root        72  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [scsi_tmf_4]
root        73  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [scsi_eh_5]
root        74  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [scsi_tmf_5]
root        83  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [mld]
root        84  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [ipv6_addrconf]
root        87  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [zswap-shrink]
root       133  0.0  0.0      0     0 ?        S    Jun11   0:41  \_ [f2fs_discard-8:3]
root      1017  0.0  0.0      0     0 ?        I<   Jun11   0:00  \_ [iprt-VBoxWQueue]
root      1039  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [iprt-VBoxTscThread]
root      1076  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [card0-crtc0]
root      1077  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [card0-crtc1]
root      1243  0.0  0.0      0     0 ?        S    Jun11   1:42  \_ [f2fs_gc-8:3]
root      1244  0.0  0.0      0     0 ?        S    Jun11   3:45  \_ [f2fs_ckpt-8:3]
root      1245  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [f2fs_flush-8:3]
root      2674  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [lockd]
root      2676  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [NFSv4 callback]
root      2733  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root      2734  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root      2735  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root      2736  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root      2737  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root      2738  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root      2739  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root      2740  0.0  0.0      0     0 ?        S    Jun11   0:00  \_ [nfsd]
root     11908  0.0  0.0      0     0 ?        I<   Jun14   3:59  \_ [kworker/2:2H-kblockd]
root     12719  0.0  0.0      0     0 ?        I<   Jun14   4:01  \_ [kworker/1:0H-kblockd]
root     12741  0.0  0.0      0     0 ?        I<   Jun14   0:00  \_ [kworker/2:0H-kblockd]
root     13205  0.0  0.0      0     0 ?        I<   Jun14   0:00  \_ [kworker/0:2H-kblockd]
root     13373  0.0  0.0      0     0 ?        I<   Jun14   0:00  \_ [kworker/3:0H-kblockd]
root     13579  0.0  0.0      0     0 ?        I<   Jun14   3:44  \_ [kworker/3:1H-kblockd]
root     13594  0.0  0.0      0     0 ?        I<   Jun14   0:00  \_ [kworker/1:1H-kblockd]
root     10032  0.0  0.0      0     0 ?        S    Jun27   0:00  \_ [jbd2/sda1-8]
root     10033  0.0  0.0      0     0 ?        I<   Jun27   0:00  \_ [ext4-rsv-conver]
root     17649  0.0  0.0      0     0 ?        I    06:18   0:00  \_ [kworker/3:2-events]
root     19428  0.0  0.0      0     0 ?        I    06:46   0:00  \_ [kworker/2:3-events]
root     19495  0.0  0.0      0     0 ?        I    06:47   0:09  \_ [kworker/3:1-events]
root     19607  0.0  0.0      0     0 ?        I    06:49   0:00  \_ [kworker/1:1-events]
root     20479  0.0  0.0      0     0 ?        I    07:00   0:06  \_ [kworker/2:1-events]
root     20594  0.0  0.0      0     0 ?        I    07:18   0:04  \_ [kworker/1:2-events]
root     20739  0.0  0.0      0     0 ?        I    08:09   0:00  \_ [kworker/u12:0-events_unbound]
root     20754  0.0  0.0      0     0 ?        I    08:23   0:00  \_ [kworker/u12:1-events_unbound]
root     20850  0.4  0.0      0     0 ?        R    10:16   0:06  \_ [kworker/0:1-events]
root     20862  0.0  0.0      0     0 ?        I    10:32   0:00  \_ [kworker/0:0-ata_sff]
root     20864  0.0  0.0      0     0 ?        I    10:37   0:00  \_ [kworker/0:2-events]
root         1  0.0  0.0   2460  1504 ?        Ss   Jun11   0:28 init [3]
root       626  0.0  0.0  19824  1932 ?        Ss   Jun11   0:00 /lib/systemd/systemd-udevd
message+  1599  0.0  0.0   5240  2552 ?        Ss   Jun11   0:01 /usr/bin/dbus-daemon --system
root      1628  0.0  0.0  37000  3084 ?        S    Jun11   0:00 elogind-daemon
root      1829  0.0  0.0  79284  1508 ?        Ssl  Jun11   1:26 /usr/sbin/irqbalance
root      1856  0.0  0.0   7368  1948 ?        S    Jun11   0:00 /usr/sbin/smartd -p /run/smartd.pid
root      1886  0.0  0.0  10684     4 ?        S    Jun11   0:00 supervising syslog-ng
root      1887  0.0  0.1 462140  8024 ?        Ssl  Jun11   0:14  \_ /usr/sbin/syslog-ng --cfgfile /etc/syslog-ng/syslog-ng.conf --control /run/syslog-ng.ctl --persist-file /var/lib/syslog-ng/syslog-ng.persist --pidfile /run/syslog-ng.pid
root      1966  0.0  0.0   2472  1424 ?        Ss   Jun11   0:00 /usr/sbin/acpid
root      2049  0.0  0.0   2884  1336 ?        S    Jun11   0:10 dhcpcd: enp2s0 [ip4] [ip6]
nullmail  2243  0.0  0.0   5688  1744 ?        Ss   Jun11   0:00 /usr/sbin/nullmailer-send
avahi     2252  0.0  0.0   4580  2632 ?        S    Jun11   0:04 avahi-daemon: running [jdesk.local]
avahi     2253  0.0  0.0   4300     4 ?        S    Jun11   0:00  \_ avahi-daemon: chroot helper
root      2285  0.0  0.0  17684  1392 ?        Ss   Jun11   4:45 /usr/sbin/cupsd -f -c /etc/cups/cupsd.conf -s /etc/cups/cups-files.conf
root      2433  0.0  0.0   9000  1584 ?        Ss   Jun11   0:07 /usr/sbin/crond
root      2437  0.0  0.0   2636  1312 ?        Ss   Jun11   0:03 /sbin/rpcbind
root      2453  0.0  0.0  82056  4132 ?        Ssl  Jun11   6:30 /usr/sbin/tincd --net=Trwam --pidfile /run/tinc.Trwam.pid --debug=0
root      2482  0.0  0.0   7944  5344 ?        Ss   Jun11   1:34 /usr/sbin/openvpn --config /etc/openvpn/openvpn.conf --writepid /run/openvpn.pid --daemon --setenv SVCNAME openvpn --cd /etc/openvpn --up-delay --up-restart --script-security 2 --up /etc/openvpn/up.sh --down-pre --down /etc/openvpn/down.sh --setenv PEER_DNS yes
root      2522  0.0  0.0   7244  2712 ?        Ss   Jun11   0:00 sshd: /usr/sbin/sshd -o PidFile=/run/sshd.pid -f /etc/ssh/sshd_config [listener] 0 of 10-100 startups
root      2540  0.0  0.0   2788  1452 ?        Ss   Jun11   0:00 /usr/sbin/rpc.idmapd
nobody    2553  0.0  0.0   2688  1560 ?        Ss   Jun11   0:00 /sbin/rpc.statd --no-notify
root      2659  0.0  0.0   3340  1352 ?        Ss   Jun11   0:00 /usr/sbin/rpc.mountd
root      2731  0.0  0.1  74144  8592 ?        SLs  Jun11   1:48 /usr/sbin/ntpd -4 -g -p /var/run/ntpd.pid
root      2787  0.0  0.0   7996  1224 tty2     Ss+  Jun11   0:00 /sbin/agetty 38400 tty2 linux
root      2788  0.0  0.0   7996  1232 tty3     Ss+  Jun11   0:00 /sbin/agetty 38400 tty3 linux
root      2789  0.0  0.0   7996  1232 tty4     Ss+  Jun11   0:00 /sbin/agetty 38400 tty4 linux
root      2790  0.0  0.0   7996  1376 tty5     Ss+  Jun11   0:00 /sbin/agetty 38400 tty5 linux
root      2791  0.0  0.0   7996  1240 tty6     Ss+  Jun11   0:00 /sbin/agetty 38400 tty6 linux
jakub     3891  0.0  0.0  13020  5376 ?        Ss   Jun12   4:51 tmux
jakub     3892  0.0  0.0  10116  1688 pts/0    Ss   Jun12   0:00  \_ -bash
root      3898  0.0  0.0   8736  1596 pts/0    S    Jun12   0:00  |   \_ su
root      3899  0.0  0.0  10192  1556 pts/0    S    Jun12   0:00  |       \_ bash
root     20430  0.1  0.0 582020  3904 pts/0    S+   Jun27   2:42  |           \_ /usr/bin/python3.11 /usr/lib/python-exec/python3.11/emerge -uDN @world
root      5227  0.0  0.0  19624     0 pts/0    S+   Jun27   0:00  |               \_ /usr/bin/python3.11 /usr/lib/portage/python3.11/pid-ns-init 5228
root      5228  0.0  0.0  19628    16 pts/1    Ss+  Jun27   0:00  |                   \_ /usr/bin/python3.11 /usr/lib/portage/python3.11/pid-ns-init 250 250 250 18 0,1,2 /usr/bin/sandbox [www-client/chromium-114.0.5735.133] sandbox /usr/lib/portage/python3.11/ebuild.sh compile
portage   5231  0.0  0.0   2480     8 pts/1    S+   Jun27   0:00  |                       \_ [www-client/chromium-114.0.5735.133] sandbox /usr/lib/portage/python3.11/ebuild.sh compile
portage   5232  0.0  0.0  15124     8 pts/1    S+   Jun27   0:00  |                           \_ bash /usr/lib/portage/python3.11/ebuild.sh compile
portage   5253  0.0  0.0  15288     8 pts/1    S+   Jun27   0:00  |                               \_ bash /usr/lib/portage/python3.11/ebuild.sh compile
portage   5304  0.0  2.1 483276 126132 pts/1   S+   Jun27   2:01  |                                   \_ ninja -v -j4 -l0 -C out/Release chrome chromedriver
portage  22271  0.0  0.0  19984    12 pts/1    S    Jun27   0:00  |                                       \_ python3.11 ../../third_party/node/node.py ../../third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --silent --config ../../third_party/devtools-frontend/src/front_end/Images/rollup.config.js --input gen/third_party/devtools-frontend/src/front_end/Images/Images.prebundle.js --file gen/third_party/devtools-frontend/src/front_end/Images/Images.js
portage  22275 98.2  2.3 1156240 138904 pts/1  Rl   Jun27 2377:31  |                                           \_ /var/tmp/portage/www-client/chromium-114.0.5735.133/work/chromium-114.0.5735.133/out/Release/../../third_party/node/linux/node-linux-x64/bin/node ../../third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --silent --config ../../third_party/devtools-frontend/src/front_end/Images/rollup.config.js --input gen/third_party/devtools-frontend/src/front_end/Images/Images.prebundle.js --file gen/third_party/devtools-frontend/src/front_end/Images/Images.js
jakub    21609  0.0  0.0  10116  1628 pts/2    Ss   Jun18   0:00  \_ -bash
root     21754  0.0  0.0   8736  1540 pts/2    S    Jun18   0:00      \_ su
root     22074  0.0  0.0  10096  1632 pts/2    S+   Jun18   0:00          \_ bash
root      6730  0.0  0.0 303484  2700 ?        Sl   Jun12   0:00 /usr/libexec/upowerd
polkitd  11551  0.0  0.0 379324  2388 ?        Sl   Jun14   0:00 /usr/lib/polkit-1/polkitd --no-debug
root     11919  0.0  0.0 462548  5080 ?        Sl   Jun14   3:23 /usr/libexec/udisks2/udisksd
root     12104  0.0  0.0 304988  4380 ?        Sl   Jun14   0:03 /usr/libexec/accounts-daemon
root     13871  0.0  0.0   7996  1232 tty1     Ss+  Jun14   0:00 /sbin/agetty --noclear 38400 tty1 linux
jakub    20872  0.3  0.1  24824 10240 ?        S    10:39   0:00 mosh-server new -c 256 -s -l LANG=en_US.UTF-8
jakub    20873  0.1  0.0  10096  4172 pts/4    Ss   10:39   0:00  \_ -bash
jakub    20884  0.0  0.0   9716  2724 pts/4    R+   10:39   0:00      \_ ps faux
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1830
Location: Germany

PostPosted: Thu Jun 29, 2023 11:28 am    Post subject: Reply with quote

I would reduce to MAKEOPTS="-j1" by using https://wiki.gentoo.org/wiki//etc/portage/package.env for the emerge of chromium
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2077

PostPosted: Thu Jun 29, 2023 12:20 pm    Post subject: Reply with quote

Banana wrote:
I would reduce to MAKEOPTS="-j1" by using https://wiki.gentoo.org/wiki//etc/portage/package.env for the emerge of chromium


This isn't related to jobs, at least not in an obvious way.

Please share emerge --info net-libs/nodejs.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 266
Location: Warsaw, Poland

PostPosted: Thu Jun 29, 2023 12:50 pm    Post subject: Reply with quote

sam_ wrote:
Banana wrote:
I would reduce to MAKEOPTS="-j1" by using https://wiki.gentoo.org/wiki//etc/portage/package.env for the emerge of chromium


This isn't related to jobs, at least not in an obvious way.


It stalls at the same task, albeit earlier of course.

Quote:
Please share emerge --info net-libs/nodejs.


I had nodejs emerged with clang, you think it might be a problem?

Code:
Portage 3.0.46 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r8, 6.1.31-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.31-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-glibc2.36
KiB Mem:     5832872 total,   2184644 free
KiB Swap:   12582908 total,  12554372 free
Timestamp of repository gentoo: Thu, 29 Jun 2023 01:15:01 +0000
Head commit of repository gentoo: 6d4c9c57df89a7b1dd9bbcddd02e39df3c52c3b1
Timestamp of repository gentoo-zh: Tue, 27 Jun 2023 23:46:48 +0000
Head commit of repository gentoo-zh: f2baae4fd178d380c8b0cd56c6524a06d8974c4c

Timestamp of repository haskell: Mon, 26 Jun 2023 19:03:52 +0000
Head commit of repository haskell: 95b356e64b1b1c054aa542c838601546af83c419

Timestamp of repository ricerlay: Sat, 25 Feb 2023 06:47:23 +0000
Head commit of repository ricerlay: be0c525c83e2c6fd1d759a5e672237ee97a139e8

Head commit of repository steam-overlay: f5d81890625d21bcc8e1f903cc471daab0951403

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.39 p6) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.7.4 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo
dev-lang/rust:             1.69.0-r1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.32::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.5::gentoo
sys-devel/gcc:             11.3.1_p20230427::gentoo, 12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.5::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.5::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --new-compress

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    volatile: False

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo
    volatile: False

local_repo
    location: /home/jakub/local_repo
    masters: gentoo
    priority: 0
    volatile: True

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

ricerlay
    location: /var/db/repos/ricerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ricerlay.git
    masters: gentoo
    volatile: False

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: True

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-11.x google-talkplugin Q3AEULA dlj-1.1 PUEL googleearth AdobeFlash-10 AdobeFlash-10.1 skype-eula Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright Google-TOS MakeMKV-EULA FraunhoferFDK ValveSteamLicense CC-Sampling-Plus-1.0 all-rights-reserved"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/mnt/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict 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 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="pl en en_US"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--new-compress"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac aacplus acl acpi alsa amd64 amr amrenc avahi avif bidi bluray branding bzip2 cairo cdda cdr cgroups cjk cli crypt cups dbus dri dts dvd dvdr dvr elogind encode exif faac faad fam flac fontconfig fortran fribidi fuse gdbm gif gimp gpm gsm gtk gui harfbuzz heif hscolour http2 iconv icu ipv6 jpeg lcms libass libnotify librtmp libtirpc lm-sensors logrotate mad matroska mmx mng mp3 mp4 mpeg mtp multilib ncurses nfs nls nptl ogg opengl openmp opus pam pango pcre pdf pipewire png policykit ppds prelink pulseaudio qt5 rar readline rtmp s3tc samba scanner sdl seccomp smp sound speex spell split-usr sse sse2 ssl startup-notification svg test-rust theora threads tiff timezone truetype udev udisks unicode upower usb vaapi vdpau vorbis vpx wavpack webp wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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" L10N="pl en en-US en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

net-libs/nodejs-20.2.0::gentoo was built with the following:
USE="icu inspector lto npm snapshot ssl system-icu system-ssl -debug -doc -pax-kernel -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2"
FEATURES="buildpkg distlocks protect-owned config-protect-if-modified userfetch parallel-fetch preserve-libs userpriv ccache unknown-features-warn strict merge-sync ipc-sandbox unmerge-logs xattr binpkg-logs fixlafiles ebuild-locks pid-sandbox usersync buildpkg-live news qa-unresolved-soname-deps sfperms unmerge-orphans binpkg-docompress sandbox usersandbox binpkg-dostrip assume-digests multilib-strict"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind --rtlib=libgcc --unwindlib=libgcc"
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2077

PostPosted: Fri Jun 30, 2023 3:49 am    Post subject: Reply with quote

Right, thinking of e.g. bug 906517, bug 909305, and bug 851582. Could you try building it with USE=-lto, and possibly with GCC (separately if you're willing)?

strace of the node process using up a tonne of CPU that is stuck would be helpful too, if you can.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 266
Location: Warsaw, Poland

PostPosted: Fri Jun 30, 2023 8:58 am    Post subject: Reply with quote

sam_ wrote:
Right, thinking of e.g. bug 906517, bug 909305, and bug 851582. Could you try building it with USE=-lto, and possibly with GCC (separately if you're willing)?


I built nodejs with clang and without lto, and the result is the same. I'll try gcc now. Doesn't chromium build its own nodejs?

Quote:
strace of the node process using up a tonne of CPU that is stuck would be helpful too, if you can.

Code:
mprotect(0x5df51700000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x109aaef80000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x1196af880000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x8d6be3c0000, 262144, PROT_READ|PROT_WRITE) = 0
futex(0x559c5209a920, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x559c5209a8d0, FUTEX_WAKE_PRIVATE, 1) = 1
getpid()                                = 10676
mprotect(0x132eca340000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x320bf4340000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x395d42d80000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x198718b00000, 262144, PROT_READ|PROT_WRITE) = 0
futex(0x559c5209a920, FUTEX_WAKE_PRIVATE, 1) = 1
getpid()                                = 10676

And it repeats like that ad infinitum.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2077

PostPosted: Fri Jun 30, 2023 9:44 am    Post subject: Reply with quote

This sounds familiar but I can't think where from yet.

Could you attach gdb to it, then get a backtrace?
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2592

PostPosted: Sat Jul 01, 2023 4:01 pm    Post subject: Reply with quote

sam_ wrote:
This sounds familiar but I can't think where from yet.

Could you attach gdb to it, then get a backtrace?


Maybe this?
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 266
Location: Warsaw, Poland

PostPosted: Sat Jul 01, 2023 8:38 pm    Post subject: Reply with quote

logrusx wrote:
sam_ wrote:
This sounds familiar but I can't think where from yet.

Could you attach gdb to it, then get a backtrace?


Maybe this?


Hm, I'm not building chromium with mold here.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 266
Location: Warsaw, Poland

PostPosted: Mon Jul 03, 2023 3:30 pm    Post subject: Reply with quote

sam_ wrote:
This sounds familiar but I can't think where from yet.

Could you attach gdb to it, then get a backtrace?


The same happens with chromium 114.0.5735.198. I'm a little green here, how to get a meaningful backtrace?
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2592

PostPosted: Mon Jul 03, 2023 6:12 pm    Post subject: Reply with quote

paluszak wrote:
sam_ wrote:
This sounds familiar but I can't think where from yet.

Could you attach gdb to it, then get a backtrace?


The same happens with chromium 114.0.5735.198. I'm a little green here, how to get a meaningful backtrace?


If you're using systemd, enable elfutils on it. Regarding gdb, I haven't done it for quite a while, but thanks to a few good people we have this.

Best Regards,
Georgi
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 266
Location: Warsaw, Poland

PostPosted: Wed Jul 05, 2023 12:12 pm    Post subject: Reply with quote

After some consideration I found out the the problem laid with nodejs and not with chromium itself. I built nodejs-20.2.0 with gcc and clang, with and without lto and the problem persisted. I masked nodejs-20.2.0 and emerged nodejs-18.16.0, and now chromium builds fine. I believe I must have hit a strange nodejs bug which I'm however unable to identify. So it's not "solved" but kinda "bypassed'.
Back to top
View user's profile Send private message
ritzmax72
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2014
Posts: 114

PostPosted: Fri Jul 07, 2023 7:06 pm    Post subject: Reply with quote

Everyone might wanna stop compiling chromium on their PC ( according to WEF).
The heat generated can cause climate change. 4-5 hours of compiling at full throttle can really increase your carbon footprint.
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 758
Location: /home

PostPosted: Sat Jul 08, 2023 6:09 am    Post subject: Reply with quote

ritzmax72 wrote:
Everyone might wanna stop compiling chromium on their PC ( according to WEF).
The heat generated can cause climate change. 4-5 hours of compiling at full throttle can really increase your carbon footprint.


Do you have some numbers from a legit study to confirm that? It's 4-5 hours once a month. Modern CPUs have become very energy-efficient and electricity can be generated in an ecological way. Of course not every country has this possibility, but if you do, you should prefer that.

The biggest carbon footprint from CPUs come from manufacturing. So buy a good one you won't replace immediately, and put it to good use!

Sitting at home watching Twitch many hours every day is far worse than compiling chromium once a month.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum