Re: buildworld broken with NO_MODULES= and MODULES_WITH_WORLD=

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 17 Feb 2006 14:29:39 +0200
On Fri, Feb 17, 2006 at 02:29:13PM +0300, Boris Samorodov wrote:
> > Unless you really need it for some reason, the MODULES_WITH_WORLD option
> > is harmful -- it produces modules that aren't guaranteed to be compatible
> > with your kernel.
> 
> Hm, do you mean to say that "modules (binaries) depend on kernel
> configuration"?
> 
Sure, a lot.  When built with the kernel, modules use options
for that kernel, e.g. if your kernel was compiled without IPv6
support your modules will be loadable.  If you build them
standalone, and don't provide the NO_INET6 make option, these
modules won't load.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Fri Feb 17 2006 - 11:39:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC