Run placement fails for section ".TI.bound:<variable>.<k>"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-14886
    • Hide
      C29_1.0.0.LTS
      ARMCLANG_5.0.0.STS
      ARMCLANG_4.0.0.LTS
      C29_2.0.0.STS
      ARMCLANG_3.2.0.LTS
      C29_2.1.0.STS
      Show
      C29_1.0.0.LTS ARMCLANG_5.0.0.STS ARMCLANG_4.0.0.LTS C29_2.0.0.STS ARMCLANG_3.2.0.LTS C29_2.1.0.STS
    • Hide
      C29_1.0.2.LTS*
      ARMCLANG_4.0.5.LTS*
      ARMCLANG_3.2.4.LTS*
      C29_2.2.0.LTS*
      ARMCLANG_5.1.0.LTS*
      Show
      C29_1.0.2.LTS* ARMCLANG_4.0.5.LTS* ARMCLANG_3.2.4.LTS* C29_2.2.0.LTS* ARMCLANG_5.1.0.LTS*
    • default
    • Mark the affected class/struct/union with the attribute "used"

      In programs where class/struct/union objects are assigned a memory location with the "location" attribute, the linker may error with the message:

       

      error: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section, or the section contains padded functions. run placement with alignment fails for section ".TI.bound:<variable>.<k>"... overlaps with ".TI.bound:<variable>.<n>"...

      This may occur with -flto enabled, but may also occur during non-LTO compilation if the variable is declared 'static'.

      As a workaround, you can:

      1. Remove and replace the "location" attribute with a "section" attribute
      2. Modify the linker command file to place the section at the required address from the "location" attribute manually

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-6204 - Run placement fails for section ".T...
                SYNCHRONIZED
                • Last Sync Date: