This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: CCS V7 Gmake crash

Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hi,

When building a project on CCS V7 the gmake.exe crashes and therefore it is impossible to fully build the project (please see picture below). The project builds ok on CCS V6 with the same Code Generation Tools.
If I use the gmake.exe from CSS V6 (copy the file to C:\CCStudio_V7\ccsv7\utils\bin) the project builds ok also in CCS V7.
When gmake crashes it does this while running the post_build.bat file. The strange thing is that gmake.exe is not crashing all the time.

Operating system: Windows 7, 32Bit
CCS V7.1.0.00016
CGT: V16.9.2.LTS

Best regards,

Patrick

  • I think we would need to be able to reproduce this before we can investigate the root cause of the crash. Does gmake crash if the post-build command is run from a command prompt also? If so, would you be able to share all the files used in the command (batch files and any input files) so we can try to reproduce it?

  • AartiG,

    The gmake.exe also crashes when I do a rebuild from cmd window (please see picture). How can I only do the post-build step from command prompt?

    I could possibly share the files but not within E2E. 

    Best regards,
    Patrick

  • Pruf said:
    I could possibly share the files but not within E2E. 

    Ideally if could zip up the entire project (including the post_build.bat and any other files required by the post-build step) that would help us greatly. 

    You can send it to me via private conversation. After accepting my friend request, you should be able to send me a private message.

  • I have sent you a private message.
  • Thank you for providing the files to reproduce this issue. I have been able to recreate the gmake crash by using your post-build command with any simple project.

    For the benefit of others following along, the crash seems to be triggered when the arguments passed to the batch file invoked in the post-build command include paths that contain spaces. For example, a post-build command like this:

    "C:/workspaces/ccsv710/dir with space/blinky/post_build.bat" "C:/CCStudio_v7.1.0.00015/ccsv7" "C:/Programs/Texas Instruments/ARM Code Generation Tools 16.9.2.LTS" "C:\workspaces\ccsv710\dir with space\blinky\Debug" "blinky" "C:/workspaces/ccsv710/dir with space/blinky"

    I have filed CCSIDE-3122 to track this issue. A workaround is to ensure that the project directory and tools install directories do not contain any whitespaces in the path.

  • This seems to be a gmake issue.  

    I was able to work-around it by changing the post-build step from "${PROJECT_ROOT}/post_build.bat ..." to "../post_build.bat ...".  

    Please let me know if this work-around works in your environment.

    Thanks,

    - Baltasar

  • Baltasar,

    Your workaround solution seems to work in our environment. We have checked it with one of our projects.

    Thanks and best regards,

    Patrick