-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-15865
-
-
-
default
-
Define the symbol using RUN_END(__STACK_END) in the linker command file.
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)