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/EK-TM4C1294XL: gmake errors

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: TM4C1294NCPDT

Tool/software: TI C/C++ Compiler

I tried running someone else's project code but I keep getting errors and the error said to ask here because it is an issue with the compiler


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

"C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

Building file: "../USB/usb_structs.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="USB/usb_structs.d_raw" --obj_directory="USB" "../USB/usb_structs.c"
USB/subdir_rules.mk:9: recipe for target 'USB/usb_structs.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../USB/usb_structs.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [USB/usb_structs.obj] Error 2
Building file: "../USB/usb_interface.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="USB/usb_interface.d_raw" --obj_directory="USB" "../USB/usb_interface.c"
USB/subdir_rules.mk:9: recipe for target 'USB/usb_interface.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../USB/usb_interface.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [USB/usb_interface.obj] Error 2
Building file: "../Buffer/ring_buff.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="Buffer/ring_buff.d_raw" --obj_directory="Buffer" "../Buffer/ring_buff.c"
Buffer/subdir_rules.mk:9: recipe for target 'Buffer/ring_buff.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../Buffer/ring_buff.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [Buffer/ring_buff.obj] Error 2
Building file: "../HAL/HAL_msm.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="HAL/HAL_msm.d_raw" --obj_directory="HAL" "../HAL/HAL_msm.c"
HAL/subdir_rules.mk:9: recipe for target 'HAL/HAL_msm.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../HAL/HAL_msm.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [HAL/HAL_msm.obj] Error 2
Building file: "../tm4c1294ncpdt_startup_ccs.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="tm4c1294ncpdt_startup_ccs.d_raw" "../tm4c1294ncpdt_startup_ccs.c"
subdir_rules.mk:9: recipe for target 'tm4c1294ncpdt_startup_ccs.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../tm4c1294ncpdt_startup_ccs.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [tm4c1294ncpdt_startup_ccs.obj] Error 2
Building file: "../HAL/HAL_init.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="HAL/HAL_init.d_raw" --obj_directory="HAL" "../HAL/HAL_init.c"
HAL/subdir_rules.mk:9: recipe for target 'HAL/HAL_init.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../HAL/HAL_init.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [HAL/HAL_init.obj] Error 2
Building file: "../HAL/HAL_Leds.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="HAL/HAL_Leds.d_raw" --obj_directory="HAL" "../HAL/HAL_Leds.c"
HAL/subdir_rules.mk:9: recipe for target 'HAL/HAL_Leds.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../HAL/HAL_Leds.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [HAL/HAL_Leds.obj] Error 2
Building file: "../main.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/Users/marwa/Desktop/ControleModuleForSwitchingMatrix(CMSM)/Cippà_TB_CMMSM_Report_Annex/Digital/CMMSM_ccs_workspace_V9/CMMSM_FW_newCmd" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
subdir_rules.mk:9: recipe for target 'main.obj' failed

INTERNAL ERROR: C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl had an internal inconsistency and aborted
while processing file ../main.c

This is caused by a defect in the TI C/C++ Compiler.
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.

gmake: *** [main.obj] Error 2
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • I'm not sure I've ever seen the compiler issue an INTERNAL ERROR for so many source files in a row.  This makes me wonder whether the compiler installation is corrupted somehow.  Please consider re-installing the compiler.  The compiler is installed in the directory

    C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS

    Change that directory name to something else.  Then tell CCS that compiler is no longer available.  Follow the directions in the article Compiler Discovery to Refresh the compilers that CCS knows about that.  Then follow the directions at the beginning of that same page to install it again.  I'm sorry it is confusing.  But this procedure is rarely needed.

    If that does not work, then for one source file that sees the INTERNAL ERROR, please follow the directions in the article How to Submit a Compiler Test Case.

    Thanks and regards,

    -George

  • The first method didn't work and when I tried doing the second one to submit a compiler test case, a pp file was not being produced.

    However, I made a new project and copied the files over and it seems to run so I think I'm good now. Thanks for trying to help.