buildworld broken with NO_MODULES= and MODULES_WITH_WORLD=

Boris Samorodov bsam at ipt.ru
Fri Feb 17 04:58:27 PST 2006


On Fri, 17 Feb 2006 14:29:39 +0200 Ruslan Ermilov wrote:
> 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.

Got it. Thanks.


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider


More information about the freebsd-current mailing list