see https://bugzilla.mozilla.org/show_bug.cgi?id=1836781 Reproducible: Always
Created attachment 863335 [details] build log
# emerge --info '=dev-libs/nss-3.90::gentoo' Portage 3.0.48 (python 3.11.3-final-0, default/linux/arm64/17.0, gcc-13, glibc-2.37-r3, 6.3.5-gentoo aarch64) ================================================================= System Settings ================================================================= System uname: Linux-6.3.5-gentoo-aarch64-with-glibc2.37 KiB Mem: 3929124 total, 103264 free KiB Swap: 8388604 total, 8177148 free Timestamp of repository gentoo: Mon, 05 Jun 2023 15:47:02 +0000 Head commit of repository gentoo: b299780efb890c42905df0a874a52bc5b1f0440a Head commit of repository audio-overlay: f68b670a42be431bed21a4e64825e0f69622f5e7 Timestamp of repository guru: Mon, 05 Jun 2023 11:02:02 +0000 Head commit of repository guru: 72e766b334365bccda16956e68ef97cab3b23d95 Head commit of repository inode64-overlay: be7d2db175beee48c0c6d6c11ce316206c47af5e Head commit of repository local: 1540fedac2d8a4683e31fd1faa559fd8d07c70e8 sh bash 5.2_p15-r3 ld GNU ld (Gentoo 2.40 p5) 2.40.0 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.3::gentoo, 3.12.0_beta1_p4::gentoo dev-lang/rust: 1.69.0-r1::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.47.1::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 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: 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 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/portage/repos/gentoo sync-type: git sync-uri: git://anongit.gentoo.org/repo/sync/gentoo.git priority: -1000 volatile: True audio-overlay location: /var/portage/repos/audio-overlay sync-type: git sync-uri: https://github.com/gentoo-audio/audio-overlay.git masters: gentoo volatile: True guru location: /var/portage/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: True inode64-overlay location: /var/portage/repos/inode64-overlay sync-type: git sync-uri: https://github.com/inode64/inode64-overlay.git masters: gentoo volatile: True local location: /usr/local/portage sync-type: git sync-uri: /data/nas/xavier/git_repos/local_overlay.git/ masters: gentoo volatile: True crossdev location: /data/nas/xavier/portage/pinebook-pro/var/db/repos/crossdev masters: gentoo priority: 10 volatile: True ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="@FREE as-is freedist" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -mlittle-endian -mabi=lp64 -march=armv8-a+crypto+crc -mtune=cortex-a72.cortex-a53" CHOST="aarch64-unknown-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" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -mlittle-endian -mabi=lp64 -march=armv8-a+crypto+crc -mtune=cortex-a72.cortex-a53" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="fr_BE.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed" LEX="flex" MAKEOPTS="-j7 -l7" PKGDIR="/var/portage/packages" 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 acpi alsa apng arm64 bluetooth bmp branding bzip2 cairo cli crypt cryptsetup css cups dbus display-manager dlna dri dssi dts dvb elogind exif flac gif glamor gles2 gnome-keyring gpm gtk gtk3 gudev gui iconv joystick jpeg keyring lcms libcanberra libinput libnotify libsamplerate libtirpc mad matroska mng mp3 mpeg mtp natspec ncurses network nls nptl ocr ogg openal opengl openmp openssl opus osc pam pango pcre pdf png pnm policykit printsupport qt5 readline sddm sdl seccomp sna sndfile snmp spell split-usr sqlite ssl startup-notification svg system-bootstrap system-llvm test-rust threads tiff truetype udev udisks unicode upnp upower usb uxa vorbis wmf wps x264 xattr xcb xfce xinerama xml xosd xpm xv xvid zlib" 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_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2" 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="fr nl en" 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30 ruby31" VIDEO_CARDS="panfrost" 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, LINGUAS, 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
you need the upstream patch from the linked bug
the patch https://hg.mozilla.org/projects/nss-try/raw-rev/c084864f5d30781b3082d6559f7ecfe38c95ad49 works for me
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271ee4b749ee8393d8b2894710e0ea4ec540b5ac commit 271ee4b749ee8393d8b2894710e0ea4ec540b5ac Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-06 09:25:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-06 09:25:58 +0000 dev-libs/nss: fix 3.90 build on arm64 This patch is a prereq for the fix for the SIGILL issue (or workaround rather). Closes: https://bugs.gentoo.org/907901 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/nss/files/nss-3.90-arm64-simd.patch | 27 +++++++++++++++++++++++++++ dev-libs/nss/nss-3.90.ebuild | 1 + 2 files changed, 28 insertions(+)