[LTP] [PATCH v3 2/2] Add centos10 to test matrix

Siddhesh Poyarekar siddhesh@gotplt.org
Mon Apr 7 15:43:45 CEST 2025


On 2025-04-07 07:13, Petr Vorel wrote:
>> gcc on CentOS 10 is configured to build with AVX on by default
>> (specifically, -march=x86-64-v3), unlike other compilers, so it should
>> be a useful addition to the test matrix.
> 
>> cve-2015-3290 for example fails to build on this without `-mno-avx` in
>> the build flags.
> 
> I don't want to add yet another CI job just to test previous commit.
> We already have quite a lot of distros (running is quite long).

So the reason I suggested adding centos10 is that it has a distinctly 
different toolchain from the other containers in the matrix.  The gcc on 
centos10 defaults to generating code for the x86-64-v3 baseline (which 
enables AVX by default) on x86_64 which is different from all of the 
other test environments in the matrix.

> @Li I suppose you want to keep centos 9 than to have centos 10.
> I guess for new distros we have Fedora.

centos9 defaults to x86-64-v2 FWIW, so it's kinda unique in that sense 
too.  Fedora does not change ISA baselines the way centos/RHEL does 
since the Fedora community would like to continue supporting the lowest 
common denominator in terms of architecture support.

Although I understand the need to keep the pre-commit CI run slim, just 
thought I'd add my $0.02 :)

Thanks,
Sid


More information about the ltp mailing list