Artifacts Associated With Ticket 448625ffffffffffffffffffffffffffffffffff
Ticket change [3b33200059] (rid 112693) by pahoughton on 2001-08-07 01:07:08:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In unix/tcl.m4 the setting of LD_SEARCH_FLAG for SunOS 5.6 is incorrect if gcc is not being used. The problem is resolved for 5.7 and 5.8, but was not implemented for 5.6 and below. Heres the Patch: diff -rc tcl8.3.3-orig/unix/tcl.m4 tcl8.3.3/unix/tcl.m4 *** tcl8.3.3-orig/unix/tcl.m4Fri Apr 6 12:51:46 2001 --- tcl8.3.3/unix/tcl.m4Mon Aug 6 18:57:26 2001 *************** 1042 DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" LDFLAGS="" ! LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' ;; SunOS-5*) SHLIB_CFLAGS="-KPIC" --- 1036,1046 ---- DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" LDFLAGS="" ! if test "$using_gcc" = "yes" ; then ! LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' ! else ! LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' ! fi ;; SunOS-5*) SHLIB_CFLAGS="-KPIC" - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pahoughton"
- subsystem initialized to: "53. Configure and Build Tools"
- title initialized to: "Sun 5.6 LD_SEARCH_FLAG setting incorrect"
- type initialized to: "Patch"
Ticket change [b04b799bbd] (rid 97954) by pahoughton on 2001-08-07 08:07:09:
- icomment:
File Added - 9311: tcl8.3.3-pah.src.patch
- login: "pahoughton"
- mimetype: "text/plain"
- username: "pahoughton"
- icomment:
Add attachment "tcl8.3.3-pah.src.patch" [12c46b3524] (rid 124105) by pahoughton on 2001-08-07 08:07:09.
Ticket change [9d1e806475] (rid 96256) by hobbs on 2001-08-23 01:59:31:
- closedate changed to: "2001-08-22T18:59:31"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 cc tclAppInit.o -L/export/home/jeffh/build/tcl84a4 - ltcl8.4 -ldl -lsocket -lnsl -lm -lc \ -Wl,-R,/home/jeffh/install/solaris-sparc/lib -o tclsh sparky [~/build/tcl84a4] 27 > which cc /opt/SUNWspro/bin/cc sparky [~/build/tcl84a4] 28 > uname -a SunOS sparky 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra- 5_10 and most notably: sparky [~/build/tcl84a4] 31 > ldd -s ./tclsh find library=libtcl8.4.so; required by ./tclsh search path=/home/jeffh/install/solaris-sparc/lib (RPATH from file ./tclsh) trying path=/home/jeffh/install/solaris- sparc/lib/libtcl8.4.so search path=/usr/lib (default) trying path=/usr/lib/libtcl8.4.so libtcl8.4.so => (file not found) Shows that Solaris cc does pick up the file regardless. The patch seems OK, but if it just unnecessarily complicates things, why apply it? - login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Closed"
- username: "hobbs"