Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 02:10:19 -0600
From:      Scott Long <scottl@freebsd.org>
To:        Luoqi Chen <lchen@briontech.com>
Cc:        stable@freebsd.org
Subject:   Re: [releng_4 tinderbox] failure on i386/i386
Message-ID:  <3F3B43EB.8040900@freebsd.org>
In-Reply-To: <AHEKICEOIHLOGINAFIINIEDLCBAA.lchen@briontech.com>
References:  <AHEKICEOIHLOGINAFIINIEDLCBAA.lchen@briontech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Luoqi Chen wrote:
>>This is due to your latest change to src/sys/conf/Makefile.i386
>>in RELENG_4.
>>
>>The problem is that when compiling LINT, the DIAGNOSTIC option
>>is defined in opt_global.h, and null_subr.c attempts to include
>>opt_ddb.h which doesn't exist.  The version in HEAD (kern.*.mk)
>>doesn't do this.  Is this change really necessary for PAE?
>>
> 
> For options like PAE, it's crucial for the module build process
> to see them, otherwise the compiled binaries are useless, which
> defeats the purpose of building the modules along with the kernel.
> That said, I probably shouldn't have lumped this change with the PAE
> commit.
> 
> On the other hand, all modules should create all the opt_*.h files
> it needs when built individually. Add opt_ddb.h to nullfs's Makefile
> should fix the breakage.
> 
> -lq
> 

Our kernel build system isn't set up to handle passing config options
to modules.  Various solutions to this have been proposed, but nothing
has appeared yet.  In 5.x, we document that modules will not work with
PAE.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F3B43EB.8040900>