Skip to content
Tcl Source Code History Of Ticket 450725ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 450725ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 450725ffffffffffffffffffffffffffffffffff

  1. Ticket change [8f94b64799] (rid 120297) by dinoex on 2001-08-14 08:13:08:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      --- tcl.m4.orig Fri Apr  6 20:51:46 2001
      +++ tcl.m4      Tue Aug 14 09:24:56 2001
      @@ -890,8 +890,11 @@
                  SHLIB_SUFFIX=".so"
                  DL_OBJS="tclLoadDl.o"
                  DL_LIBS=""
      -           LDFLAGS="-export-dynamic"
      +           LDFLAGS=""
                  LD_SEARCH_FLAGS=""
      +          
      UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
      +          
      SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
      +           TCL_LIB_VERSIONS_OK=nodots
                  ;;
              Rhapsody-*|Darwin-*)
                  SHLIB_CFLAGS="-fno-common"
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dinoex"
    9. subsystem initialized to: "53. Configure and Build Tools"
    10. title initialized to: "Fix Build for FreeBSD"
    11. type initialized to: "Patch"
  2. Ticket change [f51ff4a1a8] (rid 130053) by mdejong on 2001-09-08 06:40:08:

    1. icomment:
      Logged In: YES 
      user_id=90858
      
      Dirk, could you explain what problem this patch
      is fixing and how exactly it fixes it? Also, could
      you attach the patch instead of pasting it into
      the text area? You should also make the patch
      from the current CVS source so that it applies
      cleanly.
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  3. Ticket change [4bf99eac9f] (rid 126798) by dinoex on 2001-09-08 09:52:56:

    1. icomment:
      Logged In: YES 
      user_id=181729
      
      FreeBSD don't use dotted Shared Libs since it moved from
      aout (3.x, 4.x, 5.x ).
      
      ldd /usr/local/bin/wish8.3 
      /usr/local/bin/wish8.3:
              libtk83.so => /usr/local/lib/libtk83.so
              libtcl83.so => /usr/local/lib/libtcl83.so
              libX11.so.6 => /usr/X11R6/lib/libX11.so.6
              libm.so.2 => /usr/lib/libm.so.2
              libc.so.4 => /usr/lib/libc.so.4
              libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6
      
      
      I think the patch make sure the lib names gets installed
      with the right extensions.
      
      
      
      
      
    2. login: "dinoex"
    3. mimetype: "text/plain"
    4. username: "dinoex"
  4. Ticket change [b807950b49] (rid 128905) by dinoex on 2001-09-08 09:55:55:

    1. icomment:
      
      
      File Added - 10522: patch-tcl.m4
      
      Logged In: YES 
      user_id=181729
      
      TRy to add the patch
      
      
      
    2. login: "dinoex"
    3. mimetype: "text/plain"
    4. username: "dinoex"
  5. Add attachment "patch-tcl.m4" [f5f0e53f4b] (rid 130206) by dinoex on 2001-09-08 09:55:55.

  6. Ticket change [b0985c7ca9] (rid 98010) by mdejong on 2001-09-08 11:43:29:

    1. icomment:
      Logged In: YES 
      user_id=90858
      
      Ok, I see what you mean WTR the . in lib names.
      Trouble is, I run into compile problems related
      to the shared library name when I add your change.
      As far as I can tell, things compile ok on this
      FreeBSD 4.3 machine I tested on before adding
      your patch. Here is the compiler error that
      shows up after adding your patch.
      
      % make
      ...
      rm -f libtcl84g.so.1
      ld -Bshareable -x -o libtcl84g.so.1 regcomp.o regexec.o
      regfree.o regerror.o tclAlloc.o  tclAsync.o tclBasic.o
      tclBinary.o  tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o
      tclCmdMZ.o  tclCompCmds.o tclCompExpr.o tclCompile.o
      tclDate.o tclEncoding.o  tclEnv.o tclEvent.o tclExecute.o
      tclFCmd.o tclFileName.o tclGet.o  tclHash.o tclHistory.o
      tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o  tclIOGT.o
      tclIOSock.o tclIOUtil.o tclLink.o tclListObj.o  tclLiteral.o
      tclLoad.o tclMain.o tclNamesp.o tclNotify.o  tclObj.o
      tclPanic.o tclParse.o tclParseExpr.o tclPipe.o  tclPkg.o
      tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o 
      tclResolve.o tclResult.o tclScan.o tclStringObj.o
      tclThread.o  tclStubInit.o tclStubLib.o tclTimer.o tclUtf.o
      tclUtil.o tclVar.o tclMtherr.o tclUnixChan.o tclUnixEvent.o
      tclUnixFCmd.o  tclUnixFile.o tclUnixPipe.o tclUnixSock.o 
      tclUnixTime.o tclUnixInit.o tclUnixThrd.o tclUnixNotfy.o 
      tclLoadDl.o
      : libtcl84g.so.1
      gcc -pipe  tclAppInit.o
      -L/home/users/m/md/mdejong/project/build/freebsd -ltcl84g
      -lm -lc  -o tclsh
      /usr/libexec/elf/ld: cannot find -ltcl84g
      *** Error code 1
      
      
      Now, if I change the name of the output lib to
      "libtcl84g.so" it links just fine. Thing is,
      that does not create a "libtcl84g.so.1" symlink
      like the system installed one.
      
      $ pwd
      /home/users/m/md/mdejong/project/install/freebsd/lib
      bash-2.05$ ls -la  
      total 1852
      drwxr-xr-x  3 mdejong  users     4096 Sep  7 21:38 .
      drwxr-xr-x  6 mdejong  users     4096 Sep  7 21:38 ..
      -r-xr-xr-x  1 mdejong  users  1792525 Sep  7 21:38
      libtcl84g.so
      -rw-r--r--  1 mdejong  users    72108 Sep  7 21:38
      libtclstub84g.a
      drwxr-xr-x  8 mdejong  users     4096 Sep  7 21:38 tcl8.4
      -rw-r--r--  1 mdejong  users     7024 Sep  7 21:38
      tclConfig.sh
      
      
      (The system install)
      
      $ ls -la /usr/local/lib/libtcl83*
      -r-xr-xr-x  1 root  wheel  784262 Apr 18 14:09
      /usr/local/lib/libtcl83.a
      lrwxrwxrwx  1 root  wheel      13 Jun  5 07:34
      /usr/local/lib/libtcl83.so -> libtcl83.so.1
      -r-xr-xr-x  1 root  wheel  555384 Apr 18 14:09
      /usr/local/lib/libtcl83.so.1
      
      
      Also, what does removing the -export-dynamic flag
      from the LDFLAGS do? Someone must have added that
      for some reason.
      
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  7. Add attachment "patch-aa" [0f803d0af4] (rid 94800) by dinoex on 2001-09-09 23:03:31.

  8. Ticket change [41b1e3d6c9] (rid 116235) by dinoex on 2001-09-09 23:03:31:

    1. icomment:
      
      
      File Added - 10557: patch-aa
      
      
      
    2. login: "dinoex"
    3. mimetype: "text/plain"
    4. username: "dinoex"
  9. Ticket change [2e3358f019] (rid 119183) by dinoex on 2001-09-09 23:05:45:

    1. icomment:
      Logged In: YES 
      user_id=181729
      
      Oh yes, I see.
      In the FreeBSD Ports COllection
      WH have a Patch for the Makefile
      so it found the lib.
      The patch is from the previous maintainer,
      I haven'd reviewed all of it yet.
      
      
      
    2. login: "dinoex"
    3. mimetype: "text/plain"
    4. username: "dinoex"
  10. Ticket change [fdbe3a0393] (rid 108464) by mdejong on 2001-09-10 00:46:14:

    1. icomment:
      
      
      File Added - 10563: nodots.patch
      
      Logged In: YES 
      user_id=90858
      
      I don't really see the need for many of these
      changes. For example, why version the tcl
      with an elf .so.1 suffix when the "84" version
      string already appears in the library name?
      I would be willing to check in the attached
      patch, it simply removes the dots from the
      library name.
      
      
      
    2. login: "mdejong"
    3. mimetype: "text/plain"
    4. username: "mdejong"
  11. Add attachment "nodots.patch" [39d3351572] (rid 112455) by mdejong on 2001-09-10 00:46:14.

  12. Ticket change [a1caedcec8] (rid 109784) by mdejong on 2001-09-11 05:49:55:

    1. closedate changed to: "2001-09-10T22:49:55"
    2. closer changed to: "mdejong"
    3. icomment:
      Logged In: YES 
      user_id=90858
      
      I did a commit of the patch to remove . characters
      from the library names. The other changes seem
      to be unrelated to this particular problem and
      can therefore be handled with another patch.
      
      
    4. login: "mdejong"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "mdejong"