diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2c10d942e..ff13299d8 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -44,32 +44,32 @@ 2022-08-20 - [bdubbs] - Update to gcc-12.2.0. Fixes - #5098. + [bdubbs] - Update to vim-9.0.0228. Addresses + #4500. [bdubbs] - Update to iana-etc-20220812. Addresses #5006. - [bdubbs] - Update to linux-5.19.2 (security fixes). Fixes + [bdubbs] - Update to gcc-12.2.0. Fixes + #5098. + + + [bdubbs] - Update to linux-5.19.2. Fixes #5097. - - [bdubbs] - Update to meson-0.63.1. Fixes - #5094. - - - [bdubbs] - Update to shadow-4.12.2 (security fix). Fixes - #5095. - [bdubbs] - Update to tzdata-2022c. Fixes #5096. - [bdubbs] - Update to vim-9.0.0228. Addresses - #4500. + [bdubbs] - Update to shadow-4.12.2. Fixes + #5095. + + + [bdubbs] - Update to meson-0.63.1. Fixes + #5094. [bdubbs] - Update to xz-5.2.6. Fixes diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 6f0222a1a..1ee469b77 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -224,9 +224,9 @@ - + @@ -257,9 +257,9 @@ - + Zlib-&zlib-version; diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index df67235c9..ecd0ee671 100644 --- a/chapter08/stripping.xml +++ b/chapter08/stripping.xml @@ -13,9 +13,9 @@ This section is optional. If the intended user is not a programmer and does not plan to do any debugging on the system software, the system size can be decreased - by about 2 GB by removing the debugging symbols from binaries and - libraries. This causes no inconvenience other than not being able to - debug the software fully anymore. + by about 2 GB by removing the debugging symbols and unneeded symbol table + entries from binaries and libraries. This causes no inconvenience other + than not being able to debug the software fully anymore. Most people who use the commands mentioned below do not experience any difficulties. However, it is easy to make a typo and @@ -23,6 +23,12 @@ strip commands, it is a good idea to make a backup of the LFS system in its current state. + A strip command with + --strip-unneeded option removes all debug symbols + from a binary or library. And, it removes all symbol table entries not + needed by the linker (for static libraries) or dynamic linker (for + dynamic-linked binaries and shared libraries). + The debugging symbols for selected libraries are placed in separate files. This debugging information is needed if running regression tests that use make check One test, capabilities: binary store/restore, is known to fail if it is - run (LFS lacks selinux), but will be skipped if the host kernel does + run because LFS lacks selinux, but will be skipped if the host kernel does not support extended attributes on the filesystem used for building LFS. Install the package: diff --git a/packages.ent b/packages.ent index a22ba276b..e527bbfbb 100644 --- a/packages.ent +++ b/packages.ent @@ -35,7 +35,7 @@ - + @@ -45,8 +45,8 @@ - - + + @@ -54,16 +54,16 @@ - + - + - + @@ -71,22 +71,22 @@ - + - - - - + + + + - + - - + + @@ -102,25 +102,25 @@ - + - + - - + + - - + + @@ -135,9 +135,9 @@ - + - + @@ -145,15 +145,15 @@ - - + + - + @@ -184,9 +184,9 @@ - - - + + + @@ -196,15 +196,15 @@ - - + + - + @@ -214,7 +214,7 @@ - + @@ -224,20 +224,18 @@ - + - - + + - + - - @@ -252,9 +250,9 @@ - + - + @@ -262,19 +260,18 @@ - - + + - - - + + @@ -289,10 +286,10 @@ - + - - + + @@ -307,7 +304,7 @@ - + @@ -317,15 +314,15 @@ - - + + - + @@ -334,7 +331,7 @@ - + @@ -350,7 +347,7 @@ - + @@ -367,7 +364,7 @@ - + @@ -375,7 +372,7 @@ - + @@ -416,14 +413,14 @@ - + - + @@ -449,7 +446,7 @@ - + - - + + - + @@ -693,17 +690,17 @@ - - + + - + - + @@ -724,10 +721,10 @@ - - - - + + + + @@ -737,8 +734,8 @@ - - + + @@ -746,7 +743,7 @@ - + @@ -754,7 +751,7 @@ - + @@ -762,9 +759,9 @@ - + - + @@ -772,9 +769,7 @@ - - - + @@ -782,6 +777,6 @@ - +