lowRISC/lowrisc-chip

Error building GCC for RISC-V

Opened this issue · 1 comments

I have follow the instructions by lowrisc step by step starting from "downloading the lowRISC chip repository" section..and yet i have encountered this error..

rrm cpp.pod gcc.pod fsf-funding.pod gfdl.pod
make[3]: Leaving directory '/home/aaron/low/lowrisc-chip/riscv-tools/riscv-gcc/build/build-gcc-linux-stage2/gcc'
make[2]: *** [Makefile:5284: all-gcc] Error 2
make[2]: Leaving directory '/home/aaron/low/lowrisc-chip/riscv-tools/riscv-gcc/build/build-gcc-linux-stage2'
make[1]: *** [Makefile:890: all] Error 2
make[1]: Leaving directory '/home/aaron/low/lowrisc-chip/riscv-tools/riscv-gcc/build/build-gcc-linux-stage2'
make: *** [Makefile:140: build-gcc-linux-stage2] Error 2

I have tried to use sudo su after the error and reran make linux again to give permission to write..and yet it still fail. I found out a lot of people have been facing this error and i couldnt find the solution for them. So how do i fix this?

Might be worth noting this:

This repository is not maintained for some while. It would be possible to get it going again, but you might prefer this one which is more up to date and supports symmetric multi-processing:

https://github.com/eugene-tarassov/vivado-risc-v.git