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.

TI Compiler Segfaults compiling Eigen Math Library

Other Parts Discussed in Thread: AM3359

I am trying to compile the Eigen Math library for my AM3359 running Sys/BIOS using code composer studio.  I am trying to compile it using the TI v5.2.0 compiler in code composer studio.  I have enabled the GCC extensions for the TI compiler.

When I try to compile code that the Eigen/Geometry transforms, the compiler segfaults.  I get the error described below.  I have uploaded an example project here.  Does anyone have any recommendation on how to debug or get around this error?  


INTERNAL ERROR: c:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.0\bin\armacpia.exe experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0

This is caused by a defect in the compiler itself. TI Customer
Support may be able to suggest a workaround to avoid this.

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue". Include this ENTIRE error message and a
copy of the .pp file created when option --preproc_with_comment
(-ppc) is used.

Thank you for the help.

  • Thank you for informing us about this problem.  I can reproduce that seg fault.  I filed SDSCM00051602 in the SDOWP system to have this investigated.  Feel free to follow it with the SDOWP link below in my signature.

    Adam Stambler said:
    Does anyone have any recommendation on how to debug or get around this error?

    Unfortunately, I do not.  I do not understand what is causing the seg fault.  

    Thanks and regards,

    -George

  • Hi Adam,

    Unfortunately the only simple workaround at this time is to not use GCC extensions. Is GCC mode required to compile Eigen?

    Thanks,
    Zachary Morgan