Linker fails due to undefined symbol __STACK_END when enabling lto

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium

      References to the linker-defined symbol __STACK_END can result in an undefined symbol error when linking with -flto.
      Example error message:

      
       undefined   first referenced
        symbol         in file
       ---------   ----------------
       __STACK_END ./TIHuAqLSOAU
      
      error #10234-D: unresolved symbols remain
      error #10010: errors encountered during linking; "example.out" not built
      tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
      

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-6841 - Linker fails due to undefined symbo...
                SYNCHRONIZED
                • Last Sync Date: