openpiton icon indicating copy to clipboard operation
openpiton copied to clipboard

piton/ariane_build_tools.sh uses obsolete riscv toolchain

Open mithro opened this issue 6 years ago • 2 comments

The piton/ariane_build_tools.sh script uses the following repositories to build a toolchain;

Submodule 'riscv-binutils-gdb' (https://github.com/riscv/riscv-binutils-gdb.git) registered for path 'riscv-binutils-gdb'
Submodule 'riscv-dejagnu' (https://github.com/riscv/riscv-dejagnu.git) registered for path 'riscv-dejagnu'
Submodule 'riscv-gcc' (https://github.com/riscv/riscv-gcc.git) registered for path 'riscv-gcc'
Submodule 'riscv-glibc' (https://github.com/riscv/riscv-glibc.git) registered for path 'riscv-glibc'
Submodule 'riscv-newlib' (https://github.com/riscv/riscv-newlib.git) registered for path 'riscv-newlib'
Submodule 'riscv-qemu' (git://github.com/riscv/riscv-qemu.git) registered for path 'riscv-qemu'

Support for RISC-V has been merged into upstream projects and you should be using upstream binutils and gcc repositories. I believe that qemu has also been merged upstream too.

mithro avatar Jun 13 '19 11:06 mithro

Any progress on that as I am facing the same issue.

BasitSajjad avatar Jan 06 '23 19:01 BasitSajjad

Currently I comment out the execution of the script and use https://github.com/sifive/freedom-tools instead. You just need to set the RISCV env var to point to the toolchain installation.

tianrui-wei avatar Jan 16 '23 18:01 tianrui-wei