Re: [RFC PATCH 5/7] kconfig: invoke silentoldconfig when compiler is updated
From: Linus Torvalds
Date: Thu Feb 08 2018 - 12:45:16 EST
On Thu, Feb 8, 2018 at 9:19 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
>
> Should this be checked?
> Or, is it just "Don't do it" thing?
I think it's probably a "Don't do it".
In fact, maybe we should just make it very explicit that you need to
re-run "make *config" by hand if you have updated your compiler.
So instead of your "run silentoldconfig" if the compiler version has
changed, just literally error out and say "compiler has changed,
re-run configuration".
That way there are no subtle silent failures where you might end up -
by mistake - building just modules with a new compiler and different
options. Because people would be *aware* of the re-configuration.
Anyway, I suspect this is a tiny detail that we don't have to set in
stone right now. Maybe worry about it more when/if it actually becomes
something that people notice?
Linus