aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/strippingagain.xml
Commit message (Collapse)AuthorAgeFilesLines
* Package updates.Bruce Dubbs2021-08-021-7/+15
| | | | | | Update to glibc-2.34. Update to diffutils-3.8. Update to libcap-2.52.
* always use --strip-unneeded for strippingXi Ruoyao2021-07-281-18/+5
| | | | | | | The behavior of --strip-unneeded and --strip-all are same for executables and shared libraries. For static libraries, --strip-unneeded keeps the symbols needed for relocation processing so it won't break static archives.
* Minor instruction changes and text updates.Bruce Dubbs2021-07-271-11/+15
| | | | | | | | | | | Move coreutils library from /usr/libexec to /usr/lib in both Chapter 6 and Chapter 8. Text updates in chapter08/pkgmgt.xml and chapter09/locale.xml. Restore deletion of hanging test in chapter08/util-linux.xml. Text changes in stripping and make instruction compatible with jhalfs.
* stripping: add libnss_*.so* into online_usrlibXi Ruoyao2021-07-281-1/+2
| | | | | | | | | | | | | Glibc loads these "NSS modules" (see man 5 nss) on startup. This is implemented with something like dlopen() so "ldd" won't show them up. So they should be considered "online" here. Without this addition, overwriting libnss_files-2.33.so reproducibly triggers a crash during jhalfs runs where stripping is enabled. In manual builds, it reproducibly triggers a crash exiting from chroot. After this change I reran stripping 5 times and there was no crash observed.
* Hopefully, complete strip workaroundXi Ruoyao2021-07-261-16/+50
| | | | | | | | | | | In stripping, /usr/bin/bash, /usr/bin/find, and /usr/bin/strip are running. Strip them, and all libraries used by them in /tmp, then install them back. We can't use this for all libraries or binaries: the process above discouples hard links (for example /usr/bin/perl and perl5.34.0). So unfortunately the stripping instruction is now a stupidly long bash script...
* Package updates and stripping fixesBruce Dubbs2021-07-251-4/+7
| | | | | | Add workaround to strip libraries correctly. Update to shadow-4.9. Update to util-linux 2.37.1.
* Merge Xi's changes into trunkDouglas R. Reno2021-05-111-14/+5
| | | | | | | | | | | | | Update to meson-0.58.0 Update to systemd-248 Update to gcc-11.1.0 Update to linux-5.12.1 Update to iproute2-5.12.0 Update to Python-3.9.5 Make /bin, /sbin, and /lib symlinks to their counterparts in /usr. Thanks again for a significant portion of this work goes to Xi, I only really merged it and made a couple of modifications for my updates. To LFS 11.x we go!
* - fix some gcc->GCCPierre Labastie2020-06-131-1/+1
| | | | | | - remove commented text in glibc (chap 5), and fix a directory location git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11934 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* - Fix SBUs in libpipelinePierre Labastie2020-06-131-1/+1
| | | | | | | - Update the disk usage gain in "Stripping Again" - mention SSD gain in e2fsprogs tests git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11933 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
* Initial commit of alternative cross LFSBruce Dubbs2020-06-071-0/+81
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689