Hi All,
Unfortunately I've found new issues in the C6000 tool-chain (C64x+ target). The problem exists in 6.1.16., 6.1.18 and in 7.0.7.
Our C++ project compiles without errors, but the linker exits by internal error.
The code is good, it works perfectly by different other compilers (different gcc variants, msvc, etc..).
C:/ti/compiler_c6000/bin/cl6x -@ codec_package/compiler.opt -c main.c
Building server codec package (codec_package.x64P)
INTERNAL ERROR: c:\ti\compiler_c6000\bin\lnk6x.exe failed to allocate memory
This is a serious problem. Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.
make: *** [codec_package.x64P] Error 2
I'm trying to make a small test project to reproduce the bug, but it's not easy to simplify our rather large code.
It's a very critical bug for us. Please help me: if this bug seems similar for your eyes, please inform me what kind of code makes the linker to be failed.
I have several tips: to avoid the linker bug, I changed some codes in our project. Moving functions/methods from .cpp to . h temporarily helps.
As it's very critical to us, please feel free to write any ideas.
If you have a newer linker than the 7.0.4, please inform me. If the CEO of Texas Instr. would like to link our libs to the codec engine by a hex editor and he can do it as a post-compile procedure in part of our build process, it's better than not to link at all.
(I know that this information is not too much, but until I can restrict/narrow the problem to a small code-base, I cannot send source files. If you wish, I can send the a64p files. They are are quite large: more than 150Mb. )
Thanks,
Csaba