Summary: | sys-kernel/gentoo-kernel-5.10.16, sys-kernel/vanilla-kernel-5.10.17 uses -Werror for build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Distribution Kernel Project <dist-kernel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bertrand, esigra, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 |
Description
Agostino Sarubbo
![]() *** Bug 771219 has been marked as a duplicate of this bug. *** *** Bug 776853 has been marked as a duplicate of this bug. *** kernel uses -Werror for some subsystems. Sometimes there's even a kernel option (disabled by default) to skip -Werror but we actually want the code to fail on warnings. can I ask to add sys-kernel/vanilla-kernel and sys-kernel/gentoo-kernel to some kind of -Werror exclude list on CI? this is one of the rare cases where we'll keep -Werror. on ppc it's: zcat /proc/config.gz | grep -i werror # CONFIG_PPC_DISABLE_WERROR is not set CONFIG_PPC_WERROR=y (In reply to Georgy Yakovlev from comment #4) > on ppc it's: > > zcat /proc/config.gz | grep -i werror > # CONFIG_PPC_DISABLE_WERROR is not set > CONFIG_PPC_WERROR=y x86_64 does not have it (nor similar) anyway, point was that we wan -Werror for kernel. I'm not convinced we do actually want -Werror. It's useful for finding bugs via CI, it's not useful as a user if something breaks. It's a big waste of time. |