aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/gcc.xml
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2021-07-01 19:34:12 +0100
committerKen Moffat <ken@linuxfromscratch.org>2021-07-01 19:34:12 +0100
commit33505d67f82f675d2ad01cc41105d39cbeee2287 (patch)
tree9523082386336002f50c599df198cfd6b1e5c1d9 /chapter08/gcc.xml
parente3d0e26c73f30ced8327676a52c15a8efff19612 (diff)
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.
Diffstat (limited to 'chapter08/gcc.xml')
-rw-r--r--chapter08/gcc.xml5
1 files changed, 5 insertions, 0 deletions
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 @@
<sect2 role="installation">
<title>Installation of GCC</title>
+ <para>First, apply a patch to fix some regressions and to cope
+ with the removal of an obsolete kernel header in linux-5.13:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../glibc-&glibc-version;-upstream_fixes-1.patch</userinput></screen>
+
<para>If building on x86_64, change the default directory name for 64-bit
libraries to <quote>lib</quote>:</para>