-
Bug
-
Resolution: Fixed
-
High
-
Code Generation Tools
-
CODEGEN-4498
-
-
-
Decrease optimization to -O3, or compile everything for Cortex-R4
-
When compiling with -O4 optimization (--opt_level=4), if there are any Cortex-R4 object files and any Cortex-R5 object files in the program, the linker will refuse to link, indicating that Cortex-R4 and Cortex-R5 are incompatible options.
When you link with --opt_level=4 and -mv7R5, linker complains about object file incompatibility