[PATCH] config/arm: fix 32-bit cross compile with latest GCC
Thomas Monjalon
thomas at monjalon.net
Wed Jan 28 10:56:57 CET 2026
14/01/2026 18:37, Wathsala Vithanage:
>
> On 1/14/26 11:13, Bruce Richardson wrote:
> > When building for 32-bit arm with GCC versions >=11 and using the
> > DPDK-provided cross-file, the initial configuration step fails The
> > error given is:
> >
> > config/meson.build:189:8: ERROR: Problem encountered: \
> > Compiler does not support "armv8-a" arch flag.
> >
> > but the real problem is actually an fpu-related error which is explained
> > in the meson log file:
> >
> > cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU
> >
> > This error can be fixed by specifying an fpu explicitly, and a number of
> > options will work, e.g. -mfpu=neon, -mfpu=fp-armv8. Choosing the latter
> > here to avoid mandating neon by default.
> >
> > Fixes: e754875c296c ("config/arm: add aarch32 cross-compilation")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>
> Reviewed-by: Wathsala Vithanage <wathsala.vithanage at arm.com>
Applied, thanks.
More information about the stable
mailing list