Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f44e97276e246dad2475b5c53f236eb981d581eb
Ticket: 218639ffffffffffffffffffffffffffffffffff
make test broken for debug build
User & Date: nobody on 2000-10-26 01:03:34
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1564 Bug
    Version: 8.1b2
    SubmitDate: '1999-03-19'
    LastModified: '1999-03-23'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: stanton
    OS: Other
    Machine: NA
    FixedDate: '1999-03-23'
    FixedInVersion: 8.1b3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Don Porter
    
    ReproducibleScript:
        $ cd tcl8.1b2/unix
        $ ./configure --enable-gcc --enable-shared --enable-symbols
        $ make 
        $ make test
    
    ObservedBehavior:
        ...
        gcc -pipe -shared -o pkga.so pkga.o
        -L/homeitl/dgp/alpha/linux/src/tcl/unix -ltclstub8.1 
        /usr/bin/ld: cannot open -ltclstub8.1: No such file or directory
        collect2: ld returned 1 exit status
        make[1]: *** [pkga.so] Error 1
        make[1]: Leaving directory
        `/homeitl/dgp/alpha/linux/src/tcl/unix/dltest'
        make: *** [dltest/pkg5.so] Error 2
    
    DesiredBehavior:
        make test should run tests
    
    Patch:
    Index: sun/tcl/unix/dltest/configure.in
    diff -c sun/tcl/unix/dltest/configure.in:1.1.1.3 sun/tcl/unix/dltest/configure.in:1.2
    *** sun/tcl/unix/dltest/configure.in:1.1.1.3    Wed Mar 17 10:32:03 1999
    --- sun/tcl/unix/dltest/configure.in    Fri Mar 19 18:37:05 1999
    ***************
    *** 10,15 ****
    --- 10,17 ----
    
      CC=$TCL_CC
      AC_SUBST(CC)
    + DBGX=$TCL_DBGX
    + AC_SUBST(DBGX)
      SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
      AC_SUBST(SHLIB_CFLAGS)
      EXTRA_CFLAGS=$TCL_EXTRA_CFLAGS
    Index: sun/tcl/unix/dltest/Makefile.in
    diff -c sun/tcl/unix/dltest/Makefile.in:1.1.1.4 sun/tcl/unix/dltest/Makefile.in:1.2
    *** sun/tcl/unix/dltest/Makefile.in:1.1.1.4     Wed Mar 17 10:32:03 1999
    --- sun/tcl/unix/dltest/Makefile.in     Fri Mar 19 18:37:05 1999
    ***************
    *** 4,9 ****
    --- 4,10 ----
      # RCS: @(#) $Id: Makefile.in,v 1.1.2.3 1999/03/12 23:01:01 stanton Exp $
    
      CC = @CC@
    + TCL_DBGX=             @DBGX@
      LIBS =                        @TCL_BUILD_STUB_LIB_SPEC@ @SHLIB_LD_LIBS@
      AC_FLAGS =            @EXTRA_CFLAGS@
      SHLIB_CFLAGS =                @SHLIB_CFLAGS@
    
    PatchFiles:
        unix/dltest/configure.in
        unix/dltest/Makefile.in
    
    
    
        Cause of the problem: Value of $TCL_DBGX not substituted into library
        name.
        
        NB: This patch also seems to fix the bug I reported earlier,
        http://www.dejanews.com/getdoc.xp?AN=456617666
    ----
    This patch may have already been applied by Stanton.  If not, it should be.
    03/23/1999 19:22 - surles -
        
    03/23/1999 20:12 - stanton - The patch has definitely been applied.
    
    
  4. foundin changed to: "obsolete: 8.1b2"
  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: "61. (unused)"
  10. title changed to: "make test broken for debug build"
  11. type changed to: "Bug"