--force_explicit_attr
Causes the linker to retry the CPU mapping using build attributes constructed when an architecture is specified with --cpu
.
Usage
The --cpu
option checks the FPU attributes if the CPU chosen has a
built-in FPU.
The error message L6463U
:
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 one
of two situations:
The ELF file contains instructions from architecture
archtype
yet the build attributes claim thatarchtype
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 --cpu=archtype
. This
might help if the error is being given solely because of inconsistent build attributes.