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

Jerin Jacob Kollanukkaran jerinj at marvell.com
Mon Jul 15 16:34:52 CEST 2019



> -----Original Message-----
> From: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>
> Sent: Monday, July 15, 2019 7:55 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
> 
> > > 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
> 
> This does not work with older GCC versions [1]. They need LSE enabled
> explicitly.
> 
> [1] https://godbolt.org/z/2nmASR

Looks like, you have selected "armv8-a+crc" not "armv8.1-a+crc" in the godbolt.
It comes properly with armv8.1-a+crc. Please check.

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


More information about the dev mailing list