Created attachment 924622 [details] build.log ``` [...] make[3]: *** [Makefile:282: ../lisp/case-table.elc] Bus error (core dumped) make[3]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4/lisp' make[2]: *** [Makefile:841: ../lisp/international/charscript.elc] Error 2 make[3]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4/lisp' '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-prefer-newer t byte-compile-warnings 'all)" \ -l comp -f byte-compile-refresh-preloaded \ -f batch-byte+native-compile ../lisp/button.el Backtrace: ../src/bootstrap-emacs(+0x120414) [0x10000120414] make[3]: *** [Makefile:282: ../lisp/button.elc] Bus error (core dumped) make[3]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4/lisp' make[2]: *** [Makefile:841: ../lisp/rfn-eshadow.elc] Error 2 make[3]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4/lisp' '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-prefer-newer t byte-compile-warnings 'all)" \ -l comp -f byte-compile-refresh-preloaded \ -f batch-byte+native-compile ../lisp/dynamic-setting.el Backtrace: ../src/bootstrap-emacs(+0x120414) [0x10000120414] make[3]: *** [Makefile:282: ../lisp/dynamic-setting.elc] Bus error (core dumped) make[3]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4/lisp' make[2]: *** [Makefile:841: ../lisp/case-table.elc] Error 2 make[2]: *** [Makefile:841: ../lisp/dynamic-setting.elc] Error 2 make[2]: *** [Makefile:841: ../lisp/button.elc] Error 2 make[1]: *** [Makefile:544: src] Error 2 make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' *** make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' *** "make all" failed with exit status 2. make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' *** make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=1", which displays the full commands invoked by make, *** to further investigate the problem make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' *** make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' make[1]: Entering directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' make[1]: *** [Makefile:414: advice-on-failure] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-editors/emacs-29.4-r3/work/emacs-29.4' make: *** [Makefile:370: all] Error 2 [31;01m*[0m ERROR: app-editors/emacs-29.4-r3::gentoo failed (compile phase): [31;01m*[0m emake failed ``` --- # emerge --info Portage 3.0.67 (python 3.12.10-final-0, default/linux/sparc/23.0/64ul/systemd, gcc-14, glibc-2.40-r8, 6.1.112 sparc64) ================================================================= System uname: Linux-6.1.112-sparc64-sun4v-with-glibc2.40 KiB Mem: 531345976 total, 415600360 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 13 Apr 2025 08:50:31 +0000 sh bash 5.2_p37 ld GNU ld (Gentoo 2.44 p1) 2.44.0 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo, 1.17-r1::gentoo dev-build/cmake: 3.31.5::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.0::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.12.10::gentoo, 3.13.3::gentoo dev-lang/rust: 1.85.1::gentoo dev-lang/rust-bin: 1.74.1-r102::gentoo, 1.85.1::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.10::gentoo sys-devel/binutils: 2.42-r2::gentoo, 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 10.5.0::gentoo, 11.5.0::gentoo, 12.4.1_p20241219::gentoo, 13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r8::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-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="sparc" ACCEPT_LICENSE="@FREE" CBUILD="sparc64-unknown-linux-gnu" CFLAGS="-O2 -mcpu=ultrasparc -pipe" CHOST="sparc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-O2 -mcpu=ultrasparc -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--complete-graph --keep-going=y" 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 -mcpu=ultrasparc -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -mcpu=ultrasparc -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" PKGDIR="/var/cache/binpkgs" PORTAGE_COMPRESS="xz" 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="acl big-endian bzip2 crypt gdbm iconv ipv6 libtirpc llvm-libunwind ncurses nls openmp pam pcre readline sparc ssl systemd test-rust udev unicode xattr zlib" ADA_TARGET="gcc_14" 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" 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="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby30 ruby32" VIDEO_CARDS="fbdev mga r128 radeon dummy" 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, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
I'm looking into it more now.
Just picking one example: ``` /var/tmp/portage/app-editors/emacs-30.1-r1/work/emacs-30.1/lisp $ gdb --args '../src/bootstrap-emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-prefer-newer t byte-compile-warnings 'all)" --eval "(setq org--inhibit-version-check t)" -l comp -f byte-compile-refresh-preloaded -f batch-byte+native-compile ../lisp/term/android-win.el [...] Starting program: /var/tmp/portage/app-editors/emacs-30.1-r1/work/emacs-30.1/src/bootstrap-emacs -batch --no-site-file --no-site-lisp --eval \(setq\ load-prefer-newer\ t\ byte-compile-warnings\ \'all\) --eval \(setq\ org--inhibit-version-check\ t\) -l comp -f byte-compile-refresh-preloaded -f batch-byte+native-compile ../lisp/term/android-win.el [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Program received signal SIGBUS, Bus error. 0xfff8000116792b88 in top_level_run () from /var/tmp/portage/app-editors/emacs-30.1-r1/work/emacs-30.1/native-lisp/30.1-b9aa27ce/comp-7672a6ed-a60aebab.eln (gdb) bt #0 0xfff8000116792b88 in top_level_run () from /var/tmp/portage/app-editors/emacs-30.1-r1/work/emacs-30.1/native-lisp/30.1-b9aa27ce/comp-7672a6ed-a60aebab.eln Backtrace stopped: previous frame identical to this frame (corrupt stack?) ``` I'll look at the libgccjit testsuite first.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0809da8099a179f45622e1be5481507023979e5 commit e0809da8099a179f45622e1be5481507023979e5 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-13 10:43:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-13 10:43:06 +0000 profiles/arch/sparc: mask app-editors/emacs[jit], sys-devel/gcc[jit] Fails to build app-editors/emacs[jit] and has many test failures in the libgccjit testsuite: bug #953775 (https://gcc.gnu.org/PR119767). Bug: https://gcc.gnu.org/PR119767 Closes: https://bugs.gentoo.org/953775 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/sparc/package.use.mask | 6 ++++++ 1 file changed, 6 insertions(+)