Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 558e2552339eec530754834adb6e64ce490c4c35
Ticket: 218760ffffffffffffffffffffffffffffffffff
static linking fails for tcl 8.1
User & Date: nobody on 2000-10-26 01:05:03
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2014 Bug
    Version: 8.1
    SubmitDate: '1999-05-07'
    LastModified: '2000-02-05'
    Severity: CRIT
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    RelatedBugIDs: 2013
    OS: Solaris
    OSVersion: 2.6
    Machine: Other
    FixedDate: '2000-02-05'
    FixedInVersion: 8.2
    ClosedDate: '2000-10-25'
    
    
    Name:
    Barry Fujii
    
    Comments:
    I configured tcl with --prefix=/lab --enable-gcc --disable-load
        $ gcc -v
        Reading specs from
        /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/specs
        gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
        $ ld -V
        ld: Software Generation Utilities - Solaris/ELF (3.0)
    
    ReproducibleScript:
    % make
        gcc -pipe  tclAppInit.o -L/lab/build/tcl8.1/unix/solaris2.6/static
        -ltcl8.1 -lsocket -lnsl -lm -lc  -o tclsh
        Undefined                       first referenced
         symbol                             in file
        TclpLoadFile
        /lab/build/tcl8.1/unix/solaris2.6/static/libtcl8.1.a(tclLoad.o)
        TclpUnloadFile
        /lab/build/tcl8.1/unix/solaris2.6/static/libtcl8.1.a(tclLoad.o)
        ld: fatal: Symbol referencing errors. No output written to tclsh
        collect2: ld returned 1 exit status
    
    
    
    This was fixed with a makefile overhaul in 8.2.
    ./configure --disable-shared --disable-load should work fine (its
    just running through the test suite for me now). 
    -- 02/05/2000 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: "static linking fails for tcl 8.1"
  11. type changed to: "Bug"