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: Internal compiler error

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Hello,
I have tried to compile the example 2837x_vcu2_rfft_512 from the C2000 ware, but I got an internal compiler error (see log.txt).



What is the reason for this error?

Best regards
Ralf

**** Build of configuration RAM for project 2837x_vcu2_rfft_512 ****

"C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k all 
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_Gpio.c"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_PieVect.c"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
"C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_SysCtrl.c", line 836 (col. 47): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
 
Building file: "C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common/examples_setup.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="examples_setup.d_raw"  "C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common/examples_setup.c"
Finished building: "C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common/examples_setup.c"
 
Building file: "../main.c"
Invoking: C2000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.6.LTS/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/vcu2" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/include/common" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f2837xd/headers/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/libraries/dsp/VCU/c28/examples/common" --define=RAM --define=CPU1 -g --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"
 
>> Compilation failure
subdir_rules.mk:72: recipe for target 'main.obj' failed
 
INTERNAL ERROR: C:\ti\ccs920\ccs\tools\compiler\ti-cgt-c2000_18.12.6.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: *** [main.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Ralf,

    Please upgrade to the latest C2000Ware version. In that, this example builds correctly with the Compiler 18.12.4.LTS. However, it throws an error with the latest compiler (v20.2.1.LTS), but this is something that should be identified and addressed before the next C2000Ware release.

    Thanks,

    Sira