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.

RTOS/TMS320C6747: Config file build error with compiler 7.4.24

Part Number: TMS320C6747


Tool/software: TI-RTOS

Please see related thread, link provided here: https://e2e.ti.com/support/processors/f/791/p/710939/2640854#pi320966=1

I'm having nearly the exact same symptoms with CCSv8.3 attempting to upgrade a project from CCSv7 to the latest tools. The project fails to build with compiler 7.4.24 with 27 errors in Bioscfg.obj about invalid constant specification and a remark showing a line changed due to symbol substitution where it looks like some strings got replaced (probably related to the avgformat workaround).

>> Compilation failure
bsp/subdir_rules.mk:33: recipe for target 'Bioscfg.obj' failed
"Bioscfg.s62", ERROR!   at line 3051: [E0003] Invalid constant specification
		SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
 
"Bioscfg.s62", REMARK   at line 3051: [R0001] After symbol substitution the line became:
		SWI_Obj 1, KNL_swi, 0, _KNL_run, 00H, 00H, 00H, 00H, 01H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype

If I attempt to build the project with 7.4.23 the project builds fine. After a successful build with 7.4.23, the project will build fine with 7.4.24. Doing a diff on a project that won't build and an identical project that will build shows no differences in Bioscfg.s62. I could not find a relevant difference between the two projects other than the .cproject file.

I don't see any accepted open defects found with compiler 7.4.24 and there wasn't really a resolution to the linked thread other than using 7.4.23, is this the accepted answer?

  • Hello Marshall,

    I'm looping in the compiler team to help with your issue.

    Regards,
    Sahin
  • I need to reproduce the problem. In this case, I need the full CCS project.  Please create a zip file as described in the article Sharing Projects, then attach it to your next post.  

    Thanks and regards,

    -George

  • I can reproduce something similar by following the instructions by Judah here: https://e2e.ti.com/support/processors/f/791/p/710939/2634999#2634999 It appears Judah had success but also used compiler v7.4.18.

    1. New CCS project
    2. Select Generic C674x device
    3. DSP/BIOS v5.xx Examples
      1. sim6416 examples
      2. hello example
    4. change compiler version to 7.4.24
    5. name project
    6. click finish
    7. Open project properties and verify compiler version is 7.4.24 (mine had changed to 8.x.x), apply changes.
      1. Make sure you don't accidentally build with another version first as I have found this fixes the issue. In other words if I build with compiler version 7.4.23 and then change to compiler version 7.4.24 it will perform a full rebuild but succeed.
      2. Don't know if this matters but I use legacy COFF output format and little endian. DSP/BIOS v5.42.2.10

    8. Build debug

    I get a lot of errors similar to what are reported in the related thread and my own project:

    "hellocfg.s62", ERROR!   at line 887: [E0003] Invalid constant specification
    		SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype
     
    "hellocfg.s62", REMARK   at line 887: [R0001] After symbol substitution the line became:
    		SWI_Obj 1, KNL_swi, 0, _KNL_run, 00H, 00H, 00H, 00H, 01H, 00H, 02H, %g inst, %g inst, %.2f inst, _filtmaxmult, _filtsummult, _unittype

    hello.zip

  • I should have noticed earlier that you say ...

    Marshall Schiring said:
    I use legacy COFF output format

    Version 7.4.24 of the C6000 compiler is the last version which supports COFF.  All further versions support EABI (ELF object format) only.  There are no plans for further COFF support.  Is it practical for you to use version 7.4.23 as a long term solution?

    Thanks and regards,

    -George

  • George Mock said:
    Is it practical for you to use version 7.4.23 as a long term solution?

    Yes, this is fine and will be our plan going forward.