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/TMS320C6678: I have an assembly error in sometimes...

Part Number: TMS320C6678

Tool/software: TI C/C++ Compiler

I changed build system.

At first I used CCS for build, but It had a some problems.

because my product is made from many project and some project using same files.

So I want to change each file build just one time, and share *.obj files at linking time.

I was made makefile and build successfully.

Now each files build only 1 time and each file's *.obj are shared in linking time.

But It have a asm error some times...

I'll show error message..

[First case]

13:13:39,503 INFO  - "test.asm", ERROR! at line 91393: [E0005] .dwtag symbol identifier required
13:13:39,503 INFO  -         .dwattr
13:13:39,503 INFO  - Errors in Source - Assembler Aborted
13:13:39,503 ERROR - gmake: *** [COMMON/test.obj] Error 1
[Second case]
13:14:27,406 INFO  - "test.asm", ERROR! at line 180: [E0200] Value of expression has changed due to
13:14:27,406 INFO  - jump expansion
13:14:27,406 INFO  -         .space    24
13:14:27,406 INFO  -
13:14:27,406 INFO  - "test.asm", ERROR! at line 181: [E0200] Value of expression has changed due to
13:14:27,406 INFO  - jump expansion
13:14:27,406 INFO  -         .field    0,32            ; temp.mode @ 704
13:14:27,406 INFO  -
13:14:27,406 INFO  - "test.asm", ERROR! at line 225: [E0300] InitializeTestSet is operand to both
13:14:27,406 INFO  - .ref and .def
13:14:27,406 INFO  -      MVKH .S1 pCCB,A4
13:14:27,406 INFO  - INTERNAL ERROR: /opt/CCSv5/C6000CGT7.3.0/bin/asm6x aborted while
13:14:27,406 INFO  - processing section .text file CCB.asm line 284
13:14:27,406 INFO  -
13:14:27,406 INFO  - This is a serious problem. Please contact Customer
13:14:27,406 INFO  - Support with this message and a copy of the input file
13:14:27,406 INFO  - and help us to continue to make the tools more robust.
13:14:27,406 INFO  -
13:14:27,406 ERROR - gmake: *** [COMMON/test.obj] Error 1
Do you know why this error occur sometimes??
  • To understand the source of the problem, we need to reproduce this behavior.  Is test.asm generated from a C or C++ file?  If so, then please follow the directions in the article How to Submit a Compiler Test Case. If test.asm is a hand-coded assembly file, the directions are similar.  However, because there is no preprocessing step available for assembly code, if test.asm includes any other files, then you need to submit them as well.

    Thanks and regards,

    -George

  • I use only .C files.

    ## Preprocessed source file

    I can't share my source file..because of security. But if you want some of part, I can share.. As like persudo code..


    ## Compiler Version
    CGT 7.3.0


    ## Compiler Options Used
    -mv6600 --symdebug:skeletal -O3 --gcc --display_error_number
    --diag_suppress=1 --diag_suppress=145 --diag_suppress=169 --diag_suppress=67 --diag_suppress=179 --diag_suppress=552
    --diag_warning=225 --big_endian --mem_model:data=far --abi=eabi --opt_for_speed=5 --gen_opt_info=2 -k
    --asm_listing --output_all_syms -z -m --warn_sections --reread_libs --rom_model

  • Unfortunately, without all of the problem source file (in preprocessed form), we are very unlikely to determine the cause of the problem.  Are you willing to send the file just to me?  If so, hover your mouse over my screen name or avatar. A box will pop up. Click on Send a private message. In the message compose interface which comes up, use the paper clip icon to attach the preprocessed file.  Add the file extension .txt to it.

    Thanks and regards,

    -George