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.