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/TMS570LC4357: Minor bug when assembling

Expert 1226 points
Part Number: TMS570LC4357

Tool/software: TI C/C++ Compiler

When I attempt to assemble the following line I get an "INTERNAL ERROR!":

                    MOVW         R1, 0x1234

Note that the above code is not what I actually want, the code I actually want (which as far as I know assembles correctly, but I haven't run it on my hardware yet or inspected the machine code) is:

                    MOVW         R1, #0x1234

As such, this "INTERNAL ERROR!" is not blocking my development as far as I know.

The console output is:

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k assembler_error_2018-07-24a.obj
 
Building file: "../assembler_error_2018-07-24a.asm"
Invoking: ARM Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.2.LTS/bin/armcl" -mv7R5 --code_state=32 --float_support=VFPv3D16 -Ooff -g --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="assembler_error_2018-07-24a.d_raw"  "../assembler_error_2018-07-24a.asm"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'assembler_error_2018-07-24a.obj' failed
"../assembler_error_2018-07-24a.asm", INTERNAL ERROR!: failed to locate symbol for relocation entry at offset 0x00000000 in section ".text"
 
This may be a serious problem.  Please contact customer support with a
description of the problem and a sample of the sourcefile that caused this
message to appear.
gmake: *** [assembler_error_2018-07-24a.obj] Error 1

**** Build Finished ****

--thxassembler_error_2018-07-24a.asm

  • Thank you for notifying us of the problem, and submitting a concise test case.  I can reproduce the same behavior.  I filed CODEGEN-5078 in the SDOWP system to have this addressed.  You are welcome to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George