Linus Torvalds writes: (Summary) wrote:
I think it's probably a "Don't do it".
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".
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.
[...]
Or, is it just "Don't do it" thing?I think it's probably a "Don't do it".
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".
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.