From 33505d67f82f675d2ad01cc41105d39cbeee2287 Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Thu, 1 Jul 2021 19:34:12 +0100 Subject: [PATCH] Patch gcc : Fix some regressions, and cope with removal of a kernel header in linux-5.13 which broke the build in chapter 8's bootstrap. --- chapter01/changelog.xml | 12 ++++++++++++ chapter01/whatsnew.xml | 3 +++ chapter03/patches.xml | 10 +++++----- chapter08/gcc.xml | 5 +++++ patches.ent | 10 +++++----- 5 files changed, 30 insertions(+), 10 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index eaa4add22..508b5fd88 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,18 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-07-01 + + + [ken] - Patch gcc to fix some regressions (will be + needed to build firefox-91ESR in BLFS) and to allow it to + build against linux-5.13.0 kernel headers. Fixes + #4875. + + + + 2021-06-28 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index d77cb7e41..41d3879a8 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -281,6 +281,9 @@ + + gcc-11.1.0-upstream_fixes-1.patch + systemd-247-upstream_fixes-2.patch diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 29e6cb127..3dd115094 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -67,15 +67,15 @@ MD5 sum: &glibc-fhs-patch-md5; - + Kbd Backspace/Delete Fix Patch - &kbd-backspace-patch-size;: diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index f7facefdd..819396e26 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -41,6 +41,11 @@ Installation of GCC + First, apply a patch to fix some regressions and to cope + with the removal of an obsolete kernel header in linux-5.13: + +patch -Np1 -i ../glibc-&glibc-version;-upstream_fixes-1.patch + If building on x86_64, change the default directory name for 64-bit libraries to lib: diff --git a/patches.ent b/patches.ent index 48c6184eb..bf849b05e 100644 --- a/patches.ent +++ b/patches.ent @@ -29,11 +29,11 @@ --> - + + + + +