From f628276ff7d33aa1deac280b81c773d508f39b42 Mon Sep 17 00:00:00 2001 From: "Thomas Trepl (Moody)" Date: Sun, 7 Aug 2022 00:28:47 +0200 Subject: [PATCH 1/2] Update boostcript version to 20220723 --- packages.ent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages.ent b/packages.ent index a741063bc..5d6eef04a 100644 --- a/packages.ent +++ b/packages.ent @@ -385,7 +385,7 @@ - + From 1b11115cd2bde70178f0b600de85f64a12cc36dc Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 6 Aug 2022 17:40:17 -0500 Subject: [PATCH 2/2] Package updates. Update to binutils-2.38. Update to util-linux-2.38.1. Update to Python3-3.10.6. Update to glibc-2.36. --- chapter01/changelog.xml | 22 ++++++++++++++++++++++ chapter01/whatsnew.xml | 8 ++++---- chapter03/patches.xml | 22 +++++++++++++++------- chapter05/binutils-pass1.xml | 9 +++++++++ chapter06/binutils-pass2.xml | 1 + chapter06/gcc-pass2.xml | 4 ++++ chapter08/binutils.xml | 5 +++-- chapter08/gcc.xml | 4 ++++ chapter08/systemd.xml | 4 ++++ packages.ent | 28 ++++++++++++++-------------- patches.ent | 14 +++++++++----- 11 files changed, 89 insertions(+), 32 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index cb50fa625..dd9d24d04 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,28 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2022-08-06 + + + [bdubbs] - Update to binutils-2.38. 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 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 66affa2dd..effa1361a 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -44,9 +44,9 @@ Bc &bc-version; - + @@ -101,9 +101,9 @@ - + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 1df01b443..af3bd7b6a 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -35,7 +35,7 @@ --> - + Bzip2 Documentation Patch - &bzip2-docs-patch-size;: @@ -68,15 +68,15 @@ --> - + Glibc FHS Patch - &glibc-fhs-patch-size;: @@ -135,6 +135,14 @@ + + Systemd Upstream Patch - &systemd-upstream-patch-size;: + + Download: + MD5 sum: &systemd-upstream-patch-md5; + + + Xz Upstream Fix Patch - &xz-upstream-fix-patch-size;: diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index debe5c63f..4dab2b1a5 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -74,6 +74,7 @@ cd build --with-sysroot=$LFS \ --target=$LFS_TGT \ --disable-nls \ + --enable-gprofng=no \ --disable-werror @@ -115,6 +116,14 @@ cd build + + --enable-gprofng=no + + This disables building gprofng which is not needed for the + temporary tools. + + + --disable-werror diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml index e55bcf92b..1cabf96d9 100644 --- a/chapter06/binutils-pass2.xml +++ b/chapter06/binutils-pass2.xml @@ -64,6 +64,7 @@ cd build --host=$LFS_TGT \ --disable-nls \ --enable-shared \ + --enable-gprofng=no \ --disable-werror \ --enable-64-bit-bfd diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml index ef2eff517..de78bb2aa 100644 --- a/chapter06/gcc-pass2.xml +++ b/chapter06/gcc-pass2.xml @@ -43,6 +43,10 @@ Installation of GCC + First fix a problem with the latest version of glibc: + + patch -Np1 -i ../&gcc-upstream-fixes-patch; + As in the first build of GCC, the GMP, MPFR, and MPC packages are required. Unpack the tarballs and move them into the required directory names: diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 5fb87ba58..0a1c02deb 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -56,13 +56,13 @@ The system has no more ptys. Ask your system administrator to create more. - + + First fix a problem with the latest version of glibc: + + patch -Np1 -i ../&gcc-upstream-fixes-patch; + If building on x86_64, change the default directory name for 64-bit libraries to lib: diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 0f11da410..da750e440 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -40,6 +40,10 @@ Installation of systemd + First, fix an issue introduced by glibc-2.36. + +patch -Np1 -i ../&systemd-upstream-patch; + Remove two unneeded groups, render and sgx, from the default udev diff --git a/packages.ent b/packages.ent index a741063bc..33b9e85a8 100644 --- a/packages.ent +++ b/packages.ent @@ -66,10 +66,10 @@ - - + + - + @@ -257,10 +257,10 @@ - - + + - + @@ -591,19 +591,19 @@ - + - + - + - - + + @@ -710,10 +710,10 @@ - - + + - + diff --git a/patches.ent b/patches.ent index 6c5acb77c..9efd90285 100644 --- a/patches.ent +++ b/patches.ent @@ -39,11 +39,11 @@ --> - + + + + + @@ -85,6 +85,10 @@ + + + +