From owner-freebsd-stable@FreeBSD.ORG Thu Aug 14 01:10:26 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2622E37B401 for ; Thu, 14 Aug 2003 01:10:26 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id CBABB43F75 for ; Thu, 14 Aug 2003 01:10:24 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 73310 invoked by uid 1002); 14 Aug 2003 08:10:24 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 14 Aug 2003 08:10:24 -0000 Message-ID: <3F3B43EB.8040900@freebsd.org> Date: Thu, 14 Aug 2003 02:10:19 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Luoqi Chen References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: stable@freebsd.org Subject: Re: [releng_4 tinderbox] failure on i386/i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 08:10:26 -0000 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