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.

TMS320F28386S: build the same project on different computers

Part Number: TMS320F28386S
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Hello,

I need to have the ability to build a project on 2 different computers.

I have done my best to make sure all the version are the same.

CCS Version: 11.1.0.00011 

C2000Ware 4.1.0.00

sysconfig 1.11.0

Arm compiler V20.2.5.LTS

C2000 V21.6.0LTS

All there products are the same on both computers.

All the project files are cloned from Git.

Still, comparing the out files from the 2 computers show different out files.

what else should I look for?

Any tips on how to make sure I get the same result on 2 diffrent computers?

one difference, on computer is windows 10, the second is windows 11.

Thanks

  • Hello,

    Still, comparing the out files from the 2 computers show different out files.

    what else should I look for?

    Any tips on how to make sure I get the same result on 2 diffrent computers?

    Please see Alan's suggestion regarding objdiff in the below post:

    https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1228153/reproducible-build-deterministic-build/4638079#4638079

    Thanks

    ki

  • Hello Ki,

    The link you send is useless.

    there is no COFF or ELF files on the C2000 projects.

    The thread you attached is not closed. and not marked as resolved.

    There is no indication that Alan's advice has solved anything.

    I have taken the time to make sure both environments are the save regarding all product version that I can think of.

    Still I get different out files. and loading up the firmware, the project dose not work. obviously, the build is not the same.

    Creating a reproducible build is essential.

    Please help me solve this issue.

    You guys are the experts.

    Thanks!

  • I have compared all the project files and source files, and all are the same.

    Still, I see that the OBJ files for every source file are not the same.

    CCS, compiler and C2000ware are all the same version.

    What else should I check?

  • The link quite relevant. It mentions potential reasons why the OBJ files can be different. For example, the object files can contain information like timestamps and path information that would be expected to be different between environments.Also you mentioned the two environments are on different version of OS. As Alan mentioned:

    However, there may be minor differences caused by temporary file names and other things in the source code.  Use of __DATE__ or __TIME__, reference to things in the host or OS environment, the file system, etc, that the compiler cannot account for.

    Hence his suggestion of using objdiff is a very helpful one.

    and loading up the firmware, the project dose not work

    This part you omitted in your original post. This would indicate other, more critical, differences. I will bring this thread to the compiler experts for more input.

    Thanks

    ki

  • comparing the out files from the 2 computers show different out files.

    I presume the comparison is performed with a simple diff of the two files.  TI has never guaranteed reproducible builds like that.  It is not part of the requirements.  We do not design or test for it.  

    Any tips on how to make sure I get the same result on 2 diffrent computers?

    Please see the discussion in this thread, and this thread.

    Thanks and regards,

    -George