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.

Compiler/TMS320F28379D: "segmentation fault while processing function (unknown or file scope) file (unknown) line 0"



I attempted to build with CCS 10.0.0.00010 (since you mention that this issue is not present in 10 anymore) but I run into build issues that I have not yet run into:

"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_pat="C:/ti/ccs1000/xdctools_3_61_00_16_core/packages" --include_path="C:/Users/userName/git/codeCCS10/code_base/emb_code/Include" --include_path="C:/Users/userName/git/codeCCS10/code_base/emb_code" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --advice:performance=all --defne=_TMS320F2837xD_ --define=_CPU1_ -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="Source/System/HardwareSerial/SerialBuffer.d_raw" --obj_directory="Source/System/HardwareSerial" "../Source/System/HardwareSerial/SerialBuffer.cpp"

INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\ac2000.exe experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0

This is caused by a defect in the TI C/C++ Parser.
TI Customer Support may be able to suggest a workaround to avoid this.

  • John Chaparro said:

    INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\ac2000.exe experienced a segmentation fault
    while processing function (unknown or file scope) file (unknown) line 0

    This is caused by a defect in the TI C/C++ Parser.
    TI Customer Support may be able to suggest a workaround to avoid this.

    This is an unrelated issue with the compiler. I am going to split this post off to a different thread and bring it to the attention of our compiler experts

    Thanks

    ki

  • John Chaparro said:
    INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\ac2000.exe experienced a segmentation fault
    while processing function (unknown or file scope) file (unknown) line 0

    Unfortunately, you have experienced a known problem in the compiler.  It is fixed in version 20.2.1.LTS.  For more details, please this forum post.

    Thanks and regards,

    -George