1 Description: build: set -mfpu=neon flag for armv7a builds
2 Building on armv7a with meson currenctly fails:
4 /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10369:1: error:
5 inlining failed in call to always_inline ‘vld1q_s32’: target
6 specific option mismatch
8 Set -mfpu=neon on that architecture like the legacy makefiles do to fix
11 Author: Luca Boccassi <bluca@debian.org>
12 Last-Update: 2018-11-15
13 --- a/config/arm/meson.build
14 +++ b/config/arm/meson.build
15 @@ -89,6 +89,9 @@ if cc.sizeof('void *') != 8
16 dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
17 dpdk_conf.set('RTE_ARCH_ARM', 1)
18 dpdk_conf.set('RTE_ARCH_ARMv7', 1)
19 + # the minimum architecture supported, armv7-a, needs the following,
20 + # mk/machine/armv7a/rte.vars.mk sets it too
21 + machine_args += '-mfpu=neon'
23 dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
24 dpdk_conf.set('RTE_ARCH_ARM64', 1)