I've recently done some build testing on 4.14-stable and to my surprise found only a handful of bugfixes were required to build all x86 and arm64 randconfig output without any warnings using gcc-7.2.1. I have submitted the remaining trivial patches now, and this is the non-trivial remaining part, where we turn off some options that are known to cause problems in randconfig builds.
While I've carried the same patches in my randconfig test tree for a long time, I wasn't entirely sure about my approach and never submitted them for inclusion. Now that this is literally all that is remains, I'd like to propose all three for inclusion. If someone has another idea for how to address these, that's fine with me as well, as long as we can make sure at least COMPILE_TEST is enabled for randconfig builds by default (everything else can be derived from that if necessary). Note that the 4.15 release has a couple of build-time regressions that I have sent bugfixes for but that so far have not made it in, and 4.16-rc still has a number of other issues without patches. Arnd Arnd Bergmann (3): Kconfig: disable PROFILE_ALL_BRANCHES for compile testing Kconfig: improve handling for all{rand,yes,no,}.config fragments Kconfig: add a default allrandom.config kernel/configs/allrandom.config | 6 ++++++ kernel/trace/Kconfig | 1 + scripts/kconfig/conf.c | 27 +++++++++++++++++++-------- 3 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 kernel/configs/allrandom.config -- 2.9.0