From a660b9810fb0b8c0cf0eefd257e978945ce7b25d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Desbiens?= Date: Mon, 31 Aug 2026 15:29:24 -0400 Subject: [PATCH] Pinned the RISC-V toolchain to xPack GCC 14.3.0 The PolarFire job pinned xPack riscv-none-elf-gcc 14.2.0-1 while the ARM job now pins Arm GNU Toolchain 14.3.Rel1, so the two cross-compilers in this pipeline were a minor release apart for no reason. xPack published v14.3.0-1 on 2025-10-23; moving to it puts both targets on GCC 14.3 and keeps the AGENTS.md GCC 14 requirement satisfied. The published SHA256 is updated alongside the version. The existing checksum verification is kept as it was: this job already verified its download, which is why it needed no other hardening. Verified locally with xPack GNU RISC-V Embedded GCC 14.3.0: - Clean build of polarfire_icicle_demo.elf. - Headless Renode suite passes, exit 0, with all startup self-tests green: _sbrk bounds, HWTimer catch-up clamp, PLIC Hart 1 configuration, the queue round-trip, ThreadX ticks, the LM75 alarm, and the PLIC RX interrupt. The linker warning about a LOAD segment with RWX permissions is unchanged by this bump. It is emitted identically by 14.2.0 in the current pipeline, so it predates this change and is left for separate treatment rather than folded in here. Assisted-by: Claude Opus 5 (1M context) --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6375aa..602cf2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,13 +32,13 @@ jobs: sudo apt-get update sudo apt-get install -y cmake ninja-build - - name: Install Pinned xPack RISC-V GCC 14.2.0 + - name: Install Pinned xPack RISC-V GCC 14.3.0 env: - XPACK_TARBALL: xpack-riscv-none-elf-gcc-14.2.0-1-linux-x64.tar.gz - XPACK_SHA256: a5eb707595e1424ff4127cc8b21b8b8cb076e6f0070b670485e72b9f74806200 + XPACK_TARBALL: xpack-riscv-none-elf-gcc-14.3.0-1-linux-x64.tar.gz + XPACK_SHA256: be1768ef22789f4d9c41384e0261996f51724b84c2efa940d975dd7d9938c726 run: | set -euo pipefail - wget -q "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-1/${XPACK_TARBALL}" + wget -q "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.3.0-1/${XPACK_TARBALL}" echo "${XPACK_SHA256} ${XPACK_TARBALL}" | sha256sum --check --strict mkdir -p $HOME/riscv-gcc tar -xzf "${XPACK_TARBALL}" -C $HOME/riscv-gcc --strip-components=1