> -----Original Message----- > From: Honnappa Nagarahalli <[email protected]> > Sent: Monday, July 15, 2019 7:55 PM > To: Jerin Jacob Kollanukkaran <[email protected]>; Gavin Hu (Arm > Technology China) <[email protected]>; [email protected] > Cc: nd <[email protected]>; [email protected]; Pavan Nikhilesh Bhagavatula > <[email protected]>; [email protected]; Honnappa Nagarahalli > <[email protected]>; nd <[email protected]> > 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 <[email protected]>

