Re: X ports trying to use dtrace

From: John Birrell <jb_at_what-creek.com>
Date: Mon, 9 Jun 2008 21:22:23 +0000
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_at_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
Received on Mon Jun 09 2008 - 19:22:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC