From owner-freebsd-stable@FreeBSD.ORG Fri May 21 08:51:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E455106566C for ; Fri, 21 May 2010 08:51:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [76.96.59.212]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0DA8FC08 for ; Fri, 21 May 2010 08:51:53 +0000 (UTC) Received: from omta10.westchester.pa.mail.comcast.net ([76.96.62.28]) by qmta14.westchester.pa.mail.comcast.net with comcast id L8rK1e0020cZkys5E8rulv; Fri, 21 May 2010 08:51:54 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta10.westchester.pa.mail.comcast.net with comcast id L8rs1e0033S48mS3W8rtKz; Fri, 21 May 2010 08:51:53 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 0D6599B419; Fri, 21 May 2010 01:51:51 -0700 (PDT) Date: Fri, 21 May 2010 01:51:51 -0700 From: Jeremy Chadwick To: Nikolay Denev Message-ID: <20100521085150.GA42504@icarus.home.lan> References: <20100521060306.GA37722@blazingdot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: dtrace problem? 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: Fri, 21 May 2010 08:51:54 -0000 On Fri, May 21, 2010 at 09:22:17AM +0300, Nikolay Denev wrote: > On May 21, 2010, at 9:03 AM, Marcus Reid wrote: > > > Hi, > > > > Running a recent RELENG_8 (FreeBSD 8.1-PRERELEASE #0: Tue May 18 23:37:37 > > PDT 2010), I'm having a problem using dtrace. For every .d file I attempt > > to compile, I get: > > > > dtrace: failed to compile script test.d: "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t" > > > > This is my first attempt to use dtrace, so I can't be sure if it worked > > before. It happens with some scripts that can be assumed to be valid, > > so it's not just me. Is it broken for anyone else? > > > > Thanks, > > > > Marcus > > Hi, > > Have you rebuilt your kernel as described here : http://wiki.freebsd.org/DTrace > > I was once getting "uid_t" errors when my kernel was not compiled with "WITH_CTF" option. Also be aware that building with WITH_CTF can/will break buildworld: http://www.mail-archive.com/freebsd-stable@freebsd.org/msg107641.html There were also some problems mentioned with rtld breaking when a user introduced WITH_CTF to his buildworld. (Possibly the rtld build is static and that would explain it; not sure). My point is: be aware and wary before enabling this. :-) -- | 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 |