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/RM48L952: 16.9.x Linker Hangs with 100% CPU Usage

Part Number: RM48L952

Tool/software: TI C/C++ Compiler

Hi,

Need some help determining the cause of a TI linker hang, with 100% CPU core usage in a very large RM48L952 project.  It is only this project that causes problems, and we have the same problems on both Win10 x32 and Win10 x64 in both debug and release mode, using both CCSV7 GUI and command line eclipsec.

We are not using any optimization and there is no obvious / strange warnings or errors during the compile stage.

I've tried to switch verbose on for the linker, but there is nothing really output at this stage.

Could anyone suggest some things to try?

Thanks

Stomp!

  • This sounds like a bug in the linker.  To investigate, we need to reproduce it.  The only way we can do that is if you please send us your project, as described in the article Project Sharing.

    Thanks and regards,

    -George

  • Hi George,

    Sending in our source code is simply not possible due the nature of the project and our customer.

    Is there anything else I can do from my end?.

    I've figured start disabling blocks of code and see what happens is the first point. Is it possible to attach to the linker with VisualStudio debugger and / or get a version of the linker with debug symbols in it?

    Thanks
    Stomp!.
  • Try adding some linker options that have been known to work around past problems:

    --no_sym_merge --compress_dwarf=off --minimize_trampolines=off

    That's three options, each starting with double dash
  • stomp said:
    Sending in our source code is simply not possible due the nature of the project and our customer.

    Are you willing to send the project just to me?  If so, hover your mouse over my forum screen name or avatar.  A box will pop up. Click on Send a private message.  In the message compose interface which comes up, use the paper clip icon to attach the .zip file.

    Thanks and regards,

    -George

  • Hi George,

    So it seems that not doing a parallel compile allows me to actually emit an error code.

    INTERNAL ERROR: D:\TI\ccsv7\tools\compiler\ti-cgt-arm_16.9.0.LTS\bin\armlnk.exe experienced an unhandled exception
    
    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.

    I am trying to export the project and will send to you via DM, its a massive project tho!

    Cheers