diff options
-rw-r--r-- | chapter02/hostreqs.xml | 7 | ||||
-rw-r--r-- | chapter05/glibc.xml | 2 | ||||
-rw-r--r-- | chapter08/glibc.xml | 2 | ||||
-rw-r--r-- | general.ent | 4 |
4 files changed, 11 insertions, 4 deletions
diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 192eed8c1..862d2605c 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -93,8 +93,11 @@ <para>The reason for the kernel version requirement is that we specify that version when building <application>glibc</application> in <xref linkend="chapter-cross-tools"/> and - <xref linkend="chapter-building-system"/>, - at the recommendation of the developers.</para> + <xref linkend="chapter-building-system"/>, so the workarounds for + older kernels are not enabled and the compiled + <application>glibc</application> is slightly faster and smaller. + As at June 2023, &min-kernel; is the oldest kernel release still + supported by the kernel developers.</para> <para>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 66526ba4c..14f1fac6c 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -89,7 +89,7 @@ cd build</userinput></screen> --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</userinput></screen> diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index d094aed7f..5b9b56840 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -76,7 +76,7 @@ cd build</userinput></screen> <screen><userinput remap="configure">../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</userinput></screen> diff --git a/general.ent b/general.ent index 912a360d6..a222812e9 100644 --- a/general.ent +++ b/general.ent @@ -91,7 +91,11 @@ <!ENTITY livecd-root "&lfs-root;livecd/"> <!ENTITY test-results "&lfs-root;lfs/build-logs/&generic-version;/"> <!ENTITY secadv "&lfs-root;lfs/advisories/"> + +<!-- 4.14 EOL is Jan 2024 + so for LFS 11.5 we may consider moving to 4.19 --> <!ENTITY min-kernel "4.14"> + <!-- <!ENTITY patches-rootd "&lfs-root;patches/lfs/&generic-versiond;/"> <!ENTITY downloads-rootd "&lfs-root;lfs/downloads/&generic-versiond;/"> |