Due to a problem in the Intel® Quartus® Prime Pro Edition Software version 22.2, this problem may be seen in RiscFree* IDE for Intel® FPGAs when building the Nios® V processor software.
The error descriptions are shown as followed
make: *** [Makefile:91: all] Error 2
make[1]: *** [CMakeFiles/Makefile2:156: CMakeFiles/niosv-stack-report.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/niosv-stack-report.dir/build.make:73: app.elf.stack_report] Error 127
The niosv-stack-report utility is only present in Intel® Quartus® Prime Pro Edition Software. The error message above would occur when building the application if,
- RiscFree* IDE for Intel® FPGAs is installed as a standalone development tool with the Intel® Quartus® Prime Programmer
- RiscFree* IDE for Intel® FPGAs is not launched from the Nios® V Command Shell
To work around this problem in the Intel® Quartus® Prime Pro Edition Software version 22.2, do these in any order:
- You may ignore this error and proceed as usual. The necessary software build files (such as .elf file and .objcopy file) will be created and are not affected by this error
- Launch the RiscFree* IDE for Intel® FPGAs from the Nios® V Command Shell
This problem is fixed starting with the Intel® Quartus® Prime Pro Edition Software version 22.3.