Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-18
06:45 • Ticket [218743ffff] tcl 8.1 release build fails on FreeBSD status still Clos... artifact: bb4e61011e user: dgp
2000-10-26
08:28 • Closed ticket [218743ffff]. artifact: 66d7374a5c user: welch
01:04 • New ticket [218743ffff]. artifact: 2e65ae6ccf user: nobody

tcl 8.1 release build fails on FreeBSD

Closed / Fixed218743ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:50
OriginalBugID: 1969 Bug
Version: 8.1
SubmitDate: '1999-05-04'
LastModified: '1999-09-16'
Severity: SER
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Other
OSVersion: FreeBSD 2.2.8
Machine: NA
FixedDate: '1999-09-16'
FixedInVersion: NA
ClosedDate: '2000-10-25'


Name:
-

Comments:
Perhaps 'ld' doesn't like the '.' in the 'lib8.1'.  After bailing out
    the
    following lib* files remain:
    
        libtcl8.1.so     libtclstub8.1.a
    
    The build for tcl8.1b3 works fine btw.  b3 leaves us with
    
        libtcl81.so.1.0 libtclstub81.a
    
    Diffing the 8.1 and 8.1b3 unix/Makefiles shows that the addition of a
    '.' in the library name is the only significant change.
    
    Mmm...

ReproducibleScript:
./configure
    make

ObservedBehavior:
The build fails because 'ld' can't find the library.  make reports the
    following:
    [much compiling...]
    cc -c -O  -fpic  -I./../generic -I.  -DHAVE_GETCWD=1 -DNO_VALUES_H=1
    -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
    -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
    -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1
    -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
    -DHAVE_SYS_FILIO_H=1          -DTCL_SHLIB_EXT=\".so\"
    ./../unix/tclLoadDl.c
    rm -f libtclstub8.1.a
    ar cr libtclstub8.1.a tclStubLib.o 
    : libtclstub8.1.a
    rm -f libtcl8.1.so
    ld -Bshareable -x -o libtcl8.1.so 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 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  tclStubInit.o
    tclStubLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o tclMtherr.o
    tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o  tclUnixFile.o tclUnixPipe.o
    tclUnixSock.o  tclUnixTime.o tclUnixInit.o tclUnixThrd.o tclUnixNotfy.o
    tclLoadDl.o
    : libtcl8.1.so
    cc -c -O  -fpic  -I./../generic -I.  -DHAVE_GETCWD=1 -DNO_VALUES_H=1
    -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
    -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
    -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1
    -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
    -DHAVE_SYS_FILIO_H=1          -DTCL_SHLIB_EXT=\".so\"
    ./../unix/tclAppInit.c
    cc  tclAppInit.o -L/a/andrew/src/tcl8.1/unix -ltcl8.1 -lm -lc  -o tclsh
    ld: -ltcl8.1: no match
    *** Error code 1
    
    Stop.
    5>

DesiredBehavior:
Um, I'd expect to see it build.



The FreeBSD configs were updated for 8.3b1. 
-- 09/16/1999 hobbs
welch Closed ticket [218743ffff]. [History diff]2000-10-26 08:28:13
dgp Ticket [218743ffff]: 3 changes [History diff]2001-04-18 06:45:46
Log in (anonymous is fine) to add a comment.