AR# 68482

|

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

Description

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'

Solution

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

https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html

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.

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0774b/chr1417451577871.html

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
Devices
Tools
People Also Viewed