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.

Program mode compiling fails under CCSv5

Hello,

I am trying to enable the "Program mode" compilation under CCSv5 for better optimization of a bios 5 based project. All the compiling seems going well but when comes the time to link, I get several errors.

For example, if you create a brand new "Hello world" project based on Bios 5 from the "New --> CCS project" menu, you get the following link errors:

'Building target: test.out'
'Invoking: C6000 Linker'
"C:/CCSv5/ccsv5/tools/compiler/c6000/bin/cl6x" -mv64+ -g --program_level_compile --diag_warning=225 --abi=coffabi -z -m"test.map" --stack_size=800 --heap_size=800 --warn_sections -i"C:/CCSv5/ccsv5/tools/compiler/c6000/lib" -i"C:/CCSv5/ccsv5/tools/compiler/c6000/include" -i"C:/CCSv5/bios_5_41_10_36/packages/ti/rtdx/lib/c6000" -i"C:/CCSv5/bios_5_41_10_36/packages/ti/bios/lib" --reread_libs --rom_model -o "test.out" -l"./hellocfg.cmd"  "hello.obj" -l"libc.a"
<Linking>
"./hellocfg.cmd", line 260: warning: no matching section
"./hellocfg.cmd", line 299: warning: no matching section
"./hellocfg.cmd", line 306: warning: no matching section
"./hellocfg.cmd", line 310: warning: no matching section
"./hellocfg.cmd", line 324: warning: no matching section
"./hellocfg.cmd", line 368: warning: no matching section

 undefined        first referenced                                                     
  symbol              in file                                                          
 ---------        ----------------                                                     
 CLK_COUNTSPMS    C:/CCSv5/bios_5_41_10_36/packages/ti/bios/lib/bios.a64P<biosdata.o64P>
 CLK_HTIMEDIV     C:/CCSv5/bios_5_41_10_36/packages/ti/bios/lib/bios.a64P<biosdata.o64P>
 CLK_HTIMEMULT    C:/CCSv5/bios_5_41_10_36/packages/ti/bios/lib/bios.a64P<biosdata.o64P>
 CLK_LTIMEDIV     C:/CCSv5/bios_5_41_10_36/packages/ti/bios/lib/bios.a64P<biosdata.o64P>
 CLK_LTIMEMULT    C:/CCSv5/bios_5_41_10_36/packages/ti/bios/lib/bios.a64P<biosdata.o64P>

(...)

After reviewing carefully the managed makefile commands, it looks like the files generated by TConf (hellocfg_c.c, hellocfg.h, hellocfg.s62...) are not compiled and are hence missing at link time. Just to confirm, I copied manually those files inside the project dir and re-run compilation and it linked successfully.

Is there something I am doing wrong or is it a bug with CCSv5?

Thanks

Franck