Changeset 9b228992 for chapter08/kernel.xml
- Timestamp:
- 05/28/2020 07:47:18 AM (3 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, arm, ml-11.0, multilib, old-trunk, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- 51c960d
- Parents:
- 29b86b4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/kernel.xml
r29b86b4 r9b228992 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.658 series, but check when 5.7 is out. -->59 <para>When using <envar>CONFIG_STACKPROTECTOR_STRONG=y</envar>, and60 compiling with GCC 10 and later, the default optimization is too61 aggressive, and generates a kernel panic when booting. This can be62 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>66 56 67 57 <!-- Support for compiling a keymap into the kernel is deliberately removed -->
Note:
See TracChangeset
for help on using the changeset viewer.