From owner-freebsd-current@FreeBSD.ORG Sun Feb 3 04:24:02 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 344BD16A419 for ; Sun, 3 Feb 2008 04:23:59 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.freebsd.org (Postfix) with ESMTP id 0E88713C457 for ; Sun, 3 Feb 2008 04:23:59 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.111.176.151]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JVN00EXWAVXXZO2@vms046.mailsrvcs.net> for current@freebsd.org; Sat, 02 Feb 2008 22:23:58 -0600 (CST) Date: Sat, 02 Feb 2008 23:23:51 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20080201223719.GA88460@what-creek.com> To: John Birrell Message-id: <1202012631.894.11.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-type: multipart/mixed; boundary="Boundary_(ID_iTafRDRl3+tS1tX0aRUHSQ)" References: <20080201093538.GA83169@what-creek.com> <18339.35979.765504.132672@grasshopper.cs.duke.edu> <20080201223719.GA88460@what-creek.com> Cc: Andrew Gallatin , current@freebsd.org Subject: Re: DTrace/FreeBSD source snapshot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 03 Feb 2008 04:24:02 -0000 --Boundary_(ID_iTafRDRl3+tS1tX0aRUHSQ) Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT On Fri, 2008-02-01 at 22:37 +0000, John Birrell wrote: > On Fri, Feb 01, 2008 at 04:17:40PM -0500, Andrew Gallatin wrote: > > A make -j16 buildworld using this tree died like as follows on > > a virgin box, so it seems there may be some dependancy issues > > to work out: > > > > cc -O2 -fno-strict-aliasing -pipe -DHAVE_CONFIG_H > > -I/var/tmp/dtrace/src/kerberos5/tools/make-roken/../../include -g -c > > make-roken.c > > ctfconvert -L VERSION make-print-version.o > > ctfconvert: not found > > *** Error code 127 > > I suggest building without -j16 for now. It should use the ctfconvert > built as a buildtool. I must need something more to tell make not > to get ahead of itself. > > > Also, there are a couple of references to SMP_MAXCPU which need to be > changed to MAXCPU. I missed those. Oops. Attached patch takes care of the ones I have found. > > -- > John Birrell > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) --Boundary_(ID_iTafRDRl3+tS1tX0aRUHSQ) Content-type: text/x-patch; name=SMP_MAXCPU.patch; charset=utf-8 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=SMP_MAXCPU.patch --- ./sys/cddl/cyclic/i386/cyclic_machdep.c.ORIG 2008-02-02 23:20:07.000000000 -0500 +++ ./sys/cddl/cyclic/i386/cyclic_machdep.c 2008-02-02 23:20:59.000000000 -0500 @@ -73,7 +73,7 @@ cyclic_uninit(); } -static hrtime_t exp_due[SMP_MAXCPU]; +static hrtime_t exp_due[MAXCPU]; /* * This function is the one registered by the machine dependent --- ./sys/cddl/dev/fasttrap/fasttrap.c.ORIG 2008-02-02 23:19:50.000000000 -0500 +++ ./sys/cddl/dev/fasttrap/fasttrap.c 2008-02-02 23:20:36.000000000 -0500 @@ -279,7 +279,7 @@ fasttrap_mod_gen++; - for (i = 0; i < SMP_MAXCPU; i++) { + for (i = 0; i < MAXCPU; i++) { mtx_lock(&cpu_core[i].cpuc_pid_lock); mtx_unlock(&cpu_core[i].cpuc_pid_lock); } --Boundary_(ID_iTafRDRl3+tS1tX0aRUHSQ)--