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: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl

Other Parts Discussed in Thread: TM4C1294NCPDT

Tool/software: TI C/C++ Compiler

INTERNAL ERROR: C:\ti\ccsv6\tools\compiler\ti-cgt-arm_15.12.1.LTS\bin\armlnk.exe experienced an unhandled exception

This is caused by a defect in the compiler itself. 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". Include this ENTIRE error message and a
copy of the .pp file created when option --preproc_with_comment
(-ppc) is used.


>> Compilation failure
gmake: *** [RoyaleIII_boot.out] Error 1
gmake: Target `all' not remade because of errors.

FULL BUILD LISTING FOLLOWS:

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

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_check.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="bl_check.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_check.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_check.c'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_flash.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="bl_flash.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_flash.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_flash.c'
' '
'Building file: ../bl_main_tiva.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="bl_main_tiva.pp"  "../bl_main_tiva.c"
'Finished building: ../bl_main_tiva.c'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_packet.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="bl_packet.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_packet.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_packet.c'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_startup_ccs.s'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="bl_startup_ccs.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_startup_ccs.s"
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 190 (col. 14): warning: function-like macro 'INT8_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 191 (col. 13): warning: function-like macro 'UINT8_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 192 (col. 14): warning: function-like macro 'INT16_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 193 (col. 13): warning: function-like macro 'UINT16_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 194 (col. 14): warning: function-like macro 'INT32_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 195 (col. 13): warning: function-like macro 'UINT32_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 198 (col. 14): warning: function-like macro 'INT64_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 199 (col. 13): warning: function-like macro 'UINT64_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 203 (col. 14): warning: function-like macro 'INTMAX_C(value)' ignored during assembly header translation
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include/stdint.h", line 204 (col. 13): warning: function-like macro 'UINTMAX_C(value)' ignored during assembly header translation
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_startup_ccs.s'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_uart.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="bl_uart.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_uart.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/boot_loader/bl_uart.c'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/gpio.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="gpio.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/gpio.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/gpio.c'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/sw_crc.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="sw_crc.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/sw_crc.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/sw_crc.c'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/sysctl.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="sysctl.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/sysctl.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/sysctl.c'
' '
'Building file: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/uart.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/bootloaders/boot_FCC/ccs" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare" --include_path="C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib" -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="uart.pp"  "C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/uart.c"
'Finished building: C:/Projects/AMI_Fuel_Cel/Royalle_III_code/trunk/depend/tivaWare/driverlib/uart.c'
' '
'Building target: RoyaleIII_boot.out'
'Invoking: ARM Linker'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O2 -g --gcc --define=ccs --define=ccs="ccs" --define=PART_TM4C1294NCPDT --diag_warning=225 --gen_func_subsections=on --abi=eabi --ual -z -m"RoyaleIII_boot.map" --stack_size=512 --heap_size=0 -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" --reread_libs --warn_sections --xml_link_info="boot_uart_linkInfo.xml" -o "RoyaleIII_boot.out" "./bl_check.obj" "./bl_flash.obj" "./bl_main_tiva.obj" "./bl_packet.obj" "./bl_startup_ccs.obj" "./bl_uart.obj" "./gpio.obj" "./sw_crc.obj" "./sysctl.obj" "./uart.obj" "../tm4c1294ncpdt.cmd"  -l"libc.a" 
<Linking>

INTERNAL ERROR: C:\ti\ccsv6\tools\compiler\ti-cgt-arm_15.12.1.LTS\bin\armlnk.exe experienced an unhandled exception

This is caused by a defect in the compiler itself. 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". Include this ENTIRE error message and a
copy of the .pp file created when option --preproc_with_comment
(-ppc) is used.


>> Compilation failure
gmake: *** [RoyaleIII_boot.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Here is more information on this compiler error:

    Since the error output suggested upgrading to a newer compiler, and I am already using close to the newest version from CCS6.x I decided to back DOWN to older versions. Starting with TI v15.9.0.  This older version evidenced "bss_run" as undefined. This was caused by inclusion of the file tm4c1294ncpdt.cmd. This file was then "excluded from build" and rebuild invoked. Then changed to TI v5.2.7; SAME THING. The error "ResetISR already defined" was then presented at link time. This was caused by inclusion of the file tm4c1294ncpdt_startup.c. This file was then "excluded from build" and Rebuild invoked. The project then FINALLY compiled. Changed to TI v15.9.0, had to again exclude file tm4c1294ncpdt_startup.c from the project. Invoked Rebuild and the project built. Then, changed to the original compiler TI v15.12.1, had to again exclude the file tm4c1294ncpdt_startup.c from the project. Invoked Rebuild and the project built.

    Peculiar behavior, having to continuously exclude this file from the project each time the compiler was changed.

    Peculiar that the newest compiler could not resolve the errors that the older compilers resolved and reflected.,

    The file list below illustrates the files contained in the project folder. It is important to notice those that are actually links, not files in the project folder.  NOW the big question is whether this "build" will run or not!

  • There are two related, yet distinct, issues to address here.

    I'd like to fix whatever caused the linker (the executable is named armlnk.exe) to issue the INTERNAL ERROR.  To do that, we need to reproduce the error ourselves.  Please put your CCS project back in that state, verify it has the same INTERNAL ERROR, then send in that project.  Please see this forum post for the details.

    The other issue is why you have to exclude tm4c1294ncpdt_startup.c from the build.  I am not familiar with that file.  But it very unlikely your system will start up correctly without it.  To pursue that issue, I recommend you start another thread in the TM4C device forum.  Normally, I would offer to move this forum thread into that forum.  But I need this thread to remain here in order to pursue the linker problem.

    Thanks and regards,

    -George

  • George,

    I am going to try to provide you with the project that caused this error so you can look at it. I tried this attachment mechanism before and it didn't seem to work. Anyway, here goes...

    To recreate the problem, just follow the reverse of the steps I outlined above

    boot_uart.zip

    Thanks,

    Russ

  • George, one further note. I think the files "tm4c1294ncpdt_startup_ccs.c" and "tm4c1294ncpdt.cmd" were autogenerated when the project was imported into CCS .
  • Unfortunately, we are unable to build the project.  The links to TivaWare files are causing some problems.

    Rather than pursue that, please consider trying out a newer version of the compiler.  I recommend you get 16.9.x.LTS, where x is the highest number available.  At this time, that is version 16.9.1.LTS.  In CCS, choose Help | Install New Software.  In the dialog box, set Work with to Code Generation Tools Updates.  Type arm in the filter box.  Make sure to uncheck the box Show only the latest versions of available software.  Then you can choose version 16.9.1.LTS.  See the screen shot below.

    Thanks and regards,

    -George