Author: pierre
Date: Thu May 21 03:02:22 2020
New Revision: 11853

Log:
Merge trunk r11852

Modified:
   branches/cross-chap5/chapter01/changelog.xml
   branches/cross-chap5/chapter08/kernel.xml
   branches/cross-chap5/general.ent

Modified: branches/cross-chap5/chapter01/changelog.xml
==============================================================================
--- branches/cross-chap5/chapter01/changelog.xml        Thu May 21 00:40:38 
2020        (r11852)
+++ branches/cross-chap5/chapter01/changelog.xml        Thu May 21 03:02:22 
2020        (r11853)
@@ -43,6 +43,16 @@
     appropriate for the entry or if needed the entire day's listitem.
     -->
     <listitem>
+      <para>2020-05-21</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Fix a crash at early boot when using
+          CONFIG_STACK_PROTECTOR_STRONG=y in kernel configuration.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2020-05-16</para>
       <itemizedlist>
         <listitem>

Modified: branches/cross-chap5/chapter08/kernel.xml
==============================================================================
--- branches/cross-chap5/chapter08/kernel.xml   Thu May 21 00:40:38 2020        
(r11852)
+++ branches/cross-chap5/chapter08/kernel.xml   Thu May 21 03:02:22 2020        
(r11853)
@@ -54,6 +54,16 @@
     kernel compilation. Do not rely on the source tree being clean after
     un-tarring.</para>
 
+    <!-- The following paragraph and sed should be only necessary on the 5.6
+         series, but check when 5.7 is out. -->
+    <para>When using <envar>CONFIG_STACKPROTECTOR_STRONG=y</envar>, and
+    compiling with GCC 10 and later, the default optimization is too
+    aggressive, and generates a kernel panic when booting. This can be
+    fixed with:</para>
+
+<screen><userinput remap="pre">sed -e '/cpu_startup/a asm("");' \
+    -i arch/x86/{kernel/smpboot.c,xen/smp_pv.c}</userinput></screen>
+
     <!-- Support for compiling a keymap into the kernel is deliberately 
removed -->
 
     <para>Configure the kernel via a menu-driven interface. For general

Modified: branches/cross-chap5/general.ent
==============================================================================
--- branches/cross-chap5/general.ent    Thu May 21 00:40:38 2020        (r11852)
+++ branches/cross-chap5/general.ent    Thu May 21 03:02:22 2020        (r11853)
@@ -1,13 +1,13 @@
-<!ENTITY version         "20200516-cross-chap5">
+<!ENTITY version         "20200521-cross-chap5">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc 
releases -->
 <!ENTITY generic-version "cross-chap5"> <!-- Use "development"  or 
"x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20200516-cross-cp5-systemd">
+<!ENTITY versiond        "20200521-cross-cp5-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "May 16th, 2020">
+<!ENTITY releasedate     "May 21st, 2020">
 
 <!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not 
&ndash; -->
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to