diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index d49840dad..238b5bee7 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -41,540 +41,10 @@ --> - 2022-08-20 + 2022-09-01 - [bdubbs] - Update to vim-9.0.0228. Addresses - #4500. - - - [bdubbs] - Update to iana-etc-20220812. Addresses - #5006. - - - [bdubbs] - Update to gcc-12.2.0. Fixes - #5098. - - - [bdubbs] - Update to linux-5.19.2. Fixes - #5097. - - - [bdubbs] - Update to tzdata-2022c. Fixes - #5096. - - - [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 - #5093. - - - - - - 2022-08-18 - - - [xry111] - Remove libtool archive (.la) files in Chapter 5 - and 6 because those files are harmful for cross compilation. - - - - - - 2022-08-11 - - - [bdubbs] - Update to vim-9.0.0192. Addresses - #4500. - - - [bdubbs] - Update to iana-etc-20220803. Addresses - #5006. - - - [bdubbs] - Update to tzdata-2022b. Fixes - #5092. - - - [bdubbs] - Update to iproute2-5.19.0. Fixes - #5086. - - - [bdubbs] - Update to linux-5.19.1. Fixes - #5085. - - - [bdubbs] - Update to bc-6.0.1. Fixes - #5090. - - - - - - 2022-08-06 - - - [bdubbs] - Update to binutils-2.39. Fixes - #5089. - - - [bdubbs] - Update to util-linux-2.38.1. Fixes - #5088. - - - [bdubbs] - Update to Python3-3.10.6. Fixes - #5087. - - - [bdubbs] - Update to glibc-2.36. Fixes - #5084. - - - - - - 2022-07-24 - - - [bdubbs] - Update to linux-5.18.14. (Security fixes - for machines affected by the RETBleed vulnerability). Fixes - #5082. - - - [bdubbs] - Update to libcap-2.65. Fixes - #5083. - - - - - - 2022-07-15 - - - [bdubbs] - Update to meson-0.63.0. Fixes - #5079. - - - [bdubbs] - Update to kmod-30. Fixes - #5077. - - - [bdubbs] - Update to inetutils-2.3. Fixes - #5081. - - - [bdubbs] - Update to linux-5.18.11. Fixes - #5078. - - - [bdubbs] - Update to OpenSSL-3.0.5. Fixes - #5080. - - - - - - 2022-07-01 - - - [bdubbs] - Update to vim-9.0.0006. Addresses - #4500. - - - [bdubbs] - Update to iana-etc-20220610. Addresses - #5006. - - - [bdubbs] - Update to OpenSSL-3.0.4. Fixes - #5076. - - - [bdubbs] - Update to kbd-2.5.1. Fixes - #5075. - - - [bdubbs] - Update to linux-5.18.8. Fixes - #5074. - - - [bdubbs] - Update to bc-5.3.3. Fixes - #5073. - - - - - - 2022-06-29 - - - [pierre] - Generate shared C++ bindings for ncurses, instead - of generating and then removing the static ones. - - - - - - 2022-06-14 - - - [bdubbs] - Update to python3-3.10.5. Fixes - #5070. - - - [bdubbs] - Update to meson-0.62.2. Fixes - #5068. - - - [bdubbs] - Update to kbd-2.5.0. Fixes - #5067. - - - [bdubbs] - Update to file-5.42. Fixes - #5072. - - - [bdubbs] - Update to linux-5.18.3. Fixes - #5069. - - - [bdubbs] - Update to bc-5.3.1. Fixes - #5071. - - - - - - 2022-05-29 - - - [bdubbs] - Update to iana-etc-20220524. - Addresses #5006. - - - [bdubbs] - Update to iproute2-5.18.0. Fixes - #5065. - - - [bdubbs] - Update to linux-5.18.1. Fixes - #5061. - - - [bdubbs] - Update to perl-5.36.0. Fixes - #5066. - - - - - - 2022-05-29 - - - [xry111] - Update to vim-8.2.5014 (security fixes). - Addresses #4500. - - - [xry111] - Update to ninja-1.11.0. Fixes - #5062. - - - [xry111] - Update to systemd-251. Fixes - #5064. - - - - - - 2022-05-16 - - - [bdubbs] - Update to linux-5.17.7. Fixes - #5059. - - - [bdubbs] - Update to psmisc-23.5. Fixes - #5060. - - - - - - 2022-05-01 - - - [bdubbs] - Update to openssl-3.0.3. Fixes - #5057. - - - - - - 2022-05-01 - - - [bdubbs] - Change nobody/nogroup uid/gid to 65534. - - - [bdubbs] - Update to meson-0.62.1. Fixes - #5052. - - - [bdubbs] - Update to libpipeline-1.5.6. Fixes - #5053. - - - [bdubbs] - Update to elfutils-0.187. Fixes - #5054. - - - [bdubbs] - Update to Jinja2-3.1.2. Fixes - #5055. - - - [bdubbs] - Update to vim-8.2.4814. Addresses - #4500. - - - [bdubbs] - Update to sysvinit-3.03. Fixes - #5046. - - - [bdubbs] - Update to linux-5.17.5. Fixes - #5050. - - - [bdubbs] - Update to gcc-11.3.0. Fixes - #5051. - - - [bdubbs] - Update to coreutils-9.1. Fixes - #5048. - - - [bdubbs] - Update to bc-5.2.4. Fixes - #5049. - - - - - - 2022-04-15 - - - [bdubbs] - Add wheel-0.37.1 (Python module). - - - - - - 2022-04-15 - - - [ken] - Patch Xz for a security fix. Fixes - #5047. - - - [bdubbs] - Update to libcap-2.64. Fixes - #5044. - - - [bdubbs] - Update to linux-5.17.3. Fixes - #5043. - - - [bdubbs] - Update to gzip-1.12. Fixes - #5042. - - - - - - 2022-03-31 - - - [bdubbs] - Update to sysvinit-3.02. Fixes - #5041. - - - [bdubbs] - Update to zlib-1.2.12 (Security Update). Fixes - #5040. - - - [bdubbs] - Update to expat-2.4.8. Fixes - #5039. - - - [bdubbs] - Update to Jinja2-3.1.1. Fixes - #5038. - - - [bdubbs] - Update to Python-3.10.4. Fixes - #5037. - - - [bdubbs] - Update to procps-ng-4.0.0. Fixes - #5036. - - - [bdubbs] - Update to iproute2-5.17.0. Fixes - #5035. - - - [bdubbs] - Update to meson-0.62.0. Fixes - #5034. - - - [bdubbs] - Update to linux-5.17.1 (Security Update). Fixes - #5033. - - - [bdubbs] - Update to util-linux-2.38. Fixes - #4997. - - - - - - 2022-03-25 - - - [pierre] - Update bootscripts to 20220324. Fixes - #5027. - - - - - - 2022-03-20 - - - [xry111] - Update to Python-3.10.3. Fixes - #5028. - - - [xry111] - Update to libtool-2.4.7. Fixes - #5029. - - - [xry111] - Update to linux-5.16.16. Fixes - #5030. - - - [xry111] - Update to tzdata-2022a. Fixes - #5031. - - - [xry111] - Update to man-db-2.10.2. Fixes - #5032. - - - - - - 2022-03-16 - - - [xry111] - Update to MarkupSafe-2.1.1. Fixes - #5025. - - - - - - 2022-03-15 - - - [bdubbs] - Update to openssl-3.0.2. Fixes - #5024. - - - [bdubbs] - Update to meson-0.61.3. Fixes - #5023. - - - [xry111] - Update to expat-2.4.7. Fixes - #5019. - - - [xry111] - Update to bc-5.2.3. Fixes - #5020. - - - [xry111] - Update to linux-5.16.14 (security fix). Fixes - #5021. - - - [xry111] - Update to perl-5.34.1. Fixes - #5022. - - - [xry111] - Update to vim-8.2.4567 (security fix). - Addresses #4500. - - - - - - 2022-03-05 - - - [xry111] - Stop changing the owner of - $LFS/source to - lfs. Fixes - #5018. - - - [xry111] - Add zstd-1.5.2 upstream fixes patch. - - - - - - 2022-03-02 - - - [xry111] - Update to meson-0.61.2. Fixes - #5013. - - - [xry111] - Update to linux-5.16.12. Fixes - #5014. - - - [xry111] - Update to MarkupSafe-2.1.0. Fixes - #5015. - - - [xry111] - Update to dbus-1.14.0. Fixes - #5017. - - - [xry111] - Update to vim-8.2.4489 (security fixes). - Addresses #4500. - - - [xry111] - Build libstdc++ in GCC pass 2, and remove the - separate libstdc++ pass 2. - - - [xry111] - Remove unneeded - --enable-64bit for tcl. - - - - - - 2022-03-01 - - - [bdubbs] - LFS-11.1 released. + [bdubbs] - LFS-11.2 released. diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml index ac496bbae..c532bdb15 100644 --- a/chapter02/creatingpartition.xml +++ b/chapter02/creatingpartition.xml @@ -136,6 +136,11 @@ your first disk drive. A partition size of 200 megabytes is quite adequate. + /boot/efi – The EFI System Partition, which is + needed for booting the system with UEFI. Read + the BLFS page + for details. + /home – Highly recommended. Share your home directory and user customization across multiple distributions or LFS builds. The size is generally fairly large and depends on available disk diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 4bfff53ba..4532d84cd 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -199,9 +199,8 @@ cd build functions (compiling and linking) of the new toolchain are working as expected. To perform a sanity check, run the following commands: -echo 'int main(){}' > dummy.c -$LFS_TGT-gcc dummy.c -readelf -l a.out | grep '/ld-linux' +echo 'int main(){}' | gcc -xc - +readelf -l a.out | grep ld-linux If everything is working correctly, there should be no errors, and the output of the last command will be of the form: @@ -216,9 +215,9 @@ readelf -l a.out | grep '/ld-linux' where the problem is and correct it. This issue must be resolved before continuing on. - Once all is well, clean up the test files: + Once all is well, clean up the test file: -rm -v dummy.c a.out +rm -v a.out diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml index ea510b85f..f00cee315 100644 --- a/chapter05/linux-headers.xml +++ b/chapter05/linux-headers.xml @@ -60,8 +60,7 @@ for your target machine if it's not a 32-bit or 64-bit x86: make headers ARCH=x86 -find usr/include -name '.*' -delete -rm usr/include/Makefile +find usr/include -type f ! -name '*.h' -delete cp -rv usr/include $LFS/usr diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index a44acba41..fcf768f40 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -89,7 +89,6 @@ cd build LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \ --prefix=/usr \ --with-build-sysroot=$LFS \ - --enable-initfini-array \ --disable-nls \ --disable-multilib \ --disable-decimal-float \ @@ -143,15 +142,6 @@ cd build - - --enable-initfini-array - - This option is automatically enabled when building a native - compiler with a native compiler on x86. But here, we build with - a cross compiler, so we need to explicitly set this option. - - - Compile the package: diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 1e342b12f..b220e1509 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -173,6 +173,12 @@ esac addresses. + + + The stdlib/tst-arc4random-thread + test is known to fail if the host kernel is relatively old. + + Some tests, for example nss/tst-nss-files-hosts-multi, @@ -180,16 +186,6 @@ esac timeout. - - - About 27 tests, for example elf/tst-pldd, - are known to fail if the kernel supports namespaces (see - namespaces(7) for details) but the host distro - has disabled them via sysctl. -