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.

Compiler/C66XCODECS: Internal Error

Part Number: C66XCODECS


Tool/software: TI C/C++ Compiler

Hi Sir,

We are doing Unit Test in VectorCast where we are building the source code using below compiler

ccsv8

Compiler: c6000_7.4.2

Also using simulator   tisim_c64xple.ccxml for running the test cases

We are getting below build error as in screen shot. VectorCast tool team asked us to contact TI with the attached files. Please check the attached files and help us in resolving the issue.Compiler_Issue.zip

Compiler_Issue.zip

Thanks & Regards

Jeslin

  • I cannot see the screen shot you attached.  However, I suspect it shows something close to ...

    >> 3dodalgmonusr_expanded_driver.c, line 79150:
                   INTERNAL ERROR: Number of virtual registers beyond limit. Reduce
                   function size
    
    This may be a serious problem.  Please contact customer support with a
    description of this problem and a sample of the source files that caused this
    INTERNAL ERROR message to appear.
    
    Cannot continue compilation - ABORTING!

    Thank you for submitting a test case.  I can reproduce that behavior.  I filed the entry CODEGEN-7820 to have this investigated.  You are welcome to follow it with the link below in my signature.

    Since C6000 compiler version 7.4.24 is no longer supported, a fix will not be supplied.  However, it is possible a workaround may be found.  

    It is also possible a workaround will not be found.  If that is the case, then it is likely you will need to reduce the size of the functions in the code.  It appears the large functions in the code are automatically generated.  I hope it is practical to configure the tool which generates the code to make the functions smaller.

    Thanks and regards,

    -George

  • George Mock said:
    It is also possible a workaround will not be found.  If that is the case, then it is likely you will need to reduce the size of the functions in the code.

    Unfortunately, no workaround was found.  Reducing the size of the problem functions is the only remaining solution.  I hope that is practical.

    Thanks and regards,

    -George

  • Hi George,

    All compiler version will have this issue? Using any latest TI compiler versions will resolve the issue?

    Thanks & Regards

    Jeslin

  • I presume you must build for COFF ABI.  You use compiler version 7.4.24, which is the last release to support COFF ABI.  All later versions only support EABI.  That being the case, there are no later versions to consider using.

    Thanks and regards,

    -George