From owner-freebsd-sparc Sun Nov 17 14:55: 8 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 354CC37B401; Sun, 17 Nov 2002 14:55:07 -0800 (PST) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C03643E42; Sun, 17 Nov 2002 14:55:06 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.168.4]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021117225505.DXKD2683.sccrmhc01.attbi.com@InterJet.elischer.org>; Sun, 17 Nov 2002 22:55:05 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA66277; Sun, 17 Nov 2002 14:53:59 -0800 (PST) Date: Sun, 17 Nov 2002 14:53:58 -0800 (PST) From: Julian Elischer To: Jake Burkholder Cc: current@FreeBSD.ORG, sparc64@FreeBSD.ORG Subject: Re: sparc64 tinderbox failure In-Reply-To: <20021117154655.B2737@locore.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 17 Nov 2002, Jake Burkholder wrote: > Apparently, On Sun, Nov 17, 2002 at 12:23:20PM -0800, > Julian Elischer said words to the effect of; > > > > > > > On Sun, 17 Nov 2002, Mike Barcroft wrote: > > > -------------------------------------------------------------- > > > >>> Kernel build for GENERIC started on Sun Nov 17 20:01:33 GMT 2002 > > > -------------------------------------------------------------- > > > ===> ipfilter > > > /tinderbox/sparc64/src/sys/kern/kern_thread.c: In function `kse_create': > > > /tinderbox/sparc64/src/sys/kern/kern_thread.c:498: `mp_ncpus' undeclared (first use in this function) > > > /tinderbox/sparc64/src/sys/kern/kern_thread.c:498: (Each undeclared identifier is reported only once > > > /tinderbox/sparc64/src/sys/kern/kern_thread.c:498: for each function it appears in.) > > > > > > ok mea culpa.. > > > > what is there in SPARC that should be used instead..? > > mp_ncpus is defined in sys/smp.h which is not included kern_thread.c > I don't see why this builds on any platform. > #if 0 /* while debugging */ #ifdef SMP if (kg->kg_kses > mp_ncpus) #endif return (EPROCLIM); #endif (last night) seems to have changed in the last 12 hours to: #ifdef SMP if (kg->kg_kses > mp_ncpus) #endif return (EPROCLIM); i.e. the #if 0 seems to have disappeared... I guess that David Xu forgot to include smp.h in his patch. > Jake > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message