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.

TMS470 Compiler v4.6.4 Hangs

After breaking out of our batch file base build process, I received the following information:

 

 

INTERNAL ERROR: c:\ti_dsp.tms470\bin\cg470.exe experienced a fatal internal fault while

                processing function _RelDump file rldump.c line 3399

 

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 unfortunately cannot provide the source file as an attachment due to confidentiality.  Needless to say that the file in question is nearly 128K in size.  The command line options passed to this file are:

 

c:\ti_dsp.tms470\bin\cl470

-c  

-g

--endian=little

-D=DCL_CPU_ALIGNSIZE=4  

-DDCL_BIG_ENDIAN=0

-pden -pdsr=190

-D=D_PRODUCTNUM=1

-D=D_PRODUCTVER=0x02000000

-D=D_PRODUCTBUILD=1874P

-D=D_TOOLSETNUM=10000

-D=D_CPUFAMILY=D_CPUFAMILY_armv5tej

-D=D_CPUTYPE=arm926ejs

-D=D_DEBUG=1

-D=D_OSVER=n/a

--diag_remark 188

--verbose_diagnostics  

-I=c:\ssp_datalight\rtos\reliance\source\projects\rtos\armboot  

-I=c:\ssp_datalight\rtos\reliance\source\os\rtos\include  

-I=c:\ssp_datalight\rtos\reliance\source\include  

-I=c:\ssp_datalight\rtos\reliance\source\dcl\os\rtos\include  

-I=c:\ssp_datalight\rtos\reliance\source\dcl\include  

-I=c:\ssp_datalight\rtos\reliance\source\core\nitro\include  

-I="c:\ti_dsp.tms470\include"

-eo=.obd rldump.c

Please let me know how to contact you to possibly provide more detail, or if you can provide me information about additional command line parameters I could pass to the compiler to get you more information.

  • Since you are not compiling with optimization, then we know that the bug is caused by the handling of the function _RelDump.  Please consider isolating that one function to a file of its own, and preprocessing it as described here.  If you are still not comfortable with posting here, would you be willing to send it just to me?  That can be done via forum features that keep your e-mail address confidential.  That error message is very generic.  Without a reproducible test case, we cannot make progress on your issue.

    There is a small chance the problem is caused by the size of the function.  Is the function _RelDump very large (thousands of lines)?  If so, try splitting it into smaller functions.  That may help.

    Thanks and regards,

    -George