No, it’s a different one. I’ve tried now with llvm17 and clang17 but the error is the same and very unspecific.
277:15.97 gmake[4]: Entering directory '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/js/src'
277:16.07 /usr/lib/llvm/17/bin/riscv64-unknown-linux-gnu-clang++-17 -o Unified_cpp_js_src9.o -c -I/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/dist/stl_wrappers -fvisibility=hidden -fvisibility-inlines-hidden -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DWASM_SUPPORTS_HUGE_MEMORY -DJS_HAS_CTYPES -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox-127.0.2/js/src -I/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/js/src -I/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox-127.0.2/intl/icu_capi/c/include -I/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/js/src/js-confdefs.h -fno-sized-deallocation -fno-aligned-new -march=rv64imafdc_zicsr_zba_zbb -mcpu=sifive-u74 -mtune=sifive-7-series -pipe -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -O2 -fomit-frame-pointer -funwind-tables -Wall -Wbitfield-enum-conversion -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wenum-compare-conditional -Wenum-float-conversion -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-deprecated-this-capture -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wformat -Wformat-security -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-unknown-warning-option -Werror=format -fstandalone-debug -I/usr/lib64/libffi/include -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/Unified_cpp_js_src9.o.pp -fcolor-diagnostics Unified_cpp_js_src9.cpp
277:16.08 gmake[4]: Leaving directory '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/js/src'
277:16.08 gmake[4]: Entering directory '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/js/src'
277:16.09 gmake[4]: Leaving directory '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox_build/js/src'
277:16.10 gmake[2]: *** [/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox-127.0.2/config/recurse.mk:34: compile] Error 2
277:16.10 gmake[1]: *** [/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox-127.0.2/config/rules.mk:361: default] Error 2
277:16.10 gmake: *** [client.mk:60: build] Error 2
277:16.11 W 96 compiler warnings present.
* ERROR: www-client/firefox-127.0.2::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 5167: Called die
* The specific snippet of code:
* ${virtx_cmd} ./mach build --verbose || die
*
* If you need support, post the output of `emerge --info '=www-client/firefox-127.0.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=www-client/firefox-127.0.2::gentoo'`.
* The complete build log is located at '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/temp/build.log'.
* The ebuild environment file is located at '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/temp/environment'.
* Working directory: '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox-127.0.2'
* S: '/data/portage_tmpdir/portage/www-client/firefox-127.0.2/work/firefox-127.0.2'
emerge --info '=www-client/firefox-127.0.2::gentoo'
shows:
Portage 3.0.65 (python 3.12.4-final-0, default/linux/riscv/23.0/rv64/lp64d/desktop/systemd, gcc-14, glibc-2.39-r9, 6.6.20 riscv64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.20-riscv64-with-glibc2.39
KiB Mem: 8098028 total, 4449860 free
KiB Swap: 8388604 total, 8318460 free
Timestamp of repository gentoo: Sat, 06 Jul 2024 14:30:00 +0000
Head commit of repository gentoo: 6ff37b45dda5068d4f6e9ef772367de3dce884e0
Head commit of repository bingch: 3199712d3c3c7d6eafd46ba55ab4eb2ca6fd985b
Timestamp of repository dilfridge: Fri, 05 Jul 2024 21:06:45 +0000
Head commit of repository dilfridge: 5eec1bf4fbc5a7f1df80a9e21f27359df438ac1b
Timestamp of repository guru: Fri, 05 Jul 2024 21:07:06 +0000
Head commit of repository guru: d13b66aff1354e1273deec0c874dc8ac8e0c0562
Timestamp of repository riscv: Fri, 05 Jul 2024 21:07:21 +0000
Head commit of repository riscv: f098779567ed550db14703cb52de468f450667dd
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.0::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-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.11.9-r1::gentoo, 3.12.4_p2::gentoo, 3.13.0_beta3_p1::gentoo
dev-lang/rust: 1.77.1::gentoo
dev-lang/rust-bin: 1.79.0::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-apps/systemd: 255.6::gentoo
sys-devel/binutils: 2.42-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc: 14.1.1_p20240622::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm: 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::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: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
bingch
location: /var/db/repos/bingch
sync-type: git
sync-uri: https://gitlab.com/bingch/gentoo-overlay.git
masters: gentoo
volatile: True
dilfridge
location: /var/db/repos/dilfridge
sync-type: git
sync-uri: https://github.com/gentoo-mirror/dilfridge.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
riscv
location: /var/db/repos/riscv
sync-type: git
sync-uri: https://github.com/gentoo-mirror/riscv.git
masters: gentoo
volatile: False
ACCEPT_KEYWORDS="riscv ~riscv"
ACCEPT_LICENSE="@FREE"
CBUILD="riscv64-unknown-linux-gnu"
CFLAGS="-march=rv64imafdc_zicsr_zba_zbb -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe"
CHOST="riscv64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /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=rv64imafdc_zicsr_zba_zbb -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe"
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="-march=rv64imafdc_zicsr_zba_zbb -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync merge-wait multilib-strict news parallel-fetch 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=rv64imafdc_zicsr_zba_zbb -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
PKGDIR="/data/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="/data/portage_tmpdir/"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa bluetooth branding bzip2 cairo cdda cdr crypt cups dbus dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify mad mng mp3 mp4 mpeg ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds readline riscv sdl seccomp sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" 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" 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" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 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="imagination" 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, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, 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
I’ll file a bug when I have the time to do so …