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.

TI CCS and armclang

Other Parts Discussed in Thread: TMDX570LC43HDK

We use TMDX570LC43HDK evaluation board, CCS tools

I try to use compiled with DS5 (ARM tools compiler 6 (armclang) ) library and get following error:

error #16004-D: file “file name” has a Tag_DIV_use attribute value of "2" that is different than one previously seen ("0"); combining incompatible files

I found that Tag_DIV_use defines ARM R5 division.

How to combine our library and CCS tools (TI API)?

  • Hi,
    I will move your post to the compiler forum where your question can be best answered.
  • What version of the TI compiler are you using? (Note: it is not the same as the CCS version)
  • Hi Archaeologist!

     

    I use TI v15.12.3.LTS, also I tried TI v15.12.1.LTS. Results are the same.

    Konstantin

  • Okay, there are two possibilities here:

    1. The files are actually incompatible because they were compiled with incompatible options.  We'd need to examine the object files more closely to determine if this is the case, so let's assume for the moment that it's actually number 2:
    2. The files are compatible, but the compiler didn't set the DIV_use tag correct in one object file or the other.  You should be able to suppress the error with the option -pdsw16004 which should allow you to link the project.  Give that a try and see if the program works properly.

    Either way, it would be good to get to the bottom of this problem so that we can be sure about the solution.  Here are some questions:

    1. What compiler (and version) did you use to build the library?
    2. What compiler options did you use to build the library?
    3. What compiler (and version) did you use to build the object files in the project?
    4. What compiler options did you use to build the object files in the project?
    5. What compiler/linker version did you use to link the application?
    6. What linker options did you use when linking the application?

  • Archaeologist,

    If suppress this error (#16004) project works properly.

    Thank you!