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

Honnappa Nagarahalli Honnappa.Nagarahalli at arm.com
Mon Jul 15 18:04:59 CEST 2019


> >
> > > > 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.
Yes, works fine. Thanks.

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


More information about the stable mailing list