[dpdk-stable] [PATCH] config: fix meson build failure on ThunderX2

Jerin Jacob Kollanukkaran jerinj at marvell.com
Mon Jul 15 05:57:55 CEST 2019


> -----Original Message-----
> From: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>
> Sent: Friday, July 12, 2019 10:10 PM
> To: Jerin Jacob Kollanukkaran <jerinj at marvell.com>; Gavin Hu (Arm
> Technology China) <Gavin.Hu at arm.com>; dev at dpdk.org
> Cc: nd <nd at arm.com>; thomas at monjalon.net; Pavan Nikhilesh Bhagavatula
> <pbhagavatula at marvell.com>; stable at dpdk.org; Honnappa Nagarahalli
> <Honnappa.Nagarahalli at arm.com>; nd <nd at arm.com>
> Subject: [EXT] RE: [PATCH] config: fix meson build failure on ThunderX2
> > > Since gcc-8.3(I tried 8.3 and 9.1), the meson build failed on ThunderX2.
> > > It got the following compiling errors:
> > > /usr/lib/gcc/aarch64-linux-gnu/9/include/arm_neon.h:26493:1: error:
> > > inlining failed in call to always_inline ‘vmull_p64’: target
> > > specific option mismatch 26493 | vmull_p64 (poly64_t a, poly64_t b)
> > >
> > > Fixes: 7286c9d7234f ("config: add thunderx2 machine")
> > > Cc: jerinj at marvell.com
> > > Cc: stable at dpdk.org
> > >
> > > Signed-off-by: Gavin Hu <gavin.hu at arm.com>
> > > Reviewed-by: Phil Yang <phil.yang at arm.com>
> > > Reviewed-by: Jingzhao Ni <jingzhao.ni at arm.com>
> >
> > Thanks Gavin.
> > Able to reproduce this issue with gcc 9.1 and proposed patch fixing
> > the issue as well.
> Jerin, any reason for not enabling LSE on ThunderX2?

LSE is enabled when -mcpu=thunderx2t99 selected.

$ aarch64-linux-gnu-gcc  -mcpu=thunderx2t99 -dM -E - </dev/null | grep __ARM_FEATURE_ATOMICS
#define __ARM_FEATURE_ATOMICS 1

> 
> >
> > Acked-by: Jerin Jacob <jerinj at marvell.com>


More information about the stable mailing list