Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fe4432a5ed4a71cf1f01c982f831443b60acb6a9
Ticket: 218141ffffffffffffffffffffffffffffffffff
Sun linker is invoked incorrectly in Tcl 8.1's tclConfig.sh
User & Date: nobody on 2000-10-26 00:53:38
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2083 Bug
    Version: 8.1
    SubmitDate: '1999-05-17'
    LastModified: '1999-12-03'
    Severity: MED
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: Sparc Solaris 5.6
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-12-03'
    
    
    Name:
    mo
    
    ReproducibleScript:
    I tried to compile Tcl Blend with Tcl 8.1 but I got an error from
        the linker. The problem is that the configure script places gnu
        specific linker info into the tclConfig.sh file. When I compiled
        Tcl 8.1 I used these options, --enable-gcc --enable-threads
        --enable-symbols --enable-shared.
    
    ObservedBehavior:
    gcc -pipe -c -g  -D_REENTRANT -DTCL_MEM_DEBUG -I.
        -I/home/grad03/dejong/tcl/tcljava/unix/../src/native
        -I/tmp/mo/tcl8.1/generic -I/soft/java/JDK-1.1.6/include
        -I/soft/java/JDK-1.1.6/include/solaris -fPIC
        /home/grad03/dejong/tcl/tcljava/unix/../unix/unixNotifier.c
        
        /usr/ccs/bin/ld -G -z text -o libtclblend.so javaCmd.o javaIdle.o
        javaInterp.o javaObj.o javaList.o javaNotifier.o javaTimer.o javaUtil.o
        tclResult.o unixNotifier.o
        -Wl,-R,/soft/java/JDK-1.1.6/lib/sparc/native_threads:/tmp/mo/tcl8.1/unix
        -L/soft/java/JDK-1.1.6/lib/sparc/native_threads -lthread -ljava
        -L/tmp/mo/tcl8.1/unix -ltcl8.1g -ldl  -lsocket -lnsl -lpthread -lm
        /usr/ccs/bin/ld: illegal option -- W
        usage: ld [-abd:e:f:h:il:mo:rstu:z:B:D:F:GI:L:M:N:Q:R:S:VY:] file(s)
        
        Here is the incorrect output from the generated tcoConfig.sh file.
        
        TCL_LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    
    DesiredBehavior:
    The output for the sun linker should be link this:
        
        TCL_LD_SEARCH_FLAGS='-R,${LIB_RUNTIME_DIR}' (ie. remove the -W,)
    
    
    
    This is a standard an accepted limitation of tclConfig.sh.
    It expects that you build extensions in the same way you
    built the Tcl that generated the .sh. 
    -- 12/03/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to:
    Sun linker is invoked incorrectly in Tcl 8.1's tclConfig.sh
    
  11. type changed to: "Bug"