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

LFU: lfu compile emits false error for a default-preserved const variable with size change in lfu build even though const variables are no longer default preserved.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium

      CODEGEN-11025 fixed an issue where const variables were incorrectly handled as default "preserve" lfu variables during an lfu compile/link.

      However, the lfu check to ensure that any default-preserved variable's size does not change  between the reference build and the lfu build is being done prior to the fix for above issue.  

      This is generating a false error similar to below for const variables that have a size change from the reference executable to the lfu executable:
      fatal error #30014: Cannot preserve address of symbol MeterRespCmdTable due to
         size being greater than in reference ELF. New symbol size = 256 bits, while
         reference symbol size = 192 bits.

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

              Created:
              Updated:
              Resolved: