Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76247 - [glibc] Support for older kernels
Attached to Project:
Arch Linux
Opened by Josh Bendavid (joshbendavid) - Wednesday, 19 October 2022, 11:51 GMT
Opened by Josh Bendavid (joshbendavid) - Wednesday, 19 October 2022, 11:51 GMT
|
DetailsDescription:
glibc doesn't work with kernels earlier than 4.4. Having support for 3.10 would be extremely useful for running arch-based containers on older systems. (In particular because of the discontinuing of Centos, many research institutions have stayed on Centos 7 longer than originally planned, so maintaining support in this transition period would be extremely useful.) It's sufficient to just change the --enable-kernel configuration option. Steps to reproduce: Start an arch-based docker container on Centos 7 (or any system running a kernel older than 4.4) |
This task depends upon
Also there ARE official docker images for Arch on Docker Hub so this is a "supported" way of using arch somehow, just a question of how broad a range of host systems are supported.
So there is more work required than just changing a configure parameter.
I can't state anything about the support of our docker images. Though I doubt that unsupported kernels is something we aim at.
Feel free to apply as Developer to help maintain glibc if the offered solution doesn't suit your needs.
(Most other major distros seem to still support older kernels in their glibc builds, most likely for this reason)
Presumably the full combination of host systems/kernels for running containers is not really tested anyways (arch images work on RHEL8 or clones for example, but those have their own kernels etc etc)
FS#69663. The decision for 4.4 was made here [1]. The rationale back then was sound, but waters were somewhat muddied due to multiple issues being conflated. FWIW both Fedora/Debian appear to be using 3.2.Back in the very old days, `--enable-kernel=x.y.z' could be used to cut out a lot of compatibility cruft. This made your glibc go faster! Looking at current `sysdeps/unix/sysv/linux/kernel-features.h' the macros impacted by the difference between 3.2 and 4.4 is not many, maybe 3 or so. Therefore, if we went back to 3.2, our glibc would be slower (but not by a noticeable amount I'm guessing).
Anyway, I vote for the status quo :)
[1] https://bugs.archlinux.org/task/69563#comment196734
But this is a no for the Arch repo from my side.