Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5450a0659c28224b6b402a39ae3e067db2e9baf5
Ticket: 1793984fffffffffffffffffffffffffffffffff
Tcl DTrace provider
User & Date: illumino on 2007-09-27 17:43:42
Changes

  1. icomment:
    Logged In: YES 
    user_id=426773
    Originator: NO
    
    
    I have downloaded tcl-8.4.16 and tried to build with --enable-dtrace
    on Solaris 10 8/07 (Update 4) with gcc version 4.1.2:
    
    Building in a 32-bit environment (both SPARC and x86) I get:
    
    /usr/sbin/dtrace -G  -o tclDTrace.o -s /tmp/32-bit/tcl8.4.16/unix/../generic/tclDTrace.d regcomp.o regexec.o regfree.o regerror.o tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o tclThreadAlloc.o tclThreadJoin.o tclStubInit.o tclStubLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o tclUnixThrd.o tclUnixCompat.o tclUnixNotfy.o  tclLoadDl.o 
    dtrace: failed to compile script /tmp/32-bit/tcl8.4.16/unix/../generic/tclDTrace.d: line 29: syntax error near "Tcl_Obj"
    gmake: *** [tclDTrace.o] Error 1
    
    Which is strange, because in a 64-bit environment (both SPARC and x86)
    the code builds fine, but basic.test gets into a very tight infinite
    loop and external analysis tools such truss / pstack / etc have yet to
    enlighten me as to what it is doing. It should be noted that, both 64-bit
    versions have this behavour in basic.test regardless of dtrace enabling.
    
    Back on the 32-bit version, I tried the command on the command line,
    without any joy. I even tried added the -32 cmdline option, with anymore
    success. Aside: Solaris 10 8/07 (Update 4) dtrace identifies itself
    as version 1.3.
    
    Any Thoughts or suggestions welcome,
    
    Peter Bray
    Sydney, Australia 
    
    
    
    
  2. login: "illumino"
  3. mimetype: "text/plain"
  4. username: "illumino"