Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2008 23:23:51 -0500
From:      "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>
To:        John Birrell <jb@what-creek.com>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, current@freebsd.org
Subject:   Re: DTrace/FreeBSD source snapshot
Message-ID:  <1202012631.894.11.camel@RabbitsDen>
In-Reply-To: <20080201223719.GA88460@what-creek.com>
References:  <20080201093538.GA83169@what-creek.com> <18339.35979.765504.132672@grasshopper.cs.duke.edu> <20080201223719.GA88460@what-creek.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1202012631.894.11.camel>