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.

CGTools 7.4.x - segmentation fault when unrecognized characters are used in C6X_C_OPTION

Team,

Some feedback from customer:

a) The below compiles ok (even if some characters are not recognized):
C:\TI\ccsv5\tools\compiler\c6000_7.4.1\bin>cl6x.exe hello.c --abi=eabi --gcc -I="..\"

- while this one generates a segmentation error (probably because of the unrecognized " character):
C:\TI\ccsv5\tools\compiler\c6000_7.4.1\bin> set C6X_C_OPTION=--abi=eabi --gcc -I="..\"
C:\TI\ccsv5\tools\compiler\c6000_7.4.1\bin>cl6x.exe hello.c

           INTERNAL ERROR> cl6x.e experienced a segmentation fault while processing

b) Also there seems to be a typo in SPRU187 page 39.
At section 2.4.1 for windows the ";" does not seem to be needed.
    set C6X_C_OPTION= --gcc ;--include_path=../include
    C:\TI\ccsv5\tools\compiler\c6000_7.4.1\bin>cl6x.exe hello.c
Does not work but removing the ";" does work.

Anthony

  • Anthony,

    I can't seem to reproduce the segmentation fault error with 7.4.1. Are you able to reproduce it?

    I will file a bug report for the typo in SPRU187.

  • Hi Aarti,

    Yes I am able to reproduce it on CGTools 7.4.1 (under win xp sp3 and CCS 5.3 installation) using the 2 lines I wrote before.

    Customer discovered it CGTools 7.4.2 but I see the same on CGTools 7.4.1.

    Anthony

  • Anthony,

    Sorry about the delayed reply. I managed to reproduce the first issue and have submitted bugs for both. The tracking #s are SDSCM00047403 (for seg fault) and SDSCM00047405 (doc bug).