You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2023/11/14 11:33:41 UTC

(nuttx) branch master updated: Documentation, tools: Bump xpack-riscv-none-elf-gcc to 12.3.0-2

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f15c73219 Documentation, tools: Bump xpack-riscv-none-elf-gcc to 12.3.0-2
5f15c73219 is described below

commit 5f15c732195efe556863c861aa1a3dd1fcfac9aa
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Tue Nov 14 17:24:40 2023 +0900

    Documentation, tools: Bump xpack-riscv-none-elf-gcc to 12.3.0-2
    
    Summary:
    - Upgraded to xpack-riscv-none-elf-gcc-12.3.0-2 to resolve symbol recognition
      issues in riscv-none-elf-gdb, as reported in
      https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/issues/22.
    
    Impact:
    - Expected to enhance toolchain stability with no negative side effects.
    
    Testing:
    - Verified with rv-virt:netnsh and rv-virt:netnsh64 configurations
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 Documentation/platforms/risc-v/esp32c3/index.rst | 4 ++--
 Documentation/platforms/risc-v/esp32c6/index.rst | 4 ++--
 tools/ci/cibuild.sh                              | 8 ++++----
 tools/ci/docker/linux/Dockerfile                 | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Documentation/platforms/risc-v/esp32c3/index.rst b/Documentation/platforms/risc-v/esp32c3/index.rst
index 9a18eec128..18c97ed5cc 100644
--- a/Documentation/platforms/risc-v/esp32c3/index.rst
+++ b/Documentation/platforms/risc-v/esp32c3/index.rst
@@ -39,7 +39,7 @@ check for the current compiler version being used. For instance:
    FROM nuttx-toolchain-base AS nuttx-toolchain-riscv
    # Download the latest RISCV GCC toolchain prebuilt by xPack
    RUN mkdir riscv-none-elf-gcc && \
-   curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-1/xpack-riscv-none-elf-gcc-12.3.0-1-linux-x64.tar.gz" \
+   curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-linux-x64.tar.gz" \
    | tar -C riscv-none-elf-gcc --strip-components 1 -xz
 
 It uses the xPack's prebuilt toolchain based on GCC 12.3.0.
@@ -57,7 +57,7 @@ Download and extract toolchain:
 
 .. code-block:: console
 
-   $ curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-1/xpack-riscv-none-elf-gcc-12.3.0-1-linux-x64.tar.gz" \
+   $ curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-linux-x64.tar.gz" \
    | tar -C /path/to/your/toolchain/riscv-none-elf-gcc --strip-components 1 -xz
 
 Add the toolchain to your `PATH`:
diff --git a/Documentation/platforms/risc-v/esp32c6/index.rst b/Documentation/platforms/risc-v/esp32c6/index.rst
index 07e8f3646a..f2c4aeeaf7 100644
--- a/Documentation/platforms/risc-v/esp32c6/index.rst
+++ b/Documentation/platforms/risc-v/esp32c6/index.rst
@@ -39,7 +39,7 @@ check for the current compiler version being used. For instance:
    FROM nuttx-toolchain-base AS nuttx-toolchain-riscv
    # Download the latest RISCV GCC toolchain prebuilt by xPack
    RUN mkdir riscv-none-elf-gcc && \
-   curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-1/xpack-riscv-none-elf-gcc-12.3.0-1-linux-x64.tar.gz" \
+   curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-linux-x64.tar.gz" \
    | tar -C riscv-none-elf-gcc --strip-components 1 -xz
 
 It uses the xPack's prebuilt toolchain based on GCC 12.3.0.
@@ -57,7 +57,7 @@ Download and extract toolchain:
 
 .. code-block:: console
 
-   $ curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-1/xpack-riscv-none-elf-gcc-12.3.0-1-linux-x64.tar.gz" \
+   $ curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-linux-x64.tar.gz" \
    | tar -C /path/to/your/toolchain/riscv-none-elf-gcc --strip-components 1 -xz
 
 Add the toolchain to your `PATH`:
diff --git a/tools/ci/cibuild.sh b/tools/ci/cibuild.sh
index a53b45cafa..978ec02ed0 100755
--- a/tools/ci/cibuild.sh
+++ b/tools/ci/cibuild.sh
@@ -337,10 +337,10 @@ function riscv-gcc-toolchain {
         ;;
     esac
     cd "${tools}"
-    wget --quiet https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-1/xpack-riscv-none-elf-gcc-12.3.0-1-${flavor}.tar.gz
-    tar zxf xpack-riscv-none-elf-gcc-12.3.0-1-${flavor}.tar.gz
-    mv xpack-riscv-none-elf-gcc-12.3.0-1 riscv-none-elf-gcc
-    rm xpack-riscv-none-elf-gcc-12.3.0-1-${flavor}.tar.gz
+    wget --quiet https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-${flavor}.tar.gz
+    tar zxf xpack-riscv-none-elf-gcc-12.3.0-2-${flavor}.tar.gz
+    mv xpack-riscv-none-elf-gcc-12.3.0-2 riscv-none-elf-gcc
+    rm xpack-riscv-none-elf-gcc-12.3.0-2-${flavor}.tar.gz
   fi
 
   command riscv-none-elf-gcc --version
diff --git a/tools/ci/docker/linux/Dockerfile b/tools/ci/docker/linux/Dockerfile
index 6ce79dbaf9..a0e371477b 100644
--- a/tools/ci/docker/linux/Dockerfile
+++ b/tools/ci/docker/linux/Dockerfile
@@ -170,7 +170,7 @@ RUN cd /tools/renesas-tools/build/gcc && \
 FROM nuttx-toolchain-base AS nuttx-toolchain-riscv
 # Download the latest RISCV GCC toolchain prebuilt by xPack
 RUN mkdir riscv-none-elf-gcc && \
-  curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-1/xpack-riscv-none-elf-gcc-12.3.0-1-linux-x64.tar.gz" \
+  curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-linux-x64.tar.gz" \
   | tar -C riscv-none-elf-gcc --strip-components 1 -xz
 
 ###############################################################################