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: C6000 Compiler gives Segmentation fault

Tool/software: TI C/C++ Compiler

Hi,

While Compiling the SDK software, below error is seen from the compiler.

============================================================================================

INTERNAL ERROR: c:\ti\ccsv6\tools\compiler\c6000_7.4.18\bin\acpia6x.exe experienced a segmentation fault while

                processing

 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.

============================================================================================

Regards,

Kaushal

  • This ...

    Kaushal Kukkar said:
    INTERNAL ERROR: c:\ti\ccsv6\tools\compiler\c6000_7.4.18\bin\acpia6x.exe experienced a segmentation fault

    ... means the first phase of the compiler, called the parser, crashed.  Please attempt to create the preprocessed form of the problem source file, and attach that to your next post.  Also show all the build options exactly as the compiler sees them.

    I say "attempt" because, in rare cases, even preprocessing the code causes the crash.  I doubt that will occur here.  But if it does, then we will have to come up with some other way for us to reproduce the same failure.

    Thanks and regards,

    -George

  • MTSI_Pal.zipGeorge,

    Please find attached the request preprocessed file

  • Thank you for reporting the problem.  I can reproduce the same behavior.  I filed CODEGEN-2039 in the SDOWP system to have this addressed.  You are welcome to follow it with the SDOWP link below in my signature.

    Please show the build options exactly as the compiler sees them.  I found a set of build options which causes a crash.  While unlikely, there remains the possibility that the build options are an additional part of the problem that is presently ignored.  Once you show the options, I'll add them to the SDOWP record, which insures the fix for the problem gets tested with those build options.  

    I determined that the crash does not occur if you use C6000 compiler version 8.1.x.  So that is a possible workaround for you.  Please see the wiki article Compiler Releases to learn how to obtain it.

    Thanks and regards,

    -George