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: Build Error: defect in TI EABI C/C++ Parser

Part Number: TMS320F28379D

Tool/software: TI C/C++ Compiler

Hello - 

I ran into an error when trying to build in Code Composer Studio version 10.0.0. My compiler is the c2000_20.2.0.LTS. I am working on a Linux CentOS 7 machine. The exact error that I get is: 

And the build console message is: 


**** Build of configuration Debug for project ****

/home/yoo/ti/ccs1000/ccs/utils/bin/gmake -k -j 8 all -O

Building file: "../src/ti/F2837xD_Adc.c"
Invoking: C2000 Compiler
"/home/yoo/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_path="/home/yoo/workspace_v10/DEU" --include_path="/home/yoo/workspace_v10/DEU/include/ti/FlashAPI" --include_path="/home/yoo/workspace_v10/DEU/include/ti/FlashAPI/Constants" --include_path="/home/yoo/workspace_v10/DEU/include/ti" --include_path="/home/yoo/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --include_path="/home/yoo/workspace_v10/DEU/include" --define=CPU1 -g --preproc_with_comment --preproc_with_compile --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --obj_directory="src/ti" "../src/ti/F2837xD_Adc.c"

>> Compilation failure
src/ti/subdir_rules.mk:7: recipe for target 'src/ti/F2837xD_Adc.obj' failed

INTERNAL ERROR: /home/yoo/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/acia2000 experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0

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

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue".

We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.
Include the .pp file created by option --preproc_with_comment

gmake: *** [src/ti/F2837xD_Adc.obj] Error 1

INTERNAL ERROR: /home/yoo/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/acia2000 experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0

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

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue".

We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.
Include the .pp file created by option --preproc_with_comment

gmake: *** [src/ti/F2837xD_TempSensorConv.obj] Error 1
Building file: "../src/ti/F2837xD_TempSensorConv.c"
Invoking: C2000 Compiler
"/home/yoo/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_path="/home/yoo/workspace_v10/DEU" --include_path="/home/yoo/workspace_v10/DEU/include/ti/FlashAPI" --include_path="/home/yoo/workspace_v10/DEU/include/ti/FlashAPI/Constants" --include_path="/home/yoo/workspace_v10/DEU/include/ti" --include_path="/home/yoo/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --include_path="/home/yoo/workspace_v10/DEU/include" --define=CPU1 -g --preproc_with_comment --preproc_with_compile --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --obj_directory="src/ti" "../src/ti/F2837xD_TempSensorConv.c"

>> Compilation failure
src/ti/subdir_rules.mk:28: recipe for target 'src/ti/F2837xD

_TempSensorConv.obj' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

I have attached the preprocessed files for the two files that are causing this error, both of which are TI files for the F2837xD device family. I have checked to see if my compiler version needs to be upgraded, per the message in the build console, but I have the most updated version of the compiler and CCS. I've been troubleshooting this error for a while, and also reached out to TI Customer Support, who recommended I bring my issue to this forum. Please advise what can be done to fix this defect. Thanks very much.

F2837xD_Adc.pp.txtF2837xD_TempSensorConv.pp.txt

  • Unfortunately, you have experienced a known issue. It is fixed in version 20.2.1.LTS.  For more details, please see this forum post.

    Thanks and regards,

    -George

  • Hi George, 

    Thanks for your quick response.

    When I go to install the new compiler in the CCS menu, the only correct 20.2.1 version I see is for MSP430 compilers. There are no C2000 compilers, only C2800 and C6000 compilers. I'm not sure if this is a problem and whether the compilers I would update from this menu would just end up being incompatible with my F28379D device. So instead I chose to download from the website. 

    Once I download the correct version from http://www.ti.com/tool/download/C2000-CGT-19, where do I place the file? And what steps do I need to take to get that compiler up and running?

    Thank you, 

    Sophia

  • Just a follow up - I downloaded the updated 20.2.1 version from the website, saved it in the following path:  /home/yoo/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS, and then deleted the older 20.2.0 version in that same directory, closed CCS, reopened, and rebuilt to get no errors! What a great moment. Now I'm getting a bunch of warning messages: #10247-D creating output section ".bss" without a SECTIONS specification. So the journey continues. But yes, thanks for the help with solving the other problem.