-
Bug
-
Resolution: Unresolved
-
Low
-
Code Generation Tools
-
CODEGEN-10693
-
ARM_20.2.7.LTS
-
default
The attached files each contain this variable definition ...
void *global_handle;
Build it with no optimization ...
% armcl -mv7m4 -mt -me f1.c f2.c -z -o f.out [f1.c] [f2.c] <Linking>
... a clean build results. Build it with link time optimization ...
% armcl -mv7m4 -mt -me -o4 f1.c f2.c -z -o f.out [f1.c] [f2.c] <Linking> error: symbol "global_handle" has already been defined >> Compilation failure >> Compilation failure fatal error: Failed linktime optimization >> Compilation failure
... errors are emitted.