From owner-freebsd-stable@FreeBSD.ORG Tue Mar 1 09:42:00 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61E70106564A for ; Tue, 1 Mar 2011 09:42:00 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 43DB28FC23 for ; Tue, 1 Mar 2011 09:41:59 +0000 (UTC) Received: from omta08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by qmta10.emeryville.ca.mail.comcast.net with comcast id Dlhz1g0010FhH24AAlhzdB; Tue, 01 Mar 2011 09:41:59 +0000 Received: from koitsu.dyndns.org ([98.248.33.18]) by omta08.emeryville.ca.mail.comcast.net with comcast id Dlhy1g0070PUQVN8UlhyV3; Tue, 01 Mar 2011 09:41:59 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 7D87D9B422; Tue, 1 Mar 2011 01:41:58 -0800 (PST) Date: Tue, 1 Mar 2011 01:41:58 -0800 From: Jeremy Chadwick To: Nikolay Denev Message-ID: <20110301094158.GA35235@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: stable@FreeBSD.org, Robert Watson Subject: Re: FYI: Userspace DTrace MFC to stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:42:00 -0000 On Tue, Mar 01, 2011 at 11:03:07AM +0200, Nikolay Denev wrote: > On 1 Mar, 2011, at 01:33 , Robert Watson wrote: > > > Dear all: > > > > Just an FYI that I've gone ahead and merged userspace DTrace support to FreeBSD 8.x from 9.x. While it appeared to pass build tests locally, boot and run, etc, this is a non-trivial merge, and it's possible I've messed up. If so, apologies in advance, and I'll try to resolve any problems as quickly as I can! > > > > And of course, many thanks go to Rui Paulo, who did the port of userspace DTrace to FreeBSD 9.x with support from the FreeBSD Foundation! > > > > Thanks, > > > > Robert N M Watson > > Computer Laboratory > > University of Cambridge > > > > That's great news! Many thanks to all that made this possible! > > I have a quick question though, now do I have to rebuild my world with "WITH_CTF" ? > I'm asking because I did that by mistake some months ago on a RELENG_8 machine, and > the world that was built had some problems, like gcc giving segfault 11 while compiling world or some ports. I wasn't able to reproduce such a problem back then, nor am I now. sig11 during builds usually indicates a hardware issue (RAM going bad, system overheating, or maybe some crazy compiler options you've specified in make.conf). Please be aware on RELENG_8 you need to do this: cd /usr/src make buildworld WITH_CTF=1 make buildkernel WITH_CTF=1 make installkernel {...the rest is normal per src/Makefile...} The WITH_CTF=1 portion cannot be put into /etc/src.conf or /etc/make.conf; it must be entered manually. To reiterate and make it extra clear: this is for RELENG_8. HEAD/CURRENT is a completely different story. All of this is documented, albeit in a roundabout way (please be sure to read EVERYTHING SLOWLY and do not skim), here: http://wiki.freebsd.org/DTrace -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |