[LTP] [PATCH 0/2] Remove CentOS 7 support

Petr Vorel pvorel@suse.cz
Wed Oct 25 16:01:07 CEST 2023


Hi all,

we recently had yet another regression on old CentOS 7 (kernel 3.10,
glibc 2.17, gcc 4.8.5 [1]. That brought me to the question if we still
want to support it.

Although we test in SUSE also very old SLES releases, these are tested
with older LTP releases. I suppose Red Hat does the same with RHEL
(Li, Jan, please correct me if not, or feel free to introduce another
CentOS version, as there will none with this patchset), thus why
pretend current LTP is useful on these old releases.

I wonder who is actually interested in keeping LTP compilable for CentOS 7.
According to distrowatch it EOL in 2024-06 [2], but does anybody even run new
LTP on it. If yes, please speak up, but I'd expect that person to
actually maintain CI failures.

The oldest SLES release SUSE actually tests with the latest LTP release is
SLE12-SP2 (kernel 4.4, glibc 2.22 and gcc 4.8.5). The latest kernel LTSS is
4.14. Thus removing CentOS 7 from the CI and re-adding Ubuntu 16.04 LTS
xenial (kernel 4.4, glibc 2.23, gcc 5.3.1) would more or less fit SUSE
needs. It actually EOL, but docker is still supported [3].

The benefit would be to have 3 years younger base kernel and glibc (thus
less lapi fallbacks needed). If this is accepted, I'll have look on
older code and send following patches which removes it.

We currently use -std=gnu99 since dc7be30e2 ("config: Explicitly set gnu99"),
which documents that can't use C99 because LTP is far from compliant.
Therefore I'd keep it the same until we rewrite (or delete) the old code.
(xenial gcc 5.3.1 has the default dialect -std=gnu11 [4], SLE12-SP2 gcc 4.8.5 is
-std=gnu90 [5], C99 is already supported in gcc 4.5, with -fextended-identifiers
[6]).

Kind regards,
Petr

Petr Vorel (2):
  CI: ReAplace CentOS 7 with openSUSE Leap 42.2, Ubuntu xenial
  doc/support: Update the latest tested distros

 .github/workflows/ci.yml                        | 17 +++++++++++------
 ...ed-kernel,-libc,-toolchain-versions.asciidoc |  2 +-
 2 files changed, 12 insertions(+), 7 deletions(-)

-- 
2.42.0



More information about the ltp mailing list