OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] fail kernel compilation in case of unresolved symbols (v2)
Re: [PATCH] fail kernel compilation in case of unresolved symbols (v2) [message #6058 is a reply to message #6053] Thu, 07 September 2006 11:05 Go to previous messageGo to previous message
Olaf Hering is currently offline  Olaf Hering
Messages: 2
Registered: September 2006
Junior Member
On Thu, Sep 07, Kirill Korotaev wrote:

> 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.

It clearly depends on the context. An unimportant dvb module may have
unresolved symbols, but the drivers for your root filesystem should
rather not have unresolved symbols.

Better leave the current default, your patch seems to turn an unresolved
symbol with "unknown importance" into a hard error.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [stable] [PATCH] IA64, sparc: local DoS with corrupted ELFs
Next Topic: Re: Re: [RFC][PATCH] Rename pspace to pid_namespace
Goto Forum:
  


Current Time: Fri Aug 22 16:01:33 GMT 2025

Total time taken to generate the page: 0.06686 seconds