just emerge dev-qt/qtwebengine-5.15.9_p20230505::gentoo and it failed, even if I disable ccache. I tried disable use flag screencast and it still failed. Reproducible: Always Steps to Reproduce: the use flag now is -system-icu -screencast and then emerge qtwebengine Actual Results: FAILED: gen/third_party/devtools-frontend/src/front_end/heap_snapshot_model/heap_snapshot_model-tsconfig.json gen/third_party/devtools-frontend/src/front_end/heap_snapshot_model/heap_snapshot_model-tsconfig.json.tsbuildinfo gen/third_party/devtools-frontend/src/front_end/heap_snapshot_model/HeapSnapshotModel.js gen/third_party/devtools-frontend/src/front_end/heap_snapshot_model/HeapSnapshotModel.js.map gen/third_party/devtools-frontend/src/front_end/heap_snapshot_model/HeapSnapshotModel.d.ts /var/tmp/portage/dev-qt/qtwebengine-5.15.9_p20230505/temp/python3.11/bin/python ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/devtools-frontend/src/third_party/typescript/ts_library.py --tsconfig_output_location gen/third_party/devtools-frontend/src/front_end/heap_snapshot_model/heap_snapshot_model-tsconfig.json --deps --front_end_directory ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/devtools-frontend/src/front_end/heap_snapshot_model --sources ../../../../qtwebengine-5.15.9_p20230505/src/3rdparty/chromium/third_party/devtools-frontend/src/front_end/heap_snapshot_model/HeapSnapshotModel.js Portage 3.0.48.1 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-12, glibc-2.37-r3, 6.3.5-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.3.5-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-9300H_CPU_@_2.40GHz-with-glibc2.37 KiB Mem: 32555004 total, 2472848 free KiB Swap: 33053688 total, 26225748 free Timestamp of repository gentoo: Fri, 09 Jun 2023 14:17:01 +0000 Head commit of repository gentoo: 21106c951ed7fb56a690ffddcfefbd43946d1d9a Timestamp of repository ace: Wed, 07 Jun 2023 09:17:06 +0000 Head commit of repository ace: 650bc02692438dc4e76119e3c516a6928f9f0e96 Timestamp of repository benzene-overlay: Fri, 09 Jun 2023 04:16:51 +0000 Head commit of repository benzene-overlay: fdd70d1eeddcfaa388e1f7d795cfdf1d09d44fa9 Timestamp of repository gentoo-zh: Fri, 09 Jun 2023 07:16:51 +0000 Head commit of repository gentoo-zh: ea9ed1630044d21ea037e8d732527965e80977fc Timestamp of repository guru: Thu, 08 Jun 2023 11:46:55 +0000 Head commit of repository guru: a5e9fbdaf7737f593e0eaafc2b0737360771f171 Timestamp of repository vGist: Mon, 05 Jun 2023 11:02:06 +0000 Head commit of repository vGist: 021d8e46fb20feccc5d0d831a450d1d327901d91 sh bash 5.2_p15-r3 ld LLD 15.0.7 (compatible with GNU linkers) ccache version 4.8 [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r3::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.36.1-r2::gentoo dev-lang/python: 3.11.4::gentoo, 3.12.0_beta2::gentoo dev-lang/rust: 1.69.0-r1::gentoo dev-util/ccache: 4.8-r2::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/sandbox: 2.30-r1::gentoo sys-apps/systemd: 253.5::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 16.0.5::gentoo sys-devel/gcc: 12.3.1_p20230526::gentoo, 13.1.1_p20230527::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: 15.0.7-r3::gentoo, 16.0.5::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 volatile: False sync-git-verify-commit-signature: no ace location: /var/db/repos/ace sync-type: git sync-uri: https://github.com/gentoo-mirror/ace.git masters: gentoo volatile: False benzene-overlay location: /var/db/repos/benzene-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/benzene-overlay.git masters: gentoo volatile: False corporal location: /var/db/repos/corporal masters: gentoo volatile: False 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 guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False vGist location: /var/db/repos/vGist sync-type: git sync-uri: https://github.com/gentoo-mirror/vGist.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O3 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="-j 2 --keep-going" 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="-march=native -O3 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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="-march=native -O3 -pipe" GENTOO_MIRRORS="http://mirrors.ustc.edu.cn/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-fuse-ld=mold -Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en zh" MAKEOPTS="-j4" 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" SHELL="/bin/zsh" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding btrfs bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr encode exif flac fortran gdbm gif gles2 gpm gui iconv icu ipv6 jit jpeg kde kwallet lcms libnotify libtirpc lm-sensors lto lvm mad mng mp3 mp4 mpeg multilib ncurses nls nptl nvenc ogg opengl openmp pam pango pcre pdf pgo pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb v4l vaapi verify-sig vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_US en zh zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX WebAssembly X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel i965 iris nvidia qxl" 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, 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, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 863616 [details] build log
Hm, i wonder is it a O3 issue. Can you please try a build with -O2 instead of -O3 in COMMON_FLAGS ? if it not work, then please attaching the full build.log compressed too.
Oh, build.log is already here - sorry.
(In reply to josef.95 from comment #2) > Hm, i wonder is it a O3 issue. Can you please try a build with -O2 instead > of -O3 in COMMON_FLAGS ? > > if it not work, then please attaching the full build.log compressed too. Sorry for late reply. But it still failed with -O2. New build.log is attached as build.log_O2
Created attachment 863725 [details] build log with -O2 option
Could you try building nodejs with -O2 as well?
(In reply to Sam James from comment #6) > Could you try building nodejs with -O2 as well? It works well after I disable the "lto" use flag in nodejs, still with -O3. There might be some problem with the lto.