Subject: Re: [bug#78484] [PATCH] rust: Bootstrap from version 1.74.0.

From: Andreas Enge <[email-masked]>
Date: Sun, 15 Jun 2025 09:55:01 +0200

Hello Maxim,

I do not know what the progress in rust-team is (it has not filed a
request to merge yet, but the latest commit is from the end of May),
but just wanted to report that I could bootstrap rust on x86_64.

On aarch64, already the very first step rust-1.74 fails with the
following message:
Process was terminated with signal 6
FAILING COMMAND: /tmp/guix-build-rust-1.74.0.drv-0/source/bin/mrustc rustc-1.74.0-src/vendor/compiler_builtins/src/lib.rs -o output/libcompiler_builtins-0_1_101_H10c.rlib -C emit-depfile=output/libcompiler_builtins-0_1_101_H10c.rlib.d --cfg debug_assertions -O -L output --cfg feature="compiler-builtins" --cfg feature="rustc-dep-of-std" --cfg feature="core" --cfg feature="dep:core" --crate-name compiler_builtins --crate-type rlib --crate-tag 0_1_101_H10c --cfg feature="unstable" --edition 2018 --extern core=output/librustc_std_workspace_core-1_99_0.rlib
Env:  OUT_DIR=/tmp/guix-build-rust-1.74.0.drv-0/source/output/build_compiler_builtins-0_1_101_H10c CARGO_MANIFEST_DIR=/tmp/guix-build-rust-1.74.0.drv-0/source/rustc-1.74.0-src/vendor/compiler_builtins CARGO_PKG_NAME=compiler_builtins CARGO_PKG_VERSION=0.1.101 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=101
 (15.8% 1r,0w,15b,3c/19t): libc v0.2.148
Completed libc v0.2.148
 (21.1% 0r,0w,15b,4c/19t):
BUILD FAILED
make: *** [minicargo.mk:236: LIBS] Error 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-f" "minicargo.mk" "LIBS" "RUSTC_TARGET=aarch64-unknown-linux-gnu" "RUSTC_VERSION=1.74.0" "MRUSTC_TARGET_VER=1.74" "RUSTC_SRC_TARBALL=/gnu/store/r7fn309n0jhki5a06ipwhlmk71mprql8-rustc-1.74.0-src.tar.zst" "OUTDIR_SUF=") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 3856.9 seconds
command "make" "-f" "minicargo.mk" "LIBS" "RUSTC_TARGET=aarch64-unknown-linux-gnu" "RUSTC_VERSION=1.74.0" "MRUSTC_TARGET_VER=1.74" "RUSTC_SRC_TARBALL=/gnu/store/r7fn309n0jhki5a06ipwhlmk71mprql8-rustc-1.74.0-src.tar.zst" "OUTDIR_SUF=" failed with status 2
build process 6 exited with status 256

Not very helpful, unfortunately.

Andreas