diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index d6f9cf584..e94f41f4c 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -93,8 +93,11 @@ The reason for the kernel version requirement is that we specify that version when building glibc in and - , - at the recommendation of the developers. + , so the workarounds for + older kernels are not enabled and the compiled + glibc is slightly faster and smaller. + As at June 2023, &min-kernel; is the oldest kernel release still + supported by the kernel developers. If the host kernel is earlier than &min-kernel; you will need to replace the kernel with a more up-to-date version. There are two ways diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 5760d249c..0339a7b22 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -92,7 +92,7 @@ cd build --prefix=/usr \ --host=$LFS_TGT \ --build=$(../scripts/config.guess) \ - --enable-kernel=&min-kernel; \ + --enable-kernel=&min-kernel; \ --with-headers=$LFS/usr/include \ libc_cv_slibdir=/usr/lib ../configure \ diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 4039ec9cb..d11eb719c 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -76,7 +76,7 @@ cd build ../configure --prefix=/usr \ --disable-werror \ - --enable-kernel=&min-kernel; \ + --enable-kernel=&min-kernel; \ --enable-stack-protector=strong \ --with-headers=/usr/include \ libc_cv_slibdir=/usr/lib diff --git a/general.ent b/general.ent index 912a360d6..a222812e9 100644 --- a/general.ent +++ b/general.ent @@ -91,7 +91,11 @@ + + +