Skip to content
Tcl Source Code History Of Ticket 217831
Login

History Of Ticket 217831

Artifacts Associated With Ticket 217831

  1. Ticket change [22833b96bf] (rid 130759) by nobody on 2000-10-26 00:44:34:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1579 Bug
      Version: 8.1b2
      SubmitDate: '1999-03-22'
      LastModified: '1999-03-27'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: redman
      RelatedBugIDs: 1517  1520
      OS: SunOS
      OSVersion: 5.6 (SPARC)
      Machine: Sparc
      FixedDate: '2000-10-25'
      FixedInVersion: 8.1b3
      ClosedDate: '1999-03-27'
      
      
      Name:
      Taketo Kabe
      
      ReproducibleScript:
          on UNIX source tree,
             $ ./configure --enable-shared .....
             $ make
             $ make test
          
          
      
      
      
      ObservedBehavior:
          Compiling the test shared library in unix/dltest bails out with
          recursive LIBS= definition.
          
          >> $ make test
          >> if test ! -f tclsh; then make tclsh; else true; fi
          >> cd dltest;
          PATH=..:/home/kabe/bin:/usr/local/bin:/usr/local/gnu/bin:/usr/local/X11R6
          /bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/bin:/bin:/usr/etc:/usr/sbin:/usr/ucb
          :/usr/bsd:/usr/openwin/bin:/opt/NSCPnav/bin TCL_LIBRARY=../../library
          make
          >> mksh: Fatal error in reader: Loop detected when expanding macro value
          `-L/usr/local/src/tcl8.1b2/unix -ltclstub8.1${TCL_DBGX} ${LIBS}'
          >> Current working directory /usr/local/src/tcl8.1b2/unix/dltest
          >> *** Error code 1
          >> make: Fatal error: Command failed for target `dltest/pkg5.so'
          
          
      
      
      
      DesiredBehavior:
          Build the dltest/pkg*.so test libraries and pass on to the test suite
          
      
      
      
      Patch:
      --- unix/dltest/Makefile.in.distSun Mar 14 03:08:31 1999
      +++ unix/dltest/Makefile.inMon Mar 22 03:03:05 1999
      @@ -4,7 +4,7 @@
       # RCS: @(#) $Id: Makefile.in,v 1.1.2.3 1999/03/12 23:01:01 stanton Exp $
       
       CC = @CC@
      -LIBS =@TCL_BUILD_STUB_LIB_SPEC@ @SHLIB_LD_LIBS@
      +SHLIB_LD_LIBS =@TCL_BUILD_STUB_LIB_SPEC@ @SHLIB_LD_LIBS@
       AC_FLAGS =@EXTRA_CFLAGS@
       SHLIB_CFLAGS =@SHLIB_CFLAGS@
       SHLIB_LD =@SHLIB_LD@
      @@ -21,23 +21,23 @@
       
       pkga${SHLIB_SUFFIX}: $(SRC_DIR)/pkga.c
       $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkga.c
      -${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o ${LIBS}
      +${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o ${SHLIB_LD_LIBS}
       
       pkgb${SHLIB_SUFFIX}: $(SRC_DIR)/pkgb.c
       $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgb.c
      -${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o ${LIBS}
      +${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o ${SHLIB_LD_LIBS}
       
       pkgc${SHLIB_SUFFIX}: $(SRC_DIR)/pkgc.c
       $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgc.c
      -${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o ${LIBS}
      +${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o ${SHLIB_LD_LIBS}
       
       pkgd${SHLIB_SUFFIX}: $(SRC_DIR)/pkgd.c
       $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgd.c
      -${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o ${LIBS}
      +${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o ${SHLIB_LD_LIBS}
       
       pkge${SHLIB_SUFFIX}: $(SRC_DIR)/pkge.c
       $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkge.c
      -${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${LIBS}
      +${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${SHLIB_LD_LIBS}
       
       clean:
       rm -f *.o *${SHLIB_SUFFIX} config.cache config.log config.status lib.exp
      
      
      
      
      PatchFiles:
          unix/dltest/Makefile.in
          
      
      
      
      
      
      03/27/1999 15:25 - redman - Fixed, applied patch from Bug ID 1517
      
          make-macro ${LIBS} seems to be mainly used for executable's build, but
          dltest/Makefile.in uses LIBS= for shared library dependency.
          Unfortunately shared library frequently depends on standard system libs
          (ex. -lsocket -lnsl) defined as ${LIBS} macro by configure.
          This makes
            LIBS = @TCL_BUILD_STUB_LIB_SPEC@ @SHLIB_LD_LIBS@
          expanded to
            LIBS = ..... ${LIBS}
          
          My patch replaces dltest/Makefile.in 's LIBS to SHLIB_LD_LIBS
          make-macro.
          
          
      
      
    4. foundin initialized to: "obsolete: 8.1b2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to: "Makefile macro conflict in unix/dltest/Makefile.in"
    11. type initialized to: "Bug"
  2. Ticket change [32b179b17c] (rid 93657) by welch on 2000-10-26 07:59:46:

    1. closedate changed to: "2000-10-26T00:59:46"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"