From owner-freebsd-current Tue Feb 26 13:58: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from midearth.org (cs666888-123.austin.rr.com [66.68.88.123]) by hub.freebsd.org (Postfix) with ESMTP id C7A6937B400 for ; Tue, 26 Feb 2002 13:57:59 -0800 (PST) Received: from localhost (slpalmer@localhost) by midearth.org (8.11.6/8.11.6) with ESMTP id g1QLvfw89185; Tue, 26 Feb 2002 15:57:41 -0600 (CST) (envelope-from slpalmer@midearth.org) Date: Tue, 26 Feb 2002 15:57:41 -0600 (CST) From: "Stephen L. Palmer" To: Chris Faulhaber Cc: freebsd-current@FreeBSD.ORG Subject: Re: Why is xe building while commented out? In-Reply-To: <20020226214312.GC99775@peitho.fxp.org> Message-ID: <20020226155132.O89108-100000@midearth.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You know, I've been building -currents off and on since 3.0-current, and never realized that. I guess since I usualy start a build and either background it, or walk away... I'll play with the MODULES_OVERRIDE option, and thanks for the pointer. I gave it another run with out the -j4 option, and it did seem to clarify what was failing. cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include -D_KERNEL -ffreestanding -include opt_global.h -fno-common -elf -mpreferred-stack-boundary=2 -Werror /usr/src/sys/dev/isp/isp.c cc1: warnings being treated as errors /usr/src/sys/dev/isp/isp.c: In function `isp_reset': /usr/src/sys/dev/isp/isp.c:633: warning: cast discards qualifiers from pointer target type *** Error code 1 Stop in /usr2/obj/usr/src/sys/MIDEARTH. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. root on adam12:/usr/src % --- Stephen L. Palmer slpalmer@midearth.org On Tue, 26 Feb 2002, Chris Faulhaber wrote: > On Tue, Feb 26, 2002 at 03:28:19PM -0600, Stephen L. Palmer wrote: > > Kernel build on a fresh (26 Feb 2002 - ~15:00 CDT) -current is failing > > with an "*** Error code 2" in the xe module. This module is commented out of my > > config. Why would 'make -j4 buildkernel KERNCONF=MIDEARTH' try to build a > > driver for a pccard I've commented out of the config? I don't have any of > > the pccard/pcmcia stuff active as this is a desktop system. > > > > Non-SMP if it matters. > > > > All modules are built by default, not just those listed in the > kernel config (which is for the kernel only). To only build > specific modules, use the MODULES_OVERRIDE option (see NOTES). > And since you are using the -j flag to make, it is quite > possible that the parallel compiles are obscuring the actual > error and that xe is not (necessarily) the problem. > > -- > Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org > -------------------------------------------------------- > FreeBSD: The Power To Serve - http://www.FreeBSD.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message