Article ID: 000074067 Content Type: Troubleshooting Last Reviewed: 12/31/2019

Why does the Nios® II build flow report Unable to determine program-size on Windows WSL?

Environment

  • Intel® Quartus® Prime Pro Edition
  • Nios® II Embedded Design Suite (EDS)
  • All

    BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    Due to a problem in the nios2-elf-stackreport utility in the Intel® Quartus® Prime Pro Edition software version 19.3, the nios2-elf-stackreport utility does
    not report the program size or the stack heap size.

    Resolution

    To work around this problem, edit the nios2-stackreport.pl wrapper to add missing .exe suffix in tool names.

    Modify file:
    /nios2eds/bin/nios2-stackreport.pl

    line 47: “nm” to “nm.exe”

    line 48: “size” to “size.exe”

    This problem is fixed beginning with the Intel® Quartus® Prime software version 19.4.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices