Re: [PATCH 18/28] kbuild: fail kernel compilation in case of unresolved module symbols

Al Viro
2006-09-24T22:20:28Z

On Sun, Sep 24, 2006 at 11:18:14PM +0200, sam@ravnborg.org wrote:
> From: Kirill Korotaev <dev@openvz.org>
>
> At stage 2 modpost utility is used to check modules. In case of unresolved
> symbols modpost only prints warning.
>
> IMHO it is a good idea to fail compilation process in case of unresolved
> symbols (at least in modules coming with kernel), since usually such errors
> are left unnoticed, but kernel modules are broken.
>
> - new option '-w' is added to modpost:
> if option is specified, modpost only warns about unresolved symbols
>
> - modpost is called with '-w' for external modules in Makefile.modpost

Oh, joy... Could you add a way to tell kbuild that old behaviour is,
in fact, desired? make MODPOST_FLAGS=-w or something along these lines...