Hi Sam,
Slight nit-picking, but while:
commit 3fe617ccafd6f5bb33c2391d6f4eeb41c1fd0151
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-09-05 11:24:05 -0700
Enable '-Werror' by default for all kernel builds
did provide that WERROR=0 option...
... there are still parts in Linux where somehow that makefile option
isn't used, and -Werror is hardcoded, eg:
- tools/bpf/resolve_btfids/Makefile
- tools/build/Build.include
- tools/lib/bpf/Makefile
- tools/objtool/Makefile
So these portions may still break on compiler update (and probably did
in the past, because somehow I have diffs for them in my kernel stash).
... also, maybe for QA reasons it would make sense not to do WERROR=0
when considering stabilization of kernel and/or toolchain?
Jérôme Carretero <cJ-gentoo@zougloub.eu> writes:
Hi Sam,
Hi,
Slight nit-picking, but while:
commit 3fe617ccafd6f5bb33c2391d6f4eeb41c1fd0151
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-09-05 11:24:05 -0700
Enable '-Werror' by default for all kernel builds
did provide that WERROR=0 option...
I'm not really sure that's a nit-pick per se, rather just some
additional context. I didn't intend to claim that it covers everything ;)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 18:02:17 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,617 |
Messages: | 6,121,091 |