Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935223 - net-libs/nodejs-22.3.0 - ../../deps/v8/src/heap/heap-allocator-inl.h:165:18: error: inlining failed in call to ‘always_inline’ ... function not considered for inlining
Summary: net-libs/nodejs-22.3.0 - ../../deps/v8/src/heap/heap-allocator-inl.h:165:18: ...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 11:32 UTC by jospezial
Modified: 2024-10-04 23:18 UTC (History)
1 user (show)

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


Attachments
build.log bzipped (nodejs-22.3.0_build.log.bz2,119.94 KB, application/x-bzip2)
2024-06-30 11:37 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2024-06-30 11:32:14 UTC
CFLAGS="-march=native -O0 -ggdb"
CXXFLAGS="${CFLAGS}"
FEATURES="${FEATURES} splitdebug installsources"
USE="debug"

[ebuild     U  ]  net-libs/nodejs-22.3.0:0/22::gentoo [22.2.0:0/22::gentoo] USE="debug* icu ssl system-icu system-ssl -corepack -doc -inspector (-lto) -npm* -pax-kernel -snapshot* -test" CPU_FLAGS_X86="sse2" 0 KiB

[31mFAILED: [0mobj/deps/v8/src/heap/v8_base_without_compiler.factory.o 
x86_64-pc-linux-gnu-g++ -MMD -MF obj/deps/v8/src/heap/v8_base_without_compiler.factory.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -DNODE_OPENSSL_CONF_NAME=nodejs_conf -DNODE_OPENSSL_CERT_STORE -DICU_NO_USER_DATA_OVERRIDE -DV8_GYP_BUILD -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DV8_ENABLE_CHECKS -D__STDC_FORMAT_MACROS -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX '-DV8_EMBEDDER_STRING="-node.13"' -DENABLE_DISASSEMBLER -DV8_PROMISE_INTERNAL_FIELD_COUNT=1 -DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION -DV8_SHORT_BUILTIN_CALLS -DOBJECT_PRINT -DV8_INTL_SUPPORT -DV8_ATOMIC_OBJECT_FIELD_WRITES -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_USE_SIPHASH -DV8_SHARED_RO_HEAP -DNDEBUG -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_USE_ZLIB -DV8_ENABLE_SPARKPLUG -DV8_ENABLE_MAGLEV -DV8_ENABLE_TURBOFAN -DV8_ENABLE_WEBASSEMBLY -DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS -DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA -DV8_ALLOCATION_FOLDING -DV8_ALLOCATION_SITE_TRACKING -DV8_ADVANCED_BIGINT_ALGORITHMS -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../../deps/v8 -I../../deps/v8/include -Igen/inspector-generated-output-root -I../../deps/v8/third_party/inspector_protocol -Igen -Igen/generate-bytecode-output-root -I../../deps/v8/third_party/zlib -I../../deps/v8/third_party/zlib/google -I../../deps/v8/third_party/abseil-cpp -I../../deps/v8/third_party/fp16/src/include -pthread -Wno-unused-parameter -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-context -Wno-deprecated -Wno-stringop-overflow -Wno-stringop-overread -Wno-restrict -Wno-array-bounds -Wno-nonnull -Wno-dangling-pointer -flax-vector-conversions -fno-strict-aliasing -m64 -m64 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -march=native -O0 -ggdb -fno-rtti -fno-exceptions -std=gnu++20 -Wno-invalid-offsetof  -c ../../deps/v8/src/heap/factory.cc -o obj/deps/v8/src/heap/v8_base_without_compiler.factory.o
In file included from ../../deps/v8/src/execution/messages.h:15,
                 from ../../deps/v8/src/heap/factory.h:15,
                 from ../../deps/v8/src/heap/factory.cc:5:
../../deps/v8/include/v8-local-handle.h:401:30: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
  401 |   V8_INLINE explicit Local<T>(const LocalBase<T>& other)
      |                              ^
../../deps/v8/include/v8-local-handle.h:401:30: note: remove the ‘< >’
In file included from ../../deps/v8/src/objects/fixed-array.h:20,
                 from ../../deps/v8/src/objects/prototype-info.h:8,
                 from ../../deps/v8/src/objects/map.h:15,
                 from ../../deps/v8/src/heap/marking.h:13,
                 from ../../deps/v8/src/heap/mutable-page.h:15,
                 from ../../deps/v8/src/common/code-memory-access.h:15,
                 from ../../deps/v8/src/heap/heap.h:28,
                 from ../../deps/v8/src/heap/factory.h:19:
../../deps/v8/src/objects/object-macros.h:69:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   69 |   constexpr Type() : __VA_ARGS__() {}                                          \
      |                 ^
../../deps/v8/src/objects/fixed-array.h:853:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  853 |   OBJECT_CONSTRUCTORS(FixedIntegerArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:69:17: note: remove the ‘< >’
   69 |   constexpr Type() : __VA_ARGS__() {}                                          \
      |                 ^
../../deps/v8/src/objects/fixed-array.h:853:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  853 |   OBJECT_CONSTRUCTORS(FixedIntegerArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:81:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   81 |   explicit constexpr V8_INLINE Type(Address ptr, HeapObject::SkipTypeCheckTag) \
      |                                     ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:853:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  853 |   OBJECT_CONSTRUCTORS(FixedIntegerArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:81:37: note: remove the ‘< >’
   81 |   explicit constexpr V8_INLINE Type(Address ptr, HeapObject::SkipTypeCheckTag) \
      |                                     ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:853:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  853 |   OBJECT_CONSTRUCTORS(FixedIntegerArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:85:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   85 |   explicit inline Type(Address ptr)
      |                        ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:853:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  853 |   OBJECT_CONSTRUCTORS(FixedIntegerArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:85:24: note: remove the ‘< >’
   85 |   explicit inline Type(Address ptr)
      |                        ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:853:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  853 |   OBJECT_CONSTRUCTORS(FixedIntegerArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:69:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   69 |   constexpr Type() : __VA_ARGS__() {}                                          \
      |                 ^
../../deps/v8/src/objects/fixed-array.h:969:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  969 |   OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:69:17: note: remove the ‘< >’
   69 |   constexpr Type() : __VA_ARGS__() {}                                          \
      |                 ^
../../deps/v8/src/objects/fixed-array.h:969:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  969 |   OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:81:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   81 |   explicit constexpr V8_INLINE Type(Address ptr, HeapObject::SkipTypeCheckTag) \
      |                                     ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:969:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  969 |   OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:81:37: note: remove the ‘< >’
   81 |   explicit constexpr V8_INLINE Type(Address ptr, HeapObject::SkipTypeCheckTag) \
      |                                     ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:969:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  969 |   OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:85:24: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   85 |   explicit inline Type(Address ptr)
      |                        ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:969:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  969 |   OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
../../deps/v8/src/objects/object-macros.h:85:24: note: remove the ‘< >’
   85 |   explicit inline Type(Address ptr)
      |                        ^~~~~~~
../../deps/v8/src/objects/fixed-array.h:969:3: note: in expansion of macro ‘OBJECT_CONSTRUCTORS’
  969 |   OBJECT_CONSTRUCTORS(PodArray<T>, ByteArray);
      |   ^~~~~~~~~~~~~~~~~~~
In file included from ../../deps/v8/src/heap/heap-inl.h:21,
                 from ../../deps/v8/src/heap/main-allocator-inl.h:10,
                 from ../../deps/v8/src/heap/local-heap-inl.h:15,
                 from ../../deps/v8/src/heap/factory-base-inl.h:9,
                 from ../../deps/v8/src/heap/factory-inl.h:15,
                 from ../../deps/v8/src/objects/lookup-inl.h:14,
                 from ../../deps/v8/src/objects/js-objects-inl.h:21,
                 from ../../deps/v8/src/objects/api-callbacks-inl.h:13,
                 from ../../deps/v8/src/objects/map-inl.h:9,
                 from ../../deps/v8/src/objects/instance-type-inl.h:12,
                 from ../../deps/v8/src/objects/heap-object-inl.h:10,
                 from ../../deps/v8/src/objects/primitive-heap-object-inl.h:9,
                 from ../../deps/v8/src/objects/heap-number-inl.h:10,
                 from ../../deps/v8/src/numbers/conversions-inl.h:21,
                 from ../../deps/v8/src/objects/objects-inl.h:26,
                 from ../../deps/v8/src/objects/fixed-array-inl.h:16,
                 from ../../deps/v8/src/numbers/hash-seed-inl.h:31,
                 from ../../deps/v8/src/objects/dictionary-inl.h:10,
                 from ../../deps/v8/src/objects/contexts-inl.h:11,
                 from ../../deps/v8/src/execution/isolate-inl.h:9,
                 from ../../deps/v8/src/heap/factory.cc:21:
In member function ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [with v8::internal::AllocationType type = v8::internal::AllocationType::kYoung]’,
    inlined from ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment)’ at ../../deps/v8/src/heap/heap-allocator-inl.h:171:49,
    inlined from ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [with v8::internal::AllocationType type = v8::internal::AllocationType::kTrusted]’ at ../../deps/v8/src/heap/heap-allocator-inl.h:79:23:
../../deps/v8/src/heap/heap-allocator-inl.h:165:18: error: inlining failed in call to ‘always_inline’ ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment)’: function not considered for inlining
  165 | AllocationResult HeapAllocator::AllocateRaw(int size_in_bytes,
      |                  ^~~~~~~~~~~~~
../../deps/v8/src/heap/heap-allocator-inl.h:79:23: note: called from here
   79 |     return AllocateRaw(size_in_bytes, AllocationType::kOld, origin, alignment);
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [with v8::internal::AllocationType type = v8::internal::AllocationType::kOld]’,
    inlined from ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment)’ at ../../deps/v8/src/heap/heap-allocator-inl.h:174:47,
    inlined from ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [with v8::internal::AllocationType type = v8::internal::AllocationType::kTrusted]’ at ../../deps/v8/src/heap/heap-allocator-inl.h:79:23:
../../deps/v8/src/heap/heap-allocator-inl.h:165:18: error: inlining failed in call to ‘always_inline’ ‘v8::internal::AllocationResult v8::internal::HeapAllocator::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment)’: function not considered for inlining

Is it normal with debug settings that the compile goes on even on error?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-30 11:34:45 UTC
Hard to say without the full build.log but most build systems won't *kill* running jobs when one fails, they wait until all others are done first (just don't execute any new ones).

Anyway, just some notes:
* USE=debug should only be used on specific packages when asked to, as it's not for debugging symbols and can change generated code
* -O0 isn't always the best for debugging given it too changes generated code (usually want to try your normal flags with -ggdb or -ggdb3, then -Og if you absolutely must if the previous had insufficient info).
Comment 2 jospezial 2024-06-30 11:37:54 UTC
Created attachment 896645 [details]
build.log bzipped

Portage 3.0.65-6+g819c86325 (python 3.12.4-final-0, default/linux/amd64/23.0, gcc-14, glibc-2.39-r9, 6.10.0-rc4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.10.0-rc4-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-glibc2.39
KiB Mem:     4026320 total,    508716 free
KiB Swap:   16029688 total,  16029688 free
Timestamp of repository kde: Thu, 20 Jun 2024 20:48:56 +0000
Head commit of repository kde: a84b124658aeb2bbcd4f1446a2666f8f03ae7322

Timestamp of repository poly-c: Thu, 20 Jun 2024 20:19:00 +0000
Timestamp of repository qt: Mon, 17 Jun 2024 20:33:52 +0000
Head commit of repository qt: cd25d60cc1280da87545f9f362cbe4f543c6cf07

Timestamp of repository gentoo: Fri, 21 Jun 2024 02:48:58 +0000
Head commit of repository gentoo: 6855a6975fc1819c298f1a39fff7f27e28fd3699

Timestamp of repository guru: Thu, 20 Jun 2024 07:34:05 +0000
Head commit of repository guru: bd4646a0393c6ab31559edbdf78d5f604b70892d

sh bash 5.2_p26-r5
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.10 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r5::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.6_pre::poly-c
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.4_p1::gentoo
dev-lang/rust-bin:         1.78.0::gentoo
dev-util/ccache:           4.10-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.7::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo, 14.1.1_p20240615::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.7::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r9::gentoo
Repositories:

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

overlay_jl
    location: /var/db/repos/overlay_jl
    masters: gentoo
    priority: -1001
    volatile: False

poly-c
    location: /var/db/repos/poly-c
    sync-type: rsync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: -1001
    volatile: False
    sync-rsync-extra-opts: 

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

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
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"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts"
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 -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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 -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ https://mirrors.dotsrc.org/gentoo/ https://mirror.leaseweb.com/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j2"
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/bash"
USE="a52 aac aacplus aacs aalib acl acpi activefilter admin adns aften alsa amd64 amdgpu ap apm apng archive arping atahpt atapromise audiofile automount avif bash bazaar bdplus bluray boost btrfs bzip2 cairo ccache cdda cddb cdio cdr cdrom chm chroot cjk cli client colordiff colorpicker compress corefonts cpio cpuload crypt css cue cups curl custom-modes d3d9 dav1d dbus declarative designer dga dhcp dom dri dri3 drm dts duktape dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook egl elogind encode enscript epub equalizer exif extensions extras faac faad farstream fat fax fbcon fdformat fdk ffmpeg fftw firefox flac flashrom fluidsynth fontconfig foomatic freedoom ft2232-spi ftd2xx ftdi ftp fullscreen fuse gadu gd gdk-pixbuf gegl geoip gif git gpg gphoto2 graphite grub gstreamer gtk gtk4 gui gusb gzip haptic hddtemp hdf hdf5 hid highlight history hpcups hpijs http http2 iconv icu id3tag idn imagemagick initramfs inotify introspection ipc ipod ipv6 iso jack jbootstrap jit jpeg jpeg2k jpegxl kde keyfinder kiosk ladspa lame lcms legacy-systray lensfun libaom libass libcanberra libdrm libei libinput libmpv libnotify libplacebo libproxy librtmp libsamplerate libssh2 libtirpc libv4l libwww linux-mtd linux-spi live lm-sensors logitech logrotate lua lv2 lximage lz4 lzma lzo mad magic man matroska md5sum meanwhile mediatek-i2c-spi mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mod modern-top modplug modules-compress mono mount mouse mp3 mp4 mpeg mpeg2 mplayer mstarddc-spi mtp multilib multimedia musepack musicbrainz nano-syntax ncat ncurses network networkmonitor newnet ngspice nls normalize nowlistening nping ntfs ntfsprogs ntp nvidia nvme obex ocr odbc odf offload ogg ogm openal opencl opengl openh264 openmp openssl opus osdmenu otr p2p pam pango panorama parse-clocks pcap pci pcre pcre16 pcre32 pdf pdfimport phonon pipes pipewire pipewire-alsa pkcs11 plasma plugins png policykit postproc postscript powermanagement ppds printsupport privacy projectm pulseaudio pvr python qalculate qdbus qml qrcode qt6 qtkeychain quicktime radio rar raw readline realtek-mst-i2c-spi replaygain rtc rtmp rubberband rust rustfmt sbsms scanner screencast screensaver scripttools sdl seccomp secure-delete sensors serial serialport sftp sha512 shorten skins slang smartcard smi sndfile sockets socks socks5 sound sound-server source-highlight speech speex spell spi spirv sql sqlite sqlite3 squashfs ssh ssl staging startup-notification statistics statusnotifier stk stream subtitles sudo svg symlink sync-plugin-portage syslog sysstat system-av1 system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-librnp system-libvpx system-llvm system-png system-protoc system-python-libs system-sqlite system-ssl system-toolchain system-webp system-zlib system-zstd sysv-utils szip taglib test-rust text texteffect tftp themes theora threads thumbnail tiff timidity tracepath translator truetype twolame udev udf udisks unicode upower urlpicpreview usb utils v4l v4l2 vaapi vala vamp vector-icons video videos virtualbox vkd3d vnc vorbis vpx vroot vst vulkan vulkaninfo wad wav wavpack wayland wayland-compositor webp widgets wps wxwidgets x264 x265 xattr xfs xml xvid xwayland yahoo zink zip zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 popcnt sse sse2 sse3 sse4a" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby33" VIDEO_CARDS="radeon amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

sys-devel/gcc-13.2.1_p20240503::gentoo was built with the following:
USE="(cxx) (default-stack-clash-protection) (default-znow) graphite jit (multilib) nls openmp (pie) sanitize ssp zstd -ada -cet (-custom-cflags) -d -debug -doc (-fixed-point) -fortran -go -hardened (-ieee-long-double) (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv" ABI_X86="(64)"
CFLAGS="-march=native -mtune=native -pipe -O2"
CXXFLAGS="-march=native -mtune=native -pipe -O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


sys-devel/gcc-14.1.1_p20240615::gentoo was built with the following:
USE="(cxx) (default-stack-clash-protection) (default-znow) graphite jit (multilib) nls openmp (pie) rust sanitize ssp zstd -ada -cet (-custom-cflags) -d -debug -doc (-fixed-point) -fortran -go -hardened (-ieee-long-double) (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv" ABI_X86="(64)"
CFLAGS="-march=native -mtune=native -pipe -O2 -fno-harden-control-flow-redundancy"
CXXFLAGS="-march=native -mtune=native -pipe -O2 -fno-harden-control-flow-redundancy"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"


net-libs/nodejs-22.2.0::gentoo was built with the following:
USE="icu npm snapshot ssl system-icu system-ssl -corepack -debug -doc -inspector (-lto) -pax-kernel -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2"
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-30 11:38:04 UTC
(Note that the CANTFIX is also for the build failure because -O0 means no inlining at all which some codebases require. -Og might work.)
Comment 4 jospezial 2024-06-30 12:07:38 UTC
Thank you Sam for the info about O0 and inlining.
I am still hunting for a solution for my firefox-bin and thunderbird-bin crashes we talked some weeks ago on IRC. https://bugzilla.mozilla.org/show_bug.cgi?id=1898397

www-client/firefox-127.0 compiled on my system crashes instantly on start.
Will try newer version and file bugs.

You are sometimes a bit to fast. ;-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-30 12:57:17 UTC
Sorry ;)

I remember that.. coming back to it, I can only offer maybe two more guesses/ideas:
1) Did memory overcommit somehow get disabled for you? (It can be a sysctl for the kernel)
2) Maybe some size overflows and it tries to allocate a huge amount, but that should work fine unless 1)...
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-30 13:00:33 UTC
One more idea: if it only happens for *-bin, do older bins work? I recently used mozregression (I installed it in a venv) and it bisects by downloading nightly snapshots.
Comment 7 jospezial 2024-06-30 17:28:21 UTC
(In reply to Sam James from comment #6)
> One more idea: if it only happens for *-bin, do older bins work? I recently
> used mozregression (I installed it in a venv) and it bisects by downloading
> nightly snapshots.

I updated other packages or did some change and then the same firefox-bin and thunderbird-bin that worked stable before were now crashing. No regression of these two. I tried down to version 115 but no change.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-30 17:30:04 UTC
OK :(

I will keep you in mind if I see anything that could be related. My guess is kernel though.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-30 17:42:50 UTC
One more idea: you can help rule out userland versions by testing in a chroot (extract a stage3 to /tmp or /opt or whatever) with e.g. X forwarding or similar and see if FF works.
Comment 10 jospezial 2024-10-04 23:18:39 UTC
I have created a bug report for the crashes.
https://bugs.gentoo.org/940767