From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 00:26:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 047D716A4CF; Thu, 5 Aug 2004 00:26:37 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A82CD43D5E; Thu, 5 Aug 2004 00:26:34 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i750PGQa019731; Wed, 4 Aug 2004 20:25:16 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i750PG78019728; Wed, 4 Aug 2004 20:25:16 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 4 Aug 2004 20:25:16 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Jon Noack In-Reply-To: <41117976.5030908@alumni.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Current cc: Jeremy Chadwick Subject: Re: kernel build error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 00:26:37 -0000 On Wed, 4 Aug 2004, Jon Noack wrote: > On 08/04/04 18:07, Jeremy Chadwick wrote: > > Wasn't there a discussion on -current not too long ago about the use of > > non-stock CFLAGS in make.conf causing these type-of problems? > > No change with: > #CPUTYPE= p4 > CFLAGS= -O -pipe# -g > > I'm sure there are issues with non-stock CFLAGS, but this doesn't appear > to be one of them. The problem appears to be that 'mem_range_softc' is defined in mp_machdep.c, which means you can't build a non-SMP i386 kernel because the symbol is undefined. We probably need to move the declaration to machdep.c or the like. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research