Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c82ffe6622f5bf57362651e1a8a300379ca545f9
Ticket: 1921166fffffffffffffffffffffffffffffffff
won't build 64bit version on Solaris with cc
User & Date: psum on 2008-03-21 19:04:52
Changes

  1. icomment:
    Logged In: YES 
    user_id=1544880
    Originator: YES
    
    I can confirm that Tcl builds with --enable-dtrace and --enable-64bit just fine with your modified patch (tested on CVS HEAD). I verified this on Solaris Nevada (sparc and intel) and Solaris 10 8/07 (sparc).
    
    I had problem to compile it on first version of Solaris 10 (s10_74L2a). Evidently there was some change in dtrace in Solaris updates (as it works with Solaris 10 8/07). The problem was following:
    
    /usr/sbin/dtrace -G  -o tclDTrace.o -s /net/shaker/builds/ps156622/tcl/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 tclConfig.o tclDate.o tclDictObj.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  tclIORChan.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 tclPathObj.o tclPipe.o  tclPkg.o tclPkgConfig.o tclPosixStr.o  tclPreserve.o tclProc.o tclRegexp.o  tclResolve.o tclResult.o tclScan.o tclStringObj.o  tclStrToD.o tclThread.o  tclThreadAlloc.o tclThreadJoin.o tclThreadStorage.o tclStubInit.o  tclStubLib.o tclTimer.o tclTrace.o tclUtf.o tclUtil.o tclVar.o  tclTomMathInterface.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 link script /net/shaker/builds/ps156622/tcl/unix/../generic/tclDTrace.d: incorrect ELF class for object file regcomp.o
    
    Problem is with missing dtrace option "-64".
    
    But this is fixed in dtrace now so please go ahead with the change.
    
    
    
  2. login: "psum"
  3. mimetype: "text/plain"
  4. username: "psum"