|
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 _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
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. Regards, Niki_______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
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@.../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 [hidden email] | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
On Fri, 21 May 2010 01:51:51 -0700 Jeremy Chadwick
<[hidden email]> wrote: > 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: For buildworld: yes For building just the kernel: no Bye, Alexander. _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
In reply to this post by Nikolay Denev
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. Yes, that would probably be it. The handbook is explicit about building with WITH_CTF=1, so I put it in make.conf. http://www.freebsd.org/doc/en/books/handbook/dtrace-enable.html Thanks, I'll rebuild without it. Marcus > Regards, > Niki _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
> Date: Fri, 21 May 2010 18:48:17 -0700
> From: Marcus Reid <[hidden email]> > Sender: [hidden email] > > 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. > > Yes, that would probably be it. The handbook is explicit about > building with WITH_CTF=1, so I put it in make.conf. > > http://www.freebsd.org/doc/en/books/handbook/dtrace-enable.html > > Thanks, I'll rebuild without it. I believe WITH_CTF=1 would probably be placed in /etc/src.conf. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [hidden email] Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
On Fri, May 21, 2010 at 07:54:44PM -0700, Kevin Oberman wrote:
> > Date: Fri, 21 May 2010 18:48:17 -0700 > > From: Marcus Reid <[hidden email]> > > Sender: [hidden email] > > > > 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. > > > > Yes, that would probably be it. The handbook is explicit about > > building with WITH_CTF=1, so I put it in make.conf. > > > > http://www.freebsd.org/doc/en/books/handbook/dtrace-enable.html > > > > Thanks, I'll rebuild without it. > > I believe WITH_CTF=1 would probably be placed in /etc/src.conf. Ah, right you are. That is, if world could be built with 'WITH_CTF=1'. That appears to be where my breakage was; you have to build kernel with it set but world without it. Marcus _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
On Fri, 21 May 2010 20:31:17 -0700 Marcus Reid <[hidden email]>
wrote: > On Fri, May 21, 2010 at 07:54:44PM -0700, Kevin Oberman wrote: > > > Date: Fri, 21 May 2010 18:48:17 -0700 > > > From: Marcus Reid <[hidden email]> > > > Sender: [hidden email] > > > > > > 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. > > > > > > Yes, that would probably be it. The handbook is explicit about > > > building with WITH_CTF=1, so I put it in make.conf. > > > > > > http://www.freebsd.org/doc/en/books/handbook/dtrace-enable.html > > > > > > Thanks, I'll rebuild without it. > > > > I believe WITH_CTF=1 would probably be placed in /etc/src.conf. > > Ah, right you are. That is, if world could be built with > 'WITH_CTF=1'. That appears to be where my breakage was; you have to > build kernel with it set but world without it. Correct. And additionally: you have to specify it at the command line. Putting it into src.conf or into the kernel config only works on a recent 9-current. Bye, Alexander. _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
|
On Sun, May 23, 2010 at 08:08:54PM +0200, Alexander Leidinger wrote:
> On Fri, 21 May 2010 20:31:17 -0700 Marcus Reid <[hidden email]> > wrote: > > > On Fri, May 21, 2010 at 07:54:44PM -0700, Kevin Oberman wrote: > > > I believe WITH_CTF=1 would probably be placed in /etc/src.conf. > > > > Ah, right you are. That is, if world could be built with > > 'WITH_CTF=1'. That appears to be where my breakage was; you have to > > build kernel with it set but world without it. > > Correct. And additionally: you have to specify it at the command line. > Putting it into src.conf or into the kernel config only works on a > recent 9-current. Unfortunately, after rebuilding I'm having the problem described in PR 141452: http://www.freebsd.org/cgi/query-pr.cgi?pr=141452&cat= I haven't found a way around this yet. Marcus _______________________________________________ [hidden email] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[hidden email]" |
| Powered by Nabble | Edit this page |
