|Non-Confidential||PDF version||ARM DUI0474M|
|Home > Linker Command-line Options > --force_explicit_attr|
Causes the linker to retry the CPU mapping using build attributes constructed when an architecture is specified with
--cpu option checks the FPU attributes if the CPU chosen has a
The error message
Input Objects contain <archtype> instructions but could not find valid target for <archtype> architecture based on object attributes. Suggest using --cpu option to select a specific cpu. is given
in the following situations:
The ELF file contains instructions from architecture
yet the build attributes claim that
is not supported.
The build attributes are inconsistent enough that the linker cannot map them to an existing CPU.
If setting the
--cpu option still fails, use
--force_explicit_attr to cause the linker to retry the CPU mapping using
build attributes constructed from
might help if the error is being given solely because of inconsistent build attributes.