Artifact
1aa6e55f1e9878ce79d0a6c1acb7d189c0e65c84:
Ticket change
[1aa6e55f1e]
- New ticket
[1921166fffffffff|1921166fff] <i>won't build 64bit version on Solaris with cc</i>.
by
psum on
2008-03-20 15:10:47.
D 2008-03-20T15:10:47
J assignee nobody
J cmimetype text/plain
J comment Tcl\sand/or\sTk\swon't\sbuild\son\sSolaris\s(tested\swith\sSolaris\s11[b76]\sand\s9)\swith\s"--enable-64bit"\s(tested\son\ssparcv9\sbut\sshould\sbe\sthe\ssame\sfor\samd64)\swhen\scompiling\swith\sSun\sStudio\scompiler\s(cc):\n\ncc\s-G\s-z\stext\s-o\slibtcl8.4.so\sregcomp.o\sregexec.o\sregfree.o\sregerror.o\stclAlloc.o\s\stclAsync.o\stclBasic.o\stclBinary.o\s\stclCkalloc.o\stclClock.o\stclCmdAH.o\stclCmdIL.o\stclCmdMZ.o\s\stclCompCmds.o\stclCompExpr.o\stclCompile.o\stclDate.o\stclEncoding.o\s\stclEnv.o\stclEvent.o\stclExecute.o\stclFCmd.o\stclFileName.o\stclGet.o\s\stclHash.o\stclHistory.o\stclIndexObj.o\stclInterp.o\stclIO.o\stclIOCmd.o\s\stclIOGT.o\stclIOSock.o\stclIOUtil.o\stclLink.o\stclListObj.o\s\stclLiteral.o\stclLoad.o\stclMain.o\stclNamesp.o\stclNotify.o\s\stclObj.o\stclPanic.o\stclParse.o\stclParseExpr.o\stclPipe.o\s\stclPkg.o\stclPosixStr.o\stclPreserve.o\stclProc.o\stclRegexp.o\s\stclResolve.o\stclResult.o\stclScan.o\stclStringObj.o\stclThread.o\s\stclThreadAlloc.o\stclThreadJoin.o\stclStubInit.o\stclStubLib.o\s\stclTimer.o\stclUtf.o\stclUtil.o\stclVar.o\stclUnixChan.o\stclUnixEvent.o\stclUnixFCmd.o\s\stclUnixFile.o\stclUnixPipe.o\stclUnixSock.o\s\stclUnixTime.o\stclUnixInit.o\stclUnixThrd.o\s\stclUnixCompat.o\stclUnixNotfy.o\s\s\stclLoadDl.o\s-ldl\s\s-lsocket\s-lnsl\s-lm\s-lc\s\s\s-R\s/usr/local/lib\nld:\sfatal:\sfile\sregcomp.o:\swrong\sELF\sclass:\sELFCLASS64\nld:\sfatal:\sFile\sprocessing\serrors.\sNo\soutput\swritten\sto\slibtcl8.4.so\n\nThis\sis\sprobably\sregression\safter:\n\nSat\sSep\s15\s06:00:49\s2007\sUTC\s(6\smonths\sago)\sby\sdas\s\n\n(SunOS-5.1x):replace\sdirect\suse\sof\s'/usr/ccs/bin/ld'\sin\sSHLIB_LD\sby\n'cc'\scompiler\sdriver.\n\n3870c3997,4002\n<\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD="/usr/ccs/bin/ld\s-G\s-z\stext"\n---\n>\s\s\s\s\s\s\s\s\s\s\s\s\s\s\scase\s$system\sin\n>\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sSunOS-5.[1-9][0-9]*)\n>\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD='${CC}\s-G\s-z\stext';;\n>\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s*)\n>\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD="/usr/ccs/bin/ld\s-G\s-z\stext";;\n>\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sesac\n\nWhere\s${CC}\sis\smissing\s-xarch\sparameter.\sPlease\snote\sthat\sxarch\sis\sset\sin\sLDFLAGS.\sTherefore\ssomething\slike\sthis\sneed\sto\sbe\sadded\s(see\salso\sattached\spatch):\n\nSHLIB_LD="$SHLIB_LD\s$LDFLAGS"\n\nThis\sshould\sbe\sapplicable\salso\sfor\s8.5\sversion.\n
J foundin obsolete:\s8.4.18
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter psum
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title won't\sbuild\s64bit\sversion\son\sSolaris\swith\scc
J type Bug
K 1921166fffffffffffffffffffffffffffffffff
U psum
Z cd99e0b8966c60a6bdefeb6577264f7a