Skip to content

Commit 19d9ce7

Browse files
committed
Auto merge of rust-lang#129048 - heiher:update-crosstool-loongarch64, r=<try>
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: - rust-lang#121289 - cross-rs/cross#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. try-job: dist-loongarch64-linux
2 parents fbce03b + cebae30 commit 19d9ce7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/ci/docker/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ For targets: `loongarch64-unknown-linux-gnu`
266266
- Target options > Bitness = 64-bit
267267
- Operating System > Target OS = linux
268268
- Operating System > Linux kernel version = 5.19.16
269-
- Binary utilities > Version of binutils = 2.40
269+
- Binary utilities > Version of binutils = 2.42
270270
- C-library > glibc version = 2.36
271-
- C compiler > gcc version = 13.2.0
271+
- C compiler > gcc version = 14.2.0
272272
- C compiler > C++ = ENABLE -- to cross compile LLVM
273273
274274
### `loongarch64-linux-musl.defconfig`
@@ -282,9 +282,9 @@ For targets: `loongarch64-unknown-linux-musl`
282282
- Target options > Bitness = 64-bit
283283
- Operating System > Target OS = linux
284284
- Operating System > Linux kernel version = 5.19.16
285-
- Binary utilities > Version of binutils = 2.41
285+
- Binary utilities > Version of binutils = 2.42
286286
- C-library > musl version = 1.2.5
287-
- C compiler > gcc version = 13.2.0
287+
- C compiler > gcc version = 14.2.0
288288
- C compiler > C++ = ENABLE -- to cross compile LLVM
289289
290290
### `mips-linux-gnu.defconfig`

src/ci/docker/host-x86_64/dist-loongarch64-linux/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM ubuntu:22.04
33
COPY scripts/cross-apt-packages.sh /scripts/
44
RUN sh /scripts/cross-apt-packages.sh
55

6-
COPY scripts/crosstool-ng.sh /scripts/
7-
RUN sh /scripts/crosstool-ng.sh
6+
COPY scripts/crosstool-ng-git.sh /scripts/
7+
RUN sh /scripts/crosstool-ng-git.sh
88

99
COPY scripts/rustbuild-setup.sh /scripts/
1010
RUN sh /scripts/rustbuild-setup.sh

src/ci/docker/scripts/crosstool-ng-git.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -ex
33

44
URL=https://github.com/crosstool-ng/crosstool-ng
5-
REV=c64500d94be92ed1bcdfdef911048a14e216a5e1
5+
REV=ed12fa68402f58e171a6f79500f73f4781fdc9e5
66

77
mkdir crosstool-ng
88
cd crosstool-ng

0 commit comments

Comments
 (0)