mno pulp hwloop error
#1
I went through the pulpissimo setup and when i run the hello rt test.

It gives me an error saying the following:

riscv32-unknown-elf-gcc error: unrecognized command line option -mno-pulp-hwloop.

I ran the following to setup the compiler.

Code:
./configure --prefix=/opt/riscv --with-arch=rv32imfcxpulpv3 --with-abi=ilp32 --enable-multilib
make
Reply
#2
Are you using a GCC for RISC-V with support for the PULP extensions?
Visit pulp-platform.org and follow us on twitter @pulp_platform
Reply
#3
(10-25-2024, 04:33 PM)kgf Wrote: Are you using a GCC for RISC-V with support for the PULP extensions

I followed the instructions on the following site:
GitHub - pulp-platform/riscv-gnu-toolchain: GNU toolchain for PULP and RISC-V

I've just done a 'make clean' and 'make all' in the directory to double check everything is fine.
Reply
#4
Could it be that there is a different GCC in the path.. it looks like the correct GCC for PULP is not being used for the compilation that could explain the error..
Visit pulp-platform.org and follow us on twitter @pulp_platform
Reply
#5
(10-25-2024, 06:45 PM)kgf Wrote: Could it be that there is a different GCC in the path.. it looks like the correct GCC for PULP is not being used for the compilation that could explain the error..

My bash has the following the correct "export PULP_RISCV_GCC_TOOLCHAIN "/opt/riscv/"

Then inside the /opt/riscv/bin I have all the riscv32-unknown-elf-gcc and cpp...Etc
Reply
#6
Resolved, I rebuilt the compiler and it resolved the issue.
Reply
#7
Thanks a lot for letting us know Smile
Visit pulp-platform.org and follow us on twitter @pulp_platform
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)