Centos (and RHEL) provide old GNU tools versions that may be too old to build a RISC-V toolchain. There is an alternate toolset provided that includes current versions of the GNU tools. This is the devtoolset p
def riscv_none_elf_toolchain(name, version = "13.2.1", **kwargs): """ Create an riscv-none-elf toolchain with the given configuration. Args: name: The name of the toolchain. version: The version of the gcc toolchain. **kwargs: same as toolchains_riscv_gnu """ _riscv_gnu_toolch...