Hi,
I'm having a problem with a project that has the following layout (simplified):
mysource.cpp
subfolder/mysource.cpp
both of these files have the same modification time. When I link the object files that are created by compiling the two *.cpp files, I get a linker error saying something along the lines of:
error #10056: symbol "__sti___9_mysource_cpp_edc9f1c5" redefined: first defined in "subfolder/mysource.obj"; redefined in "mysource.obj"
After I touch one of the files (changed file modification time), the error disappears. It seems that the compiler creates these symbols and uses a hash of the file modification time (and possibly the file name). Renaming one of the files solves the issue, too. Nevertheless, I think this behavior is not really how it should be, perhaps the hash should include the complete path to the file. What is the reason for the symbol being generated?
Kind regards,
Roman
PS: This happens for TI cgt 7.4.8
PPS: This happens only in EABI mode, COFF ABI does not have this problem