]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Require Linux kernel 3.2 or later on x86 / x86_64.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 8 May 2017 10:45:20 +0000 (10:45 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 8 May 2017 10:45:20 +0000 (10:45 +0000)
As per the recent discussion, this patch implements a requirement for
Linux 3.2 or later for x86 and x86_64.  This is only the initial
change to increase the configured minimum; it's expected that followup
patches would deal with associated removal of conditionals that are no
longer needed.  If we remove the start-up test on the kernel version,
of course the NEWS and README text should then be revised (to reflect
that this version is just one such that glibc does not intend to
include compatibility code for any older kernel version, rather than
older kernels necessarily failing to work or glibc necessarily having
compatibility code for newer interfaces).

The followups would be able to assume presence of getcpu (x86_64),
recvmmsg (not always through its own syscall, sometimes only through
socketcall), sendmmsg (likewise), /proc/$pid/task/$tid/comm, f_flags
from statfs, prlimit64.

Tested for x86_64 and x86.

* sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
Remove.
* sysdeps/unix/sysv/linux/i386/configure: Regenerated.
* sysdeps/unix/sysv/linux/x86_64/64/configure.ac
(arch_minimum_kernel): Remove.
* sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
* README: Update statement about Linux kernel requirements.

ChangeLog
NEWS
README
sysdeps/unix/sysv/linux/i386/configure
sysdeps/unix/sysv/linux/i386/configure.ac
sysdeps/unix/sysv/linux/x86_64/64/configure
sysdeps/unix/sysv/linux/x86_64/64/configure.ac

index ee121d7d10e32caa68a87b1c41f69c9569bca77e..4e29d936584d5e511472286661c5506954bfc3aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2017-05-08  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
+       Remove.
+       * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
+       * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
+       (arch_minimum_kernel): Remove.
+       * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
+       * README: Update statement about Linux kernel requirements.
+
 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * manual/llio.texi: Add preadv and pwritev documentation.
diff --git a/NEWS b/NEWS
index 5558ca31d837e4cc938b5d0399390257959772a0..2a1e85108d068c1b7ebf44ede6e1cdb17a18a3e7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -57,6 +57,10 @@ Version 2.26
   be added on next major revision of POSIX, so current support is enabled
   with _GNU_SOURCE.
 
+* The minimum Linux kernel version that this version of the GNU C Library
+  can be used with on i[4567]86 and x86_64 is 3.2.  A Linux 3.2 or later
+  kernel was already required on all other architectures.
+
 Security related changes:
 
 * The DNS stub resolver limits the advertised UDP buffer size to 1200 bytes,
diff --git a/README b/README
index be687c7dc3c70a247393bbadba984cd25d9b905b..c3d17d13788764fc77c538ef13800d0fde2ce0db 100644 (file)
--- a/README
+++ b/README
@@ -17,9 +17,7 @@ GNU/Hurd support requires out-of-tree patches that will eventually be
 incorporated into an official GNU C Library release.
 
 When working with Linux kernels, this version of the GNU C Library
-requires Linux kernel version 3.2 or later on all architectures except
-i[4567]86 and x86_64, where Linux kernel version 2.6.32 or later
-suffices.
+requires Linux kernel version 3.2 or later.
 
 Also note that the shared version of the libgcc_s library must be
 installed for the pthread library to work correctly.
index ae2c3567c57fa447b0407cb67eb59f41accd5ec7..0327590486c80777d6daa72dab4017219d142f90 100644 (file)
@@ -1,8 +1,6 @@
 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/unix/sysv/linux/i386.
 
-arch_minimum_kernel=2.6.32
-
 # Check if CFLAGS allows compiler to use ebp register in inline assembly.
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler flags allows ebp in inline assembly" >&5
index 1cd632e5c621b3f8f05be142ff765fc4d9c281b9..9e980784bb826463b448ce823a8cc0e22ab8d645 100644 (file)
@@ -1,8 +1,6 @@
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/unix/sysv/linux/i386.
 
-arch_minimum_kernel=2.6.32
-
 # Check if CFLAGS allows compiler to use ebp register in inline assembly.
 AC_CACHE_CHECK([if compiler flags allows ebp in inline assembly],
                 libc_cv_can_use_register_asm_ebp, [
index 4d3f84567bd9196788d7875e49344c19dd8be293..9d1a8d271d7e7fbc56d916be25f3c7a52429ea67 100644 (file)
@@ -1,8 +1,6 @@
 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/unix/sysv/linux/x86_64/64.
 
-arch_minimum_kernel=2.6.32
-
 test -n "$libc_cv_slibdir" ||
 case "$prefix" in
 /usr | /usr/)
index 81114e8b27fc70acf8e6e3adc1ccf62dce8b71d2..8e863b94ad1c47f94a466b0d465eb1bb82543e20 100644 (file)
@@ -1,6 +1,4 @@
 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/unix/sysv/linux/x86_64/64.
 
-arch_minimum_kernel=2.6.32
-
 LIBC_SLIBDIR_RTLDDIR([lib64], [lib64])