From 942e81de788ae13a07afe6e6abbbb4fd6a1719ac Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 21 Aug 2022 20:27:28 +0800 Subject: [PATCH 1/4] stripping: also mention symbol table bisides debug symbols --- chapter08/stripping.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index 519119088..d82b72ac1 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 Date: Sun, 21 Aug 2022 08:36:00 -0500 Subject: [PATCH 2/4] Update stats for systemd packages in preparation of 11.2-rc1 --- packages.ent | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages.ent b/packages.ent index 3ee2b7971..9c3213c8b 100644 --- a/packages.ent +++ b/packages.ent @@ -119,8 +119,8 @@ - - + + @@ -358,7 +358,7 @@ - + @@ -487,7 +487,7 @@ - + @@ -654,8 +654,8 @@ - - + + From a7a9d696fc3c4dcaedf44d1a1e9fdfe1120b98ae Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 21 Aug 2022 10:04:47 -0500 Subject: [PATCH 3/4] Minor updates --- chapter01/changelog.xml | 26 +++++++++++++------------- chapter01/whatsnew.xml | 8 ++++---- chapter08/tar.xml | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 07e530bec..d49840dad 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/tar.xml b/chapter08/tar.xml index b4ec0e28b..bfb1cf469 100644 --- a/chapter08/tar.xml +++ b/chapter08/tar.xml @@ -73,7 +73,7 @@ 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: From fd6f71bd35f15453a881f48d5c3490da53727057 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 21 Aug 2022 12:00:34 -0500 Subject: [PATCH 4/4] Update SBU times and disk usage for all packages --- packages.ent | 187 +++++++++++++++++++++++++-------------------------- 1 file changed, 91 insertions(+), 96 deletions(-) diff --git a/packages.ent b/packages.ent index 9c3213c8b..5d8adcf7d 100644 --- a/packages.ent +++ b/packages.ent @@ -35,7 +35,7 @@ - + @@ -45,8 +45,8 @@ - - + + @@ -54,16 +54,16 @@ - + - + - + @@ -71,22 +71,22 @@ - + - - - - + + + + - + - - + + @@ -102,17 +102,17 @@ - + - + - - + + @@ -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 @@ - + @@ -366,7 +363,7 @@ - + @@ -407,14 +404,14 @@ - + - + @@ -440,7 +437,7 @@ - + @@ -728,8 +725,8 @@ - - + + @@ -737,7 +734,7 @@ - + @@ -745,7 +742,7 @@ - + @@ -753,9 +750,9 @@ - + - + @@ -763,9 +760,7 @@ - - - + @@ -773,6 +768,6 @@ - +