Ubuntu 20.04 EOL
Looks like Ubuntu 20.04 LTS (Focal Fossa) reached the end of standard support. Should we drop it for DTS?
Asking because the recent patch to handle shadow warnings doesn't work on compilers like Gcc 9.4 which don't know what -Wshadow is.
Quoted 4 lines
From: Stephen Hemminger [mailto:[email protected]]
Sent: Thursday, 28 August 2025 06.35Looks like Ubuntu 20.04 LTS (Focal Fossa) reached the end of standard support.
Paid support is available until May 2030:
https://ubuntu.com/blog/ubuntu-20-04-lts-end-of-life-standard-support-is-coming-to-an-end-heres-how-to-prepare
Quoted 4 lines
Should we drop it for DTS?
Asking because the recent patch to handle shadow warnings doesn't work on compilers like Gcc 9.4 which don't know what -Wshadow is.
Our current minimum GCC compiler requirement is version 8.0:
https://git.dpdk.org/dpdk/tree/doc/guides/linux_gsg/sys_reqs.rst#n32
Which GCC version is required to support -Wshadow, and which GCC versions are included in relevant distros?
Maybe the -Wshadow can be added conditionally, depending on compiler version.
Shadow variables will not be caught locally, if using an old compiler version. But the CI will catch them in the tests running on recent compiler versions.
Quoted 4 lines
From: Stephen Hemminger [mailto:[email protected]]
Sent: Thursday, 28 August 2025 06.35Looks like Ubuntu 20.04 LTS (Focal Fossa) reached the end of standard support.
Paid support is available until May 2030:
https://ubuntu.com/blog/ubuntu-20-04-lts-end-of-life-standard-support-is-coming-to-an-end-heres-how-to-prepare
Quoted 1 line
Should we drop it for DTS?
I'm in favor of removing unsupported distros from the CI. The lack of security updates could be a reason.
Quoted 3 lines
Asking because the recent patch to handle shadow warnings doesn't work on compilers like Gcc 9.4 which don't know what -Wshadow is.
Our current minimum GCC compiler requirement is version 8.0:
https://git.dpdk.org/dpdk/tree/doc/guides/linux_gsg/sys_reqs.rst#n32
Which GCC version is required to support -Wshadow, and which GCC versions are included in relevant distros?
Maybe the -Wshadow can be added conditionally, depending on compiler version.
Shadow variables will not be caught locally, if using an old compiler version. But the CI will catch them in the tests running on recent compiler versions.
Quoted 4 lines · On Thu, 28 Aug 2025 08:50:23 +0200 Morten Brørup <[email protected]>…
Quoted 3 lines
Asking because the recent patch to handle shadow warnings doesn't work on compilers like Gcc 9.4 which don't know what -Wshadow is.
Quoted 8 lines
Our current minimum GCC compiler requirement is version 8.0:
https://git.dpdk.org/dpdk/tree/doc/guides/linux_gsg/sys_reqs.rst#n32Which GCC version is required to support -Wshadow, and which GCC versions are included in relevant distros?
Maybe the -Wshadow can be added conditionally, depending on compiler version.
Shadow variables will not be caught locally, if using an old compiler version. But the CI will catch them in the tests running on recent compiler versions.
Meson handles that part fine. It is the Pragma logic that seems to confuse. Working on doing it without pragma