From 8cff0c2d68aa711e4fac535582d45c1b9619f56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Fr=C3=B3es=20Franco?= Date: Fri, 15 May 2026 01:27:57 +0000 Subject: [PATCH] ci(release): add libc6-dev-arm64-cross for aarch64-gnu builds gcc-aarch64-linux-gnu ships the cross compiler and binutils only; linking glibc binaries also requires the target libc crt/dev files (Scrt1.o, crti.o), which live in libc6-dev-arm64-cross. Without it, the aarch64-unknown-linux-gnu build failed with: ld: cannot find Scrt1.o: No such file or directory ld: cannot find crti.o: No such file or directory Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitea/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 50f8c69..f8a67cf 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -24,7 +24,10 @@ jobs: apt: "" rustflags: "" - target: aarch64-unknown-linux-gnu - apt: "gcc-aarch64-linux-gnu" + # gcc-aarch64-linux-gnu ships the cross compiler/binutils + # but no target libc; libc6-dev-arm64-cross adds Scrt1.o, + # crti.o, and friends needed at link time. + apt: "gcc-aarch64-linux-gnu libc6-dev-arm64-cross" rustflags: "" - target: x86_64-unknown-linux-musl apt: "musl-tools"