From 491bdcbe9fdf9342a803f67679e631bff8bbb5f2 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 16 Mar 2022 16:27:15 -0700 Subject: [PATCH] Clarify the comment about CentOS 7's kernel version --- src/ci/docker/host-x86_64/dist-i686-linux/Dockerfile | 4 +++- src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ci/docker/host-x86_64/dist-i686-linux/Dockerfile b/src/ci/docker/host-x86_64/dist-i686-linux/Dockerfile index 1ed02a75fcf..cd86d9fb584 100644 --- a/src/ci/docker/host-x86_64/dist-i686-linux/Dockerfile +++ b/src/ci/docker/host-x86_64/dist-i686-linux/Dockerfile @@ -1,5 +1,7 @@ # We document platform support for minimum glibc 2.17 and kernel 3.2. -# CentOS 7 has kernel 3.10, but that's not as important as matching the glibc version. +# CentOS 7 has headers for kernel 3.10, but that's fine as long as we don't +# actually use newer APIs in rustc or std without a fallback. It's more +# important that we match glibc for ELF symbol versioning. FROM centos:7 WORKDIR /build diff --git a/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile b/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile index a33af533189..973c43072bf 100644 --- a/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile +++ b/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile @@ -1,5 +1,7 @@ # We document platform support for minimum glibc 2.17 and kernel 3.2. -# CentOS 7 has kernel 3.10, but that's not as important as matching the glibc version. +# CentOS 7 has headers for kernel 3.10, but that's fine as long as we don't +# actually use newer APIs in rustc or std without a fallback. It's more +# important that we match glibc for ELF symbol versioning. FROM centos:7 WORKDIR /build