|
2002-07-30
| ||
| 06:05 | • Closed ticket [587299ffff]: ranlib not being run when it should plus 7 other... artifact: 1ce82a2a6a user: mdejong | |
| 04:13 | • Ticket [587299ffff]: 4 changes artifact: 99a32090db user: georgeps | |
| 03:39 | • Ticket [587299ffff]: 4 changes artifact: d862f6524a user: mdejong | |
| 02:31 | • Open ticket [587299ffff]. artifact: 8ce98ca585 user: georgeps | |
|
2002-07-28
| ||
| 10:23 | • Closed ticket [587299ffff]. artifact: 0036987d92 user: mdejong | |
|
2002-07-26
| ||
| 23:27 | • New ticket [587299ffff]. artifact: 2c9eec19b6 user: georgeps | |
ranlib not being run when it should
Closed / Fixed587299ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-26 23:27:14
With Tcl 8.4b1 and the latest CVS head the tests for whether or not to run ranlib are failing in OpenBSD 3.0 x86. This problem only occurs when configuring with -- disable-shared. I can build tclsh after the linking fails by simply invoking ranlib libtcl84.a and running make again. The 8.3.4 release does not have this problem.
mdejongplain2002-07-28 10:23:41
Logged In: YES user_id=90858 This should be fixed now.
georgepsplain2002-07-30 02:31:00
Logged In: YES user_id=585068 With --disable-shared it now builds properly -- thank you. It's not fixed in the CVS head yet though. There is a new problem. I'm not sure if this was caused by your changes, so I haven't filed another bug report. When configuring with no options this linking error occurs: ld -Bshareable -x -o libtcl84.so.1.0 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 tclUnixNotfy.o strtoll.o strtoull.o tclLoadDl.o -Wl,-rpath,/usr/local/lib ld: invalid command option `-Wl,-rpath,/usr/local/lib' *** Error code 1 The -Wl look suspicious because I don't see that in the man page for ld.
mdejongplain2002-07-30 03:39:35
Logged In: YES
user_id=90858
I don't follow. How could it be working for you if it is not
fixed in the CVS HEAD? The -W... option you are seeing
is an error. It seems that the CC_SEARCH_FLAGS are
being used when LD_SEARCH_FLAGS is needed. Could
you look at the generated Makefile and see what it the
{LIB_FILE}: rule looks like?
georgepsplain2002-07-30 04:13:08
Logged In: YES
user_id=585068
It's not completely working for me. The shared build
fails. Sorry that I was unclear.
Here are the relevent (I hope) parts of the generated
Makefile:
SHLIB_LD = ld -Bshareable -x
CC_SEARCH_FLAGS =
LD_SEARCH_FLAGS = -Wl,-rpath,${LIB_RUNTIME_DIR}
TCL_LIB_FILE = libtcl84${TCL_DBGX}.so.1.0
LIB_FILE = ${TCL_LIB_FILE}
${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE}
rm -f $@
${SHLIB_LD} -o $@ ${SHLIB_LD_FLAGS} ${OBJS}
${SHLIB_LD_LIBS} ${LD_SEARCH_FLAGS}
mdejongplain2002-07-30 06:05:49
Logged In: YES user_id=90858 This second problem should be fixed by Tcl patch 588290. It was just committed to the CVS.
Log in (anonymous is fine) to add a comment.