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.

CLA compiler with '--gcc' flag causes internal error



Hi,

If I invoke CLA compiler with "--gcc"  flag, it will cause an internal error:

INTERNAL ERROR: C:\ti\ccsv5\tools\compiler\c2000_6.2.1\bin\accla.exe experienced
 a segmentation fault
                  while processing function (unknown or file scope) file (unknow
n) line 0

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.

I tried in 6.2.0 and 6.2.1, but it's OK in 6.1.x.

  • I'm sorry, I cannot reproduce this error.  Can you post a test case that reproduces the problem?  Don't forget to include your complete command line options.

  • Hi,

    Thanks for your reply.

    The test file is attached , and the procedures and the outputs are as following:


    D:\>"C:/ti/ccsv5/tools/compiler/c2000_6.2.1/bin/cl2000" -v28 -ml -mt --cla_suppo
    rt=cla0 --float_support=fpu32 --vcu_support=vcu0 test.cla

    D:\>"C:/ti/ccsv5/tools/compiler/c2000_6.2.1/bin/cl2000" -v28 -ml -mt --cla_suppo
    rt=cla0 --float_support=fpu32 --vcu_support=vcu0 --gcc test.cla

    INTERNAL ERROR: C:\ti\ccsv5\tools\compiler\c2000_6.2.1\bin\accla.exe experienced
     a segmentation fault
                      while processing function (unknown or file scope) file (unknow
    n) line 0

    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.


    >> Compilation failure

    D:\>"C:/ti/ccsv5/tools/compiler/c2000_6.1.5/bin/cl2000" -v28 -ml -mt --cla_suppo
    rt=cla0 --float_support=fpu32 --vcu_support=vcu0 test.cla

    D:\>"C:/ti/ccsv5/tools/compiler/c2000_6.1.5/bin/cl2000" -v28 -ml -mt --cla_suppo
    rt=cla0 --float_support=fpu32 --vcu_support=vcu0 --gcc test.cla

    I got the same error in 6.2.0.

    test.7z
  • Thank you for submitting a test case.  I can reproduce the error.  I filed SDSCM00048290 in SDOWP to get this issue addressed.  Feel free to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George

  • The official answer is that CLA does not support --gcc mode.  Do not use --gcc mode with CLA.  We are still investigating the internal error, but even after that is fixed CLA will not support --gcc mode.

  • I don't intend using gcc extension in CLA,

    It's used in C2000, so the --gcc flag is set for whole project.

  • Then until this bug is fixed, you will need to set --gcc on a file-by-file basis