Drop support for optional packages with system gcc 4.x on ubuntu-trusty, debian-jessie, linuxmint-17, centos-7
mkoeppe opened this issue · 15 comments
ubuntu-trusty 14.04 is long past "standard support" and will reach its EOL in April 2022 (https://wiki.ubuntu.com/Releases), but several optional packages do not build on it because of an outdated compiler (gcc 4.x)
debian-jessie (8) is past EOL LTS, with EOL ELTS in June 2022 (https://wiki.debian.org/DebianReleases). Same situation with gcc 4.x.
linuxmint-17 is past EOL (https://forums.linuxmint.com/viewtopic.php?t=289281). gcc 4.x
centos-7 has EOL June 2024. gcc 4.x
We switch these systems in the GH Actions CI tests for optional packages to using the gcc_spkg configuration factor.
Next wave:
linuxmint-18with gcc 5.4slackware-14.2with gcc 5.5
Depends on #29527
Component: porting
Author: Matthias Koeppe
Branch/Commit: 17ca365
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/31526
Author: Matthias Koeppe
It's a bit bad for the centos-7 that still is far from EOL.
What's the recommended way around for users on this? -without-system-gcc? Can we test this?
Then again from what I see the tox-gcc_spkg.yml run is far from stable, so perhaps we do not gain anything by adding it.
Yes, trying to fix up some gcc_spkg builds (on top of #29703), and then testing optional packages with that could be a possible strategy.
Perhaps we should also add a configure warning if we encounter ancient system gccs, advising users to upgrade their system or at least their toolchain (related: #27853)
Description changed:
---
+++
@@ -6,7 +6,7 @@
`centos-7` has EOL June 2024. gcc 4.x
-We remove these systems from the GH Actions CI tests for optional packages.
+We switch these systems in the GH Actions CI tests for optional packages to using the `gcc_spkg` configuration factor.
Next wave:Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
17ca365 | .github/workflows/tox-{optional,experimental}.yml: Switch distributions with gcc 4.x to using gcc_spkg |
lgtm
Thanks!
Reviewer: Dima Pasechnik