-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-12829
-
-
-
-
default
-
Keep size the same between reference and lfu builds or mark the variable as attribute(update)
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.