openpiton
openpiton copied to clipboard
piton/ariane_build_tools.sh uses obsolete riscv toolchain
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.
Any progress on that as I am facing the same issue.
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.