mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-08-02 17:45:24 +01:00
kernel: disable CONFIG_WERROR
The help of this options says: "However, if you have a new compiler with ..., you may need to disable this config option in order to successfully build the kernel." As we are having state-of-art GCC-12, and Linux-5.18 release candidate FTBFS with GCC-12 and CONFIG_WERROR=y [1], and <rant>the kernel developers are making stupid and meaningless discussion instead of fixing the building failure</rant> [2], I don't think enabling this option makes any sense building LFS. [1]:https://lkml.org/lkml/2022/4/14/1676 [2]:https://lkml.org/lkml/2022/4/21/254
This commit is contained in:
parent
38c956bdef
commit
1903d313c2
@ -106,6 +106,7 @@
|
||||
not work correctly or boot at all:</para>
|
||||
|
||||
<screen role="nodump" revision="sysv">General setup -->
|
||||
[ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
|
||||
< > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
|
||||
Device Drivers --->
|
||||
Graphics support --->
|
||||
@ -117,6 +118,7 @@ Device Drivers --->
|
||||
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen>
|
||||
|
||||
<screen role="nodump" revision="systemd">General setup -->
|
||||
[ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
|
||||
[ ] Auditing Support [CONFIG_AUDIT]
|
||||
CPU/Task time and stats accounting --->
|
||||
[*] Pressure stall information tracking [CONFIG_PSI]
|
||||
@ -171,6 +173,19 @@ File systems --->
|
||||
<variablelist>
|
||||
<title>The rationale for the above configuration items:</title>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>
|
||||
Compile the kernel with warnings as errors
|
||||
</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>This may cause building failure if the compiler and/or
|
||||
configuration are different from those of the kernel
|
||||
developers.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>
|
||||
|
Loading…
Reference in New Issue
Block a user