Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2008 21:22:23 +0000
From:      John Birrell <jb@what-creek.com>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        John Birrell <jb@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: X ports trying to use dtrace
Message-ID:  <20080609212223.GA39435@what-creek.com>
In-Reply-To: <7d6fde3d0806090329n3ef064f9s9ae029aa3b8649bf@mail.gmail.com>
References:  <484D0215.9030200@FreeBSD.org> <7d6fde3d0806090329n3ef064f9s9ae029aa3b8649bf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 09, 2008 at 03:29:02AM -0700, Garrett Cooper wrote:
> On Mon, Jun 9, 2008 at 3:12 AM, Kris Kennaway <kris@freebsd.org> wrote:
> > A number of X ports are auto-detecting dtrace and trying to use it during
> > their build:
> >
> > ./xorg-vfbserver-1.4_1,1.log:checking for dtrace... /usr/sbin/dtrace
> > ./xorg-vfbserver-1.4_1,1.log:/usr/sbin/dtrace -C -h -o Xserver-dtrace.h -s
> > ./Xserver.d  || cp Xserver-dtrace.h.in Xserver-dtrace.h
> > ./xorg-vfbserver-1.4_1,1.log:dtrace: failed to compile script ./Xserver.d:
> > "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
> >
> > What is the solution here?
> 
> --with-dtrace=no? I don't have X11 required libs on my server so I
> can't verify this usage.

I think that is the solution. We don't support userland tracing yet.

The Xorg build is trying to run dtrace on a kernel with no CTF data built
in. That's why the uid_t type isn't defined.


--
John Birrell



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