- Timestamp:
- 03/31/2021 10:41:38 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- d3da8c9b
- Parents:
- 95906db
- git-author:
- Thomas Trepl <thomas@…> (05/22/2020 04:16:30 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:38 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kernel.xml
r95906db r66a21f1 54 54 kernel compilation. Do not rely on the source tree being clean after 55 55 un-tarring.</para> 56 57 <!-- The following paragraph and sed should be only necessary on the 5.6 58 series, but check when 5.7 is out. --> 59 <para>When using <envar>CONFIG_STACKPROTECTOR_STRONG=y</envar>, and 60 compiling with GCC 10 and later, the default optimization is too 61 aggressive, and generates a kernel panic when booting. This can be 62 fixed with:</para> 63 64 <screen><userinput remap="pre">sed -e '/cpu_startup/a asm("");' \ 65 -i arch/x86/{kernel/smpboot.c,xen/smp_pv.c}</userinput></screen> 56 66 57 67 <!-- Support for compiling a keymap into the kernel is deliberately removed -->
Note:
See TracChangeset
for help on using the changeset viewer.