aboutsummaryrefslogtreecommitdiffstats
path: root/chapter01
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-05-08 19:10:33 +0800
committerXi Ruoyao <xry111@xry111.site>2023-05-08 19:13:27 +0800
commit9ae3d8ad311e538d55b0dc6cd4f17de7ba1dd35f (patch)
tree6012d23719836f2ed268d9c7fd4d9b161484d815 /chapter01
parent2e215ea434f187ea99b17e318e1c781d8d84478b (diff)
whatsnew: Update for GCC 13.1
And let's discourage reusing scripts.
Diffstat (limited to 'chapter01')
-rw-r--r--chapter01/whatsnew.xml26
1 files changed, 19 insertions, 7 deletions
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 174eb384e..8c2bfda05 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -11,13 +11,25 @@
<title>What's new since the last release</title>
- <para>In the 11.3 release, <parameter>--enable-default-pie</parameter>
- and <parameter>--enable-default-ssp</parameter> are enabled for GCC.
- These techniques can mitigate some malicious attacks, but they do not provide
- perfect security. Note that some textbooks assume these options are
- disabled, so that if you run examples from such a textbook on an LFS system,
- you may need to disable PIE and SSP with the GCC options
- <parameter>-fno-pie -no-pie -fno-stack-protection</parameter>.</para>
+ <caution>
+ <para>
+ During a development cycle of LFS, the instructions in the book is
+ often modified to adapt for a package update or take the advantage of
+ new features from updated packages. Mixing up the instructions of
+ different versions of the LFS book can cause subtle breakages. This
+ kind of issue is generally a result from reusing some script created
+ for a prior LFS release. Such a reuse is strongly discouraged. If
+ you are reusing scripts for a prior LFS release for any reason, you'll
+ need to be very careful to update the scripts to match current version
+ of the LFS book.
+ </para>
+ </caution>
+
+ <para>In the 11.4 release, <parameter>--disable-fixincludes</parameter>
+ is set for GCC. It's a configure switch newly added in GCC 13.1 to
+ prevent GCC from <quote>fixing</quote> the system headers. Such a
+ <quote>fix</quote> is unnecessary for a modern Linux system and may cause
+ issues if a package is updated after installing GCC.</para>
<para>Here is a list of the packages updated since the previous
release of LFS.</para>