[openwrt/openwrt] toolchain: glibc: set min kernel version to 6.6

LEDE Commits lede-commits at lists.infradead.org
Tue May 20 02:42:28 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/45889aecf8aa818bc00ac254b7ef2f6b3246a067

commit 45889aecf8aa818bc00ac254b7ef2f6b3246a067
Author: Konstantin Demin <rockdrilla at gmail.com>
AuthorDate: Tue May 20 10:04:14 2025 +0300

    toolchain: glibc: set min kernel version to 6.6
    
    Minimum kernel version is 6.6 so it's safe to increase minimum kernel version to 6.6 for glibc too.
    This change effectively removes last compatibility quirk in [1] which leads to better/faster detection of SVE support in string ifuncs for aarch64.
    Furthermore, this change will allow to use "fchmodat2" syscall within fchmodat() wrapper in future glibc versions (starting from 2.39) as noted in [2] and [3].
    
    [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/aarch64/cpu-features.c;h=4a205a6b35050ffcfac771b4b4ff2d9fb7581f93;hb=refs/heads/release/2.38/master
    [2] https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/kernel-features.h;h=86b2d3ce512588c8823c11076c91116092836402;hb=refs/heads/release/2.41/master
    [3] https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/fchmodat.c;h=dd1fa5db86bde99fe3eb4804b06c5adf11914b94;hb=refs/heads/release/2.41/master
    
    Signed-off-by: Konstantin Demin <rockdrilla at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18850
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 toolchain/glibc/common.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 3ef5c3c0fb..c8931361d7 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -69,7 +69,7 @@ GLIBC_CONFIGURE:= \
 		  $(if $(CONFIG_PKG_RELRO_FULL),--enable-bind-now) \
 		  $(if $(CONFIG_PKG_FORTIFY_SOURCE_1),--enable-fortify-source=1) \
 		  $(if $(CONFIG_PKG_FORTIFY_SOURCE_2),--enable-fortify-source=2) \
-		--enable-kernel=5.15.0
+		--enable-kernel=6.6.0
 
 export libc_cv_ssp=no
 export libc_cv_ssp_strong=no




More information about the lede-commits mailing list