about summary refs log tree commit diff
path: root/src/ci/docker/scripts
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2024-08-13 11:41:37 +0800
committerWANG Rui <wangrui@loongson.cn>2024-08-13 11:41:37 +0800
commitcebae30f7229007ecad8dfa47222d889541d7902 (patch)
tree773c11364527e6cd1a0ef616a2320a73f2ac625a /src/ci/docker/scripts
parentdb5704ffca0e4f7a55f49160c336d43be7c104e2 (diff)
downloadrust-cebae30f7229007ecad8dfa47222d889541d7902.tar.gz
rust-cebae30f7229007ecad8dfa47222d889541d7902.zip
Update `crosstool-ng` for loongarch64
The current cross-compilation toolchain for the LoongArch64 target
consists of GCC 13.2.0, Binutils 2.40, and Glibc 2.36. However, Binutils
2.40 has known issues that in broken binaries without any error reports:

- https://github.com/rust-lang/rust/issues/121289
- https://github.com/cross-rs/cross/issues/1538

This patch upgrades the cross-compilation toolchain for the LoongArch64 target
to resolve these issues.

- GCC: 13.2.0 -> 14.2.0
- Binutils: 2.40 -> 2.42

The new binaries remain compatible with the existing GCC 13.2.0/Glibc 2.36
distribution, and no issues have been identified.
Diffstat (limited to 'src/ci/docker/scripts')
-rw-r--r--src/ci/docker/scripts/crosstool-ng-git.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/docker/scripts/crosstool-ng-git.sh b/src/ci/docker/scripts/crosstool-ng-git.sh
index 2a10e262df8..e86810ae613 100644
--- a/src/ci/docker/scripts/crosstool-ng-git.sh
+++ b/src/ci/docker/scripts/crosstool-ng-git.sh
@@ -2,7 +2,7 @@
 set -ex
 
 URL=https://github.com/crosstool-ng/crosstool-ng
-REV=c64500d94be92ed1bcdfdef911048a14e216a5e1
+REV=ed12fa68402f58e171a6f79500f73f4781fdc9e5
 
 mkdir crosstool-ng
 cd crosstool-ng