pulp-platform / ri5cy_gnu_toolchain

23 stars 23 forks source link

Compile error #31

Open noureddine-as opened 5 years ago

noureddine-as commented 5 years ago

I'm trying to build this toolchain for Pulpino, unfortunately I get the following problem on several commits. Is there any combination of Pulpino / ri5cy_gnu_toolchain that works?

Here I'm using Ubuntu 16.04.

Thanks.

mv -f .deps/compress.Tpo .deps/compress.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd -I. -I/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd -I/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd/../include  -DHAVE_riscv_elf32_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec  -DBINDIR='"/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/install/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT verilog.lo -MD -MP -MF .deps/verilog.Tpo -c -o verilog.lo /media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd/verilog.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd -I. -I/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd -I/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd/../include -DHAVE_riscv_elf32_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec -DHAVE_plugin_vec -DBINDIR=\"/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/install/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT verilog.lo -MD -MP -MF .deps/verilog.Tpo -c /media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/src/binutils/bfd/verilog.c -o verilog.o
mv -f .deps/verilog.Tpo .deps/verilog.Plo
make[6]: *** No rule to make target 'elfnn-riscv.c', needed by 'elf32-riscv.c'.  Stop.
make[6]: Leaving directory '/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/build-binutils-newlib/bfd'
Makefile:1649: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/build-binutils-newlib/bfd'
Makefile:1134: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/build-binutils-newlib/bfd'
Makefile:2599: recipe for target 'all-bfd' failed
make[3]: *** [all-bfd] Error 2
make[3]: Leaving directory '/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/build-binutils-newlib'
Makefile:831: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build/build-binutils-newlib'
Makefile:194: recipe for target 'stamps/build-binutils-newlib' failed
make[1]: *** [stamps/build-binutils-newlib] Error 2
make[1]: Leaving directory '/media/sf_SHARED_FOLDER/ri5cy_gnu_toolchain/build'
Makefile:9: recipe for target 'build' failed
make: *** [build] Error 2
cuixuyang615 commented 2 years ago

Hi, I'm also using the Ubuntu16.04 LTS and have met the same problem as yours. May I ask if you have solved it?