Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10937

A source file with more than 34k functions fails to build with --opt_level=2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High

      Files containing more than 34k functions cause a crash in the optimizer yielding the error below:

      >>>> Optimizer terminated abnormally
      
      >>>> Unhandled exception of type class std::bad_alloc: bad allocation.
      This is caused by a defect in the TI C/C++ Optimizer.
      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".
      
      We need to see this ENTIRE error message and a complete, reproducible
      test case including ALL of the command-line options.
      Include the .pp file created by option --preproc_with_comment
      
      
      >> Compilation failure
      

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: