В Пт, 29/12/2017 в 13:39 -0800, Linus Torvalds пишет:
On Fri, Dec 29, 2017 at 1:17 PM, Linus Torvalds torvalds@linux-foundation.org wrote:
Yeah, other reporters of this have used gcc-6.4.0 too.
But there's been some muddying of the waters there too - changing compilers have fixed it for some cases, but there's at least one report that a kernel build with gcc-7.2.0 still had the issue (and another that said it didn't).
Side note: I'm not convinced that we will reliably catch a compiler version change in our dependency analysis, so it's probably best to "make clean" between switching compilers to make sure that you don't have old object files with the old compiler.
I did "make clean" after changing compiler flags.