drichmond / RISC-V-On-PYNQ

RISC-V Integration for PYNQ
Other
165 stars 57 forks source link

Issue on Notebook 3-Compiling-RISC-V-GCC-Toolchain - #24

Open ssamanez opened 5 months ago

ssamanez commented 5 months ago

Hi,

When I run the configuration part, I don't get any error and I get the configuration successful message. Now the problem is when running the compilation part.

`build_log = open("build.log","w") build_err = open("build.err","w")
ret = run(["make"], cwd="/home/xilinx/riscv-gnu-toolchain/", stdout=build_log, stderr=build_err) build_log.close() build_err.close()

if(ret.returncode != 0): print("There was an error while compiling the RISCV Toolchain. See the build.err and build.log file") else: print("Compile successful!")`

The error log that appears is the following: "Makefile:623: recipe for target 'stamps/build-gcc-newlib-stage1' failed". I am attaching the two log files. Is there any solution for this problem ?

build.log cnfig.log

Thanks in advance