From 0d2e488655fc8be7afa370e8392e7d8b7e49f59e Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Wed, 4 Mar 2026 23:10:25 +0800 Subject: [PATCH] ci: loongarch64-linux: Bump binutils to 2.45 and gcc to 15.2 --- src/ci/docker/README.md | 8 ++++---- .../loongarch64-unknown-linux-gnu.defconfig | 4 ++-- .../loongarch64-unknown-linux-musl.defconfig | 4 ++-- src/doc/rustc/src/platform-support/loongarch-linux.md | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/ci/docker/README.md b/src/ci/docker/README.md index 59cea7aa79a5..b6d01528d8c3 100644 --- a/src/ci/docker/README.md +++ b/src/ci/docker/README.md @@ -261,9 +261,9 @@ For targets: `loongarch64-unknown-linux-gnu` - Target options > Bitness = 64-bit - Operating System > Target OS = linux - Operating System > Linux kernel version = 5.19.16 -- Binary utilities > Version of binutils = 2.42 +- Binary utilities > Version of binutils = 2.45 - C-library > glibc version = 2.36 -- C compiler > gcc version = 14.2.0 +- C compiler > gcc version = 15.2.0 - C compiler > C++ = ENABLE -- to cross compile LLVM ### `loongarch64-unknown-linux-musl.defconfig` @@ -277,9 +277,9 @@ For targets: `loongarch64-unknown-linux-musl` - Target options > Bitness = 64-bit - Operating System > Target OS = linux - Operating System > Linux kernel version = 5.19.16 -- Binary utilities > Version of binutils = 2.42 +- Binary utilities > Version of binutils = 2.45 - C-library > musl version = 1.2.5 -- C compiler > gcc version = 14.2.0 +- C compiler > gcc version = 15.2.0 - C compiler > C++ = ENABLE -- to cross compile LLVM ### `mips-linux-gnu.defconfig` diff --git a/src/ci/docker/host-x86_64/dist-loongarch64-linux/loongarch64-unknown-linux-gnu.defconfig b/src/ci/docker/host-x86_64/dist-loongarch64-linux/loongarch64-unknown-linux-gnu.defconfig index bb1d2d1f8038..9ff9791c0b2c 100644 --- a/src/ci/docker/host-x86_64/dist-loongarch64-linux/loongarch64-unknown-linux-gnu.defconfig +++ b/src/ci/docker/host-x86_64/dist-loongarch64-linux/loongarch64-unknown-linux-gnu.defconfig @@ -12,7 +12,7 @@ CT_TARGET_LDFLAGS="-mcmodel=medium" CT_KERNEL_LINUX=y CT_LINUX_V_5_19=y CT_GLIBC_V_2_36=y -CT_BINUTILS_V_2_42=y -CT_GCC_V_14=y +CT_BINUTILS_V_2_45=y +CT_GCC_V_15=y CT_CC_GCC_ENABLE_DEFAULT_PIE=y CT_CC_LANG_CXX=y diff --git a/src/ci/docker/host-x86_64/dist-loongarch64-musl/loongarch64-unknown-linux-musl.defconfig b/src/ci/docker/host-x86_64/dist-loongarch64-musl/loongarch64-unknown-linux-musl.defconfig index aa1696e131d4..8c1562744fb5 100644 --- a/src/ci/docker/host-x86_64/dist-loongarch64-musl/loongarch64-unknown-linux-musl.defconfig +++ b/src/ci/docker/host-x86_64/dist-loongarch64-musl/loongarch64-unknown-linux-musl.defconfig @@ -13,8 +13,8 @@ CT_KERNEL_LINUX=y CT_LINUX_V_5_19=y CT_LIBC_MUSL=y CT_MUSL_V_1_2_5=y -CT_BINUTILS_V_2_42=y -CT_GCC_V_14=y +CT_BINUTILS_V_2_45=y +CT_GCC_V_15=y CT_CC_GCC_ENABLE_DEFAULT_PIE=y CT_CC_LANG_CXX=y CT_GETTEXT_NEEDED=y diff --git a/src/doc/rustc/src/platform-support/loongarch-linux.md b/src/doc/rustc/src/platform-support/loongarch-linux.md index a923218282c1..7817ce6138a0 100644 --- a/src/doc/rustc/src/platform-support/loongarch-linux.md +++ b/src/doc/rustc/src/platform-support/loongarch-linux.md @@ -44,8 +44,8 @@ The targets require a reasonably up-to-date LoongArch toolchain on the host. Currently the following components are used by the Rust CI to build the target, and the versions can be seen as the minimum requirement: -* GNU Binutils 2.42 -* GCC 14.x +* GNU Binutils 2.45 +* GCC 15.x * glibc 2.36 * linux-headers 5.19