AR# 68482


SDK - Zynq UltraScale+ MPSoC FPU ABI configuration (mfloat-abi)


Configuring floating ABI through the mfloat-abi compiler option generates the following error when targeting ARMv8 AArch64 targets:

aarch64-none-elf-gcc: error: unrecognized command line option '-mfloat-abi=hard'


According to GCC documentation, the AArch64 GCC compiler no longer supports the -mfloat-abi options.

According to ARM's compiler documentation, the -mfloat-abi option is not valid with ARMv8 AArch64 targets.

AArch64 targets use hardware floating-point instructions and hardware floating-point linkage.

However, you can prevent the use of floating-point instructions or floating point registers for AArch64 targets with the -mcpu=name+nofp+nosimd option. 

Subsequent use of floating-point data types in this mode is unsupported.

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
66297 SDK - Design Assistant N/A N/A
AR# 68482
Date 10/18/2018
Status Active
Type Solution Center
People Also Viewed