Team,
Please find below instruction to reproduce the CCS crash on CCS Version: 5.3.0.00090. .out and .obj are built with C6x C/C++ Compiler v7.3.4.
Loading symbols from the output of a relocatable link step crashes CCS 5:
This example is derived from a more complex one that doesn't actually attempt to load symbols from an unrelocated file but exhibits the same problem.
I have the following C file (hello.c):
c_int00() {
volatile int x = 0;
for (;;) x ++;
}
I compile it with: cl6x -c -mv6600 hello.c
I link it with: lnk6x -r -mv6600 hello.lnk
where hello.lnk contains:
hello.obj
-o hello.out
MEMORY {
MEM: origin = 0x800000 length = 0x01000
}
SECTIONS {
.text: > MEM
}
This gives me two relocatable outputs: hello.obj and hello.out.
In CCS5 connected to an EVM6678L, I connect to core #0 and select hello.obj with Run/Load/Load Symbols.
This is accepted and behaves as I would expect.
If I do exactly the same thing with hello.out, CCS is _immediately_ blown away (the process is terminated) without any error report.
The test case (.c, .obj and .out) will be available from the below E2E post:
http://e2e.ti.com/support/development_tools/compiler/f/343/t/238493.aspx
Thanks and best regards,
Anthony
