DTrace/FreeBSD source snapshot

Peter Jeremy peterjeremy at optushome.com.au
Sat Feb 2 13:03:30 PST 2008


On Fri, Feb 01, 2008 at 09:35:38AM +0000, John Birrell wrote:
>[ amd64 and i386 users only ]
>
>Here is a link to a current snapshot containing DTrace:
>
><http://people.freebsd.org/~jb/dtrace/dtrace-20080201.tar.bz>
>
>It's a big file, but for anyone who is interested, I can provide
>diffs in future from it.
>
>The source builds like a normal FreeBSD buildworld/buildkernel.

buildworld worked for me but buildkernel blew up:

--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/obj/back/dtrace/src/sys/server;  MAKESRCPATH=/back/dtrace/src/sys/dev/ai
c7xxx/aicasm  make -DNO_CPU_CFLAGS -f /back/dtrace/src/sys/dev/aic7xxx/aicasm/Ma
kefile
Warning: Object directory not changed from original /var/obj/back/dtrace/src/sys
/server
yacc -b aicasm_gram  -d -o aicasm_gram.c /back/dtrace/src/sys/dev/aic7xxx/aicasm
/aicasm_gram.y
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /back/dtrace/src/sys/d
ev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/back/dtrace/sr
c/sys/dev/aic7xxx/aicasm -g  -c /back/dtrace/src/sys/dev/aic7xxx/aicasm/aicasm.c
ctfconvert -L VERSION aicasm.o
ctfconvert:No such file or directory
*** Error code 1

Stop in /var/obj/back/dtrace/src/sys/server.
*** Error code 1

Stop in /back/dtrace/src.
*** Error code 1

Stop in /back/dtrace/src.
make buildkernel  26.60s user 12.64s system 52% cpu 1:14.80 total
server% find . /var/obj/back/dtrace/ -name ctfconvert
./cddl/usr.bin/ctfconvert
/var/obj/back/dtrace/src/tmp/legacy/usr/bin/ctfconvert
/var/obj/back/dtrace/src/tmp/back/dtrace/src/cddl/usr.bin/ctfconvert
/var/obj/back/dtrace/src/tmp/back/dtrace/src/cddl/usr.bin/ctfconvert/ctfconvert
/var/obj/back/dtrace/src/cddl/usr.bin/ctfconvert
/var/obj/back/dtrace/src/cddl/usr.bin/ctfconvert/ctfconvert
server%  

I'm not sure why it's trying to run ctfconvert on aicasm since that's
solely a build tool (which is never installed) but if it's necessary
then this looks like an issue with the PATH being used in ${MAKE}.  I
will investigate further when I have more time.

-- 
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080202/b6ee970c/attachment.pgp


More information about the freebsd-current mailing list