When compiling thunderbird with dev-lang/rust-1.78.0, I get the following errors: * platform_intrinsics feature has been removed (packed_simd) * platform-intrinsic: invalid ABI * stdsimd: unknown feature and a bunch of cascading errors. Reproducible: Always Steps to Reproduce: 1. emerge the package. Actual Results: The build fails. Expected Results: The build should succeed. Portage 3.0.65 (python 3.12.4-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.39-r9, 6.9.5-gentoo x86_64) ================================================================= System uname: Linux-6.9.5-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-13700K-with-glibc2.39 KiB Mem: 131624376 total, 87255264 free KiB Swap: 134217724 total, 134203644 free Head commit of repository gentoo: dd795580fc73c9f5c59251c326e0963b3823edcf Timestamp of repository ace: Tue, 18 Jun 2024 13:48:56 +0000 Head commit of repository ace: dac9b1f1d0b6507cf156866ae6d00bdc4aeecc23 Timestamp of repository crossdev: Sun, 20 Jun 2021 21:41:33 +0000 Head commit of repository crossdev: 7c86f8ca262ff27fe4fb1965d8f8fef19f77a3bb Timestamp of repository dlang: Thu, 06 Jun 2024 20:49:05 +0000 Head commit of repository dlang: 142e85a153771c279124dd96742876007f6f39fa Timestamp of repository guru: Thu, 20 Jun 2024 07:34:05 +0000 Head commit of repository guru: bd4646a0393c6ab31559edbdf78d5f604b70892d Timestamp of repository kripton-overlay: Thu, 20 Jun 2024 07:34:07 +0000 Head commit of repository kripton-overlay: fe512d5de34abad0838b3f916ed5082900d2a06a Timestamp of repository steam-overlay: Mon, 17 Jun 2024 09:48:55 +0000 Head commit of repository steam-overlay: 35b2e4df390d79636ff6480e802f556814085aa2 Timestamp of repository stefantalpalaru: Thu, 20 Jun 2024 07:34:01 +0000 Head commit of repository stefantalpalaru: 66b45e3d16a839d52f4bacc78ae1b55973c8da49 sh bash 5.2_p26-r5 ld GNU ld (Gentoo 2.42 p3) 2.42.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] 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.3::gentoo 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.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.4_p1::gentoo, 3.13.0_beta2_p9::gentoo dev-lang/rust: 1.78.0::gentoo dev-lang/rust-bin: 1.77.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.7::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo, 18.1.7::gentoo sys-devel/gcc: 14.1.1_p20240615::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo, 18.1.7::gentoo sys-devel/llvm: 17.0.6::gentoo, 18.1.7::gentoo sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r9::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git priority: -1000 volatile: False ace location: /var/db/repos/ace sync-type: git sync-uri: https://github.com/gentoo-mirror/ace.git masters: gentoo volatile: False crossdev location: /var/db/repos/crossdev sync-type: git sync-uri: https://github.com/gentoo-mirror/crossdev.git masters: gentoo volatile: False dlang location: /var/db/repos/dlang sync-type: git sync-uri: https://github.com/gentoo-mirror/dlang.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 kripton-overlay location: /var/db/repos/kripton-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/kripton-overlay.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo ace volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False stefantalpalaru location: /var/db/repos/stefantalpalaru sync-type: git sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git masters: gentoo guru volatile: False Installed sets: @esteam ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fgraphite-identity -floop-nest-optimize -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=30720" 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="-O2 -pipe -fgraphite-identity -floop-nest-optimize -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=30720" DISTDIR="/var/cache/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 -fgraphite-identity -floop-nest-optimize -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=30720" 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" FFLAGS="-O2 -pipe -fgraphite-identity -floop-nest-optimize -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=30720" GENTOO_MIRRORS="https://mirror.csclub.uwaterloo.ca/gentoo-distfiles http://gentoo.mirrors.tera-byte.com/" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j16" 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="X a52 aac acl acpi activities alsa amd64 appindicator bluetooth bluray boost branding bzip2 cairo caps cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif fftw firewalld flac flatpak fuse gdbm gif gles2 gpm grub gstreamer gtk gtk3 gui iconv icu ipv6 jpeg kde kerberos kf6compat kwallet lcms libnotify libtirpc lvm lzma mad mng mp3 mp4 mpeg multilib ncurses networkmanager nfs nftables nls ogg opencl opengl openmp pam pango pcre pdf pipewire plasma plymouth png policykit ppds pulseaudio qml qt5 qt6 readline samba screencast sdl seccomp semantic-desktop snappy sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xa xattr xcb xft xinerama xml xv xvid zeroconf zlib zstd" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="en en-CA" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeon radeonsi intel i915 dummy fbdev" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, 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
Created attachment 896172 [details] Build log
I'm getting what appears to be identical errors, this on a fresh install. If there are further logs or information that may help, please let me know.
I have just performed a sync and full world update (emerge -avuDU @world); attempting to install mail-client/thunderbird-115.12.1::gentoo now requires a downgrade of virtual/rust-1.78.0:0/llvm-18::gentoo and an install of the same version of dev-lang/rust-1.77.1:stable/1.77::gentoo. The build still fails with these versions with same error message. (I don't recall the version I tried installing thunderbird with on initial install, but I had rust-1.78 on the system): gentoo ~ # emerge -av thunderbird These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 3.86 s (backtrack: 0/20). [ebuild N ] media-libs/openh264-2.4.1:0/7::gentoo USE="plugin -test -utils" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-avx2" 0 KiB [ebuild N ] dev-libs/sexpp-0.8.7::gentoo USE="-cli -test" 0 KiB [ebuild N ] dev-util/librnp-0.17.1-r1:0/0.16.1::gentoo USE="botan -man -test" 0 KiB [ebuild N ] dev-lang/rust-1.77.1:stable/1.77::gentoo USE="(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) -nightly (-parallel-compiler) -profiler -rust-analyzer -rust-src -rustfmt -system-bootstrap -system-llvm -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa" 0 KiB [ebuild UD ] virtual/rust-1.77.1:0/llvm-17::gentoo [1.78.0:0/llvm-18::gentoo] USE="-profiler -rustfmt" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild N ] mail-client/thunderbird-115.12.1::gentoo USE="X clang dbus openh264 pulseaudio system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-webp wayland -debug -eme-free -hardened -hwaccel -jack -libproxy -lto (-pgo) (-selinux) -sndio (-system-icu) -system-png (-system-python-libs) -wifi" L10N="-af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW" 0 KiB Total: 6 packages (1 downgrade, 5 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] n Quitting. gentoo ~ # I have also tried disabling the "clang" USE flag on thunderbird, but that build also failed. If that log could be useful, please let me know and I'll build it again and post the logs.
This is bug 934385 - eselect rust set to 1.77 and try compiling again. You should have 1.77 and 1.78 installed, but 1.78 is selected and it doesn't work. You can also remove 1.78 manually if you have 1.77 or 1.78 installed.
Thank you for your help. I was able to compile thunderbird. You are exactly correct that the referenced bug 934385 does describe my predicament.
(In reply to Joonas Niilola from comment #4) > This is bug 934385 - eselect rust set to 1.77 and try compiling again. You > should have 1.77 and 1.78 installed, but 1.78 is selected and it doesn't > work. > > You can also remove 1.78 manually if you have 1.77 or 1.78 installed. I have rust-1.77.1-bin and 1.79.0 listed, defaults to 1.79.0. Setting it to 1.77.1-bin lets the latest thunderbird and firefox compile...
*** Bug 934782 has been marked as a duplicate of this bug. ***
(In reply to Attila Tóth from comment #6) > (In reply to Joonas Niilola from comment #4) > > This is bug 934385 - eselect rust set to 1.77 and try compiling again. You > > should have 1.77 and 1.78 installed, but 1.78 is selected and it doesn't > > work. > > > > You can also remove 1.78 manually if you have 1.77 or 1.78 installed. > > I have rust-1.77.1-bin and 1.79.0 listed, defaults to 1.79.0. Setting it to > 1.77.1-bin lets the latest thunderbird and firefox compile... Although I had to take care of https://bugs.gentoo.org/928729 in case of thunderbird as well...
Happens to me too, also seems to be a dupe of https://bugs.gentoo.org/823966
can confirm that setting the default rust to bin-1.77.1 gets rid of the error, using 1.79.0 triggers it