ARM Hard Float Support

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Feb 24 06:28:44 UTC 2020


Hello Joel,

On 24/02/2020 02:55, Joel Sherrill wrote:
> Hi
> 
> What's the state of the world on ARM hard float support? I was asked by
> someone about these options:
> 
> -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16
> 
> -march=armv7-a+simd
> 
> When I test build a simple main(), I end up with a library mismatch which
> usually means we are missing a proper multilib variant. I tried this 
> with the
> rtems6 gcc 10 snapshot.
> 
> I looked at our gcc t-rtems versus the main one for elf/eabi and those seem
> to have a LOT more variants.
> 
> Any insight would be appreciated.

GCC 8, 9 and 10 are not supported by the ARM BSPs right now.

You can try this with GCC 10:

-mthumb -march=armv7-a+simd -mfloat-abi=hard

Why do they use -mfpu=vfpv3-d16? This seems to be quite a non-standard 
ARMv7-A chip.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list