Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-23
03:34 • Ticket [218901ffff] Tcl 8.1 configure bug under Linux and IRIX. status still... artifact: 8240aa3643 user: dgp
2000-10-26
08:31 • Closed ticket [218901ffff]. artifact: f702d5742f user: welch
01:07 • New ticket [218901ffff]. artifact: 0a659fd572 user: nobody

Tcl 8.1 configure bug under Linux and IRIX.

Closed / Fixed218901ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:07:24
OriginalBugID: 2610 Bug
Version: 8.1.1
SubmitDate: '1999-08-31'
LastModified: '1999-09-20'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-Red Hat
OSVersion: RedHat 5.2
Machine: Other
FixedDate: '1999-09-15'
FixedInVersion: 8.2.1
ClosedDate: '2000-10-25'


Name:
Mo DeJong

Comments:
This fix may also need to be applied to the 8.2 tree. Without these
    changes
    Tcl Blend will compile on IRIX and Linux systems, but it will not run
    correctly.

ReproducibleScript:
When Tcl 8.1.1 is configured on a Linux or IRIX system it incorrectly
    links
    shared libs that use tclConfig.sh to get config info. This worked under
    Tcl 8.0.5 but it seems that the fix that was applied to Tcl 8.0.5 never
    made it into the 8.1 tree.

Patch:
Modify the unix/configure.in script like this.


  IRIX-5.*|IRIX-6.*|IRIX64-6.5*)
        SHLIB_CFLAGS=""
        SHLIB_LD="ld -n32 -shared -rdata_shared"
-       SHLIB_LD_LIBS=""
+       SHLIB_LD_LIBS='${LIBS}'

     Linux*)
        SHLIB_CFLAGS="-fPIC"
-       SHLIB_LD_LIBS="${LIBS}"
+       SHLIB_LD_LIBS='${LIBS}'

PatchFiles:
unix/configure.in



Linux has this fix in 8.2, and so does IRIX-64, but not
the normal IRIX...  will this adversely effect anything else? 
-- 09/15/1999 hobbs
Clarification - these fixes are in 8.2.1. 
-- 09/20/1999 hobbs
welch Closed ticket [218901ffff]. [History diff]2000-10-26 08:31:15
dgp Ticket [218901ffff]: 3 changes [History diff]2001-04-23 03:34:37
Log in (anonymous is fine) to add a comment.