|
| 1 | +--- |
| 2 | +title: xPack GNU RISC-V Embedded GCC v14.2.0-2 released |
| 3 | + |
| 4 | +date: 2024-09-06 08:36:59 +0300 |
| 5 | + |
| 6 | +authors: ilg-ul |
| 7 | + |
| 8 | +# To be listed in the Releases page. |
| 9 | +tags: |
| 10 | + - releases |
| 11 | + |
| 12 | +# ----- Custom properties ----------------------------------------------------- |
| 13 | + |
| 14 | +gcc_version: "14.2.0" |
| 15 | +binutils_version: "2.43.1" |
| 16 | +gdb_version: "15.1" |
| 17 | +newlib_version: "4.4.0" |
| 18 | +python_version: "3.12.2" |
| 19 | + |
| 20 | +version: "14.2.0-2" |
| 21 | +npm_subversion: "1" |
| 22 | + |
| 23 | +download_url: https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/tag/v14.2.0-2/ |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +Version **14.2.0-2** is a maintenance release; it updates to the latest binutils 2.43.1 (to add support for the `Zcmp` extension) and the Debian multi-libs. |
| 28 | + |
| 29 | +<!-- truncate --> |
| 30 | + |
| 31 | +import Image from '@theme/IdealImage'; |
| 32 | +import CodeBlock from '@theme/CodeBlock'; |
| 33 | + |
| 34 | +import Prerequisites from './_common/_prerequisites-glib-2.27.mdx' |
| 35 | +import DeprecationNotices from './_common/_deprecation-notices-glib-2.27.mdx' |
| 36 | +import DownloadAnalytics from './_common/_download-analytics.mdx' |
| 37 | + |
| 38 | +The [xPack GNU RISC-V Embedded GCC](/) |
| 39 | +is a standalone cross-platform binary distribution of |
| 40 | +[GNU GCC](https://gcc.gnu.org/releases.html) for embedded RISC-V. |
| 41 | + |
| 42 | +There are separate binaries for **Windows** (x64), |
| 43 | +**macOS** (x64 and arm64) |
| 44 | +and **GNU/Linux** (x64, arm64 and arm). |
| 45 | + |
| 46 | +:::note Raspberry Pi |
| 47 | + |
| 48 | +The main targets for the GNU/Linux Arm |
| 49 | +binaries are the **Raspberry Pi** class devices (armv7l and aarch64; |
| 50 | +armv6 is not supported). |
| 51 | + |
| 52 | +::: |
| 53 | + |
| 54 | +## Download |
| 55 | + |
| 56 | +The binary files can be downloaded automatically with **xpm** or manually |
| 57 | +from <a href={frontMatter.download_url}>GitHub Releases</a>. |
| 58 | + |
| 59 | +<Prerequisites/> |
| 60 | + |
| 61 | +## Install |
| 62 | + |
| 63 | +The full details of installing the **xPack GNU RISC-V Embedded GCC** |
| 64 | +on various platforms are presented in the [Install Guide](/docs/install/). |
| 65 | + |
| 66 | +## Compliance |
| 67 | + |
| 68 | +The xPack GNU RISC-V Embedded GCC uses the official sources, |
| 69 | +with no functional changes: |
| 70 | + |
| 71 | +- GCC {frontMatter.gcc_version} |
| 72 | +- binutils {frontMatter.binutils_version} |
| 73 | +- newlib {frontMatter.newlib_version} |
| 74 | +- gdb {frontMatter.gdb_version} |
| 75 | +- python {frontMatter.python_version} |
| 76 | + |
| 77 | +## Supported libraries |
| 78 | + |
| 79 | +The default architecture/ABI pair is `rv32imac/ilp32`. |
| 80 | + |
| 81 | +The other supported libraries are: |
| 82 | + |
| 83 | +```console |
| 84 | +$ riscv-none-elf-gcc -print-multi-lib |
| 85 | +.; |
| 86 | +rv32e/ilp32e;@march=rv32e@mabi=ilp32e |
| 87 | +rv32ea/ilp32e;@march=rv32ea@mabi=ilp32e |
| 88 | +rv32em/ilp32e;@march=rv32em@mabi=ilp32e |
| 89 | +rv32eac/ilp32e;@march=rv32eac@mabi=ilp32e |
| 90 | +rv32emac/ilp32e;@march=rv32emac@mabi=ilp32e |
| 91 | +rv32i/ilp32;@march=rv32i@mabi=ilp32 |
| 92 | +rv32ia/ilp32;@march=rv32ia@mabi=ilp32 |
| 93 | +rv32im/ilp32;@march=rv32im@mabi=ilp32 |
| 94 | +rv32if_zicsr/ilp32f;@march=rv32if_zicsr@mabi=ilp32f |
| 95 | +rv32ifd_zicsr/ilp32d;@march=rv32ifd_zicsr@mabi=ilp32d |
| 96 | +rv32iaf_zicsr/ilp32f;@march=rv32iaf_zicsr@mabi=ilp32f |
| 97 | +rv32iafd_zicsr/ilp32d;@march=rv32iafd_zicsr@mabi=ilp32d |
| 98 | +rv32imf_zicsr/ilp32f;@march=rv32imf_zicsr@mabi=ilp32f |
| 99 | +rv32imfd_zicsr/ilp32d;@march=rv32imfd_zicsr@mabi=ilp32d |
| 100 | +rv32iac/ilp32;@march=rv32iac@mabi=ilp32 |
| 101 | +rv32imafc_zicsr/ilp32f;@march=rv32imafc_zicsr@mabi=ilp32f |
| 102 | +rv32imafdc_zicsr/ilp32d;@march=rv32imafdc_zicsr@mabi=ilp32d |
| 103 | +rv64i/lp64;@march=rv64i@mabi=lp64 |
| 104 | +rv64ia/lp64;@march=rv64ia@mabi=lp64 |
| 105 | +rv64im/lp64;@march=rv64im@mabi=lp64 |
| 106 | +rv64if_zicsr/lp64f;@march=rv64if_zicsr@mabi=lp64f |
| 107 | +rv64ifd_zicsr/lp64d;@march=rv64ifd_zicsr@mabi=lp64d |
| 108 | +rv64iaf_zicsr/lp64f;@march=rv64iaf_zicsr@mabi=lp64f |
| 109 | +rv64iafd_zicsr/lp64d;@march=rv64iafd_zicsr@mabi=lp64d |
| 110 | +rv64imf_zicsr/lp64f;@march=rv64imf_zicsr@mabi=lp64f |
| 111 | +rv64iac/lp64;@march=rv64iac@mabi=lp64 |
| 112 | +rv64imac/lp64;@march=rv64imac@mabi=lp64 |
| 113 | +rv64imafc_zicsr/lp64f;@march=rv64imafc_zicsr@mabi=lp64f |
| 114 | +rv64imafdc_zicsr/lp64d;@march=rv64imafdc_zicsr@mabi=lp64d |
| 115 | +``` |
| 116 | + |
| 117 | +:::note |
| 118 | + |
| 119 | +This list is inspired by the Debian `riscv64-unknown-elf-gcc` supported multi-libs. |
| 120 | + |
| 121 | +::: |
| 122 | + |
| 123 | +## Changes |
| 124 | + |
| 125 | +Compared to the upstream GNU release, there are no functional changes. |
| 126 | + |
| 127 | +## Bug fixes |
| 128 | + |
| 129 | +- none |
| 130 | + |
| 131 | +## Enhancements |
| 132 | + |
| 133 | +- none |
| 134 | + |
| 135 | +## Known problems |
| 136 | + |
| 137 | +- due to the large number of libraries, the archive is >500 MB. |
| 138 | + |
| 139 | +## Documentation |
| 140 | + |
| 141 | +The original GNU Arm Embedded GCC documentation is available from the |
| 142 | +[GCC online documentation](https://gcc.gnu.org/onlinedocs/) web site. |
| 143 | + |
| 144 | +## Build |
| 145 | + |
| 146 | +The binaries for all supported platforms |
| 147 | +(Windows, macOS and GNU/Linux) were built using the |
| 148 | +[xPack Build Box (XBB)](https://xpack.github.io/xbb/), a set |
| 149 | +of build environments based on slightly older distributions, that should be |
| 150 | +compatible with most recent systems. |
| 151 | + |
| 152 | +For the prerequisites and more details on the build procedure, please see the |
| 153 | +[Maintainer Info](/docs/maintainer/) page. |
| 154 | + |
| 155 | +## CI tests |
| 156 | + |
| 157 | +Before publishing, a set of simple tests were performed on an exhaustive |
| 158 | +set of platforms. The results are available from: |
| 159 | + |
| 160 | +- [GitHub Actions](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/actions/) |
| 161 | +- [Travis CI](https://app.travis-ci.com/github/xpack-dev-tools/riscv-none-elf-gcc-xpack/builds/) |
| 162 | + |
| 163 | +## Tests |
| 164 | + |
| 165 | +The binaries were tested on a variety of platforms, |
| 166 | +but mainly to check the integrity of the |
| 167 | +build, not the compiler functionality. |
| 168 | + |
| 169 | +## Checksums |
| 170 | + |
| 171 | +The SHA-256 hashes for the files are: |
| 172 | + |
| 173 | +```txt |
| 174 | +7a0e1ab5be053761cab354feade92e803e47eea841585a1df127820dcf33bea4 |
| 175 | +xpack-riscv-none-elf-gcc-14.2.0-2-darwin-arm64.tar.gz |
| 176 | +
|
| 177 | +f6930ecadda7a5b37c8557534e2d7a44da5601129fafa17e4e36020f778c9e1a |
| 178 | +xpack-riscv-none-elf-gcc-14.2.0-2-darwin-x64.tar.gz |
| 179 | +
|
| 180 | +16a797c25e3bc1aeb056472b357731cae38378fe52bde75b11abf23eecfd14b9 |
| 181 | +xpack-riscv-none-elf-gcc-14.2.0-2-linux-arm.tar.gz |
| 182 | +
|
| 183 | +e1348fdd679131510f610a9aa42ec4e5d6bceb40115df4b57a44cb7186a7caa7 |
| 184 | +xpack-riscv-none-elf-gcc-14.2.0-2-linux-arm64.tar.gz |
| 185 | +
|
| 186 | +0ab93937aab882c3a69f63eff4fe8fc6e360e4a23776004fa116ad692e699d23 |
| 187 | +xpack-riscv-none-elf-gcc-14.2.0-2-linux-x64.tar.gz |
| 188 | +
|
| 189 | +30f44bbea58954c1679528a0ebba6cc117671f78412267f85dcee4cdc029c477 |
| 190 | +xpack-riscv-none-elf-gcc-14.2.0-2-win32-x64.zip |
| 191 | +
|
| 192 | +``` |
| 193 | + |
| 194 | +<DeprecationNotices/> |
| 195 | + |
| 196 | +<DownloadAnalytics version={frontMatter.version}/> |
0 commit comments