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: c2000_20.2.0.LTS



Tool/software: TI C/C++ Compiler

Hello,

I am currently doing TMS320F2837xD Microcontroller Workshop. When trying to build my project for the lab 6 I get errors telling me that the compiler experienced a segmentation fault.
Can you help me ?

Here is the output I get:

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

"D:\\Logiciels\\ccs\\utils\\bin\\gmake" -k -j 12 all -O
 
Building file: "../F2837xD_Adc.c"
Invoking: C2000 Compiler
"D:/Logiciels/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="D:/natan/Documents/LAAS/Workshop/Labs/Lab6/cpu01" --include_path="D:/natan/Documents/LAAS/Workshop/Labs/F2837xD_headers/include" --include_path="D:/natan/Documents/LAAS/Workshop/Labs/Lab_common/include" --include_path="D:/Logiciels/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Adc.d_raw"  "../F2837xD_Adc.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'F2837xD_Adc.obj' failed
 
INTERNAL ERROR: D:\Logiciels\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.
 
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: *** [F2837xD_Adc.obj] Error 1
Building file: "../Adc.c"
Invoking: C2000 Compiler
"D:/Logiciels/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="D:/natan/Documents/LAAS/Workshop/Labs/Lab6/cpu01" --include_path="D:/natan/Documents/LAAS/Workshop/Labs/F2837xD_headers/include" --include_path="D:/natan/Documents/LAAS/Workshop/Labs/Lab_common/include" --include_path="D:/Logiciels/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="Adc.d_raw"  "../Adc.c"
Finished building: "../Adc.c"
 
gmake: Target 'all' not remade because of errors.

**** Build Finished ****