Artifacts Associated With Ticket 217819
Ticket change [587c2ef42a] (rid 117814) by nobody on 2000-10-26 00:44:08:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1438 Bug Version: 8.0.4 SubmitDate: '1999-03-04' LastModified: '1999-03-04' Severity: SER Status: Closed Submitter: pat ChangedBy: pat OS: Linux-Red Hat Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-03-04' Name: mo ReproducibleScript: Compile tcl8.0.4 and then run "ldd libtcl8.0.so" to see what is wrong on IRIX and Linux systems. ObservedBehavior: There is a problem with the tcl8.0.4 configure script. The bug in the configure script will cause the libtcl8.0.so shared lib to be compiled incorrectly on Linux and IRIX machines (it might also happend on other systems bug I have only seen it on these two). This problem will also cause packages that use the tclConfig.sh script to fail to compile shared libs correctly. The Tcl Blend package falls victim to the problem as the SHLIB_LD_LIBS variable is not set correctly in the tclConfig.sh script. I have implemented a workaround in the Tcl Blend configure script but this really should be fixed in the main distro. IRIX 6.2 with 8.0.4 (--enable-gcc --enable-shared) (before patch) mo(/tmp/mo/tcl8.0.4/unix)% ldd libtcl8.0.so libtcl8.0.so: No Library List Section in libtcl8.0.so (after patch) mo(/tmp/mo/tcl8.0.4/unix)% ldd libtcl8.0.so libtcl8.0.so: **** MIPS LIBLIST INFORMATION **** .liblist : [INDEX] Timestamp Checksum Flags Name Version [1] Dec 23 11:30:00 1998 0xbada345c ----- libm.so sgi1.0 [2] Sep 10 11:40:52 1998 0xaa889d08 ----- libc.so.1 sgi1.0 Linux 2.0.34 with 8.0.4 (--enable-gcc --enable-shared) (before patch) % ldd libtcl8.0.so statically linked (after patch) % ldd libtcl8.0.so libdl.so.1 => /lib/libdl.so.1 (0x4006e000) libm.so.5 => /lib/libm.so.5 (0x40071000) libc.so.5 => /lib/libc.so.5 (0x4007a000) DesiredBehavior: ldd should show what libs libtcl8.0.so is dynamically linked to. Patch: *** copy_configure.in Sat Dec 26 20:08:33 1998 --- configure.in Sat Dec 26 20:09:44 1998 *************** *** 738,744 **** IRIX-5.*|IRIX-6.*) SHLIB_CFLAGS="" SHLIB_LD="ld -n32 -shared -rdata_shared" ! SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" --- 738,744 ---- IRIX-5.*|IRIX-6.*) SHLIB_CFLAGS="" SHLIB_LD="ld -n32 -shared -rdata_shared" ! SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" *************** *** 771,777 **** ;; Linux*) SHLIB_CFLAGS="-fPIC" ! SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" if test "$have_dl" = yes; then SHLIB_LD="${CC} -shared" --- 771,777 ---- ;; Linux*) SHLIB_CFLAGS="-fPIC" ! SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" if test "$have_dl" = yes; then SHLIB_LD="${CC} -shared" PatchFiles: tcl8.0.4/unix/configure.in I hope that helps Mo DeJong dejong at cs.umn.edu 03/04/1999 15:31 - pat - duplicate of bug 1018 - foundin initialized to: "obsolete: 8.0.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "61. (unused)"
- title initialized to: "configure bug on Linux and IRIX systems"
- type initialized to: "Bug"
Ticket change [68cc719fee] (rid 103128) by welch on 2000-10-26 07:49:20:
- closedate changed to: "2000-10-26T00:49:20"
- closer changed to: "welch"
- priority changed to: "1 Zero"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
Ticket change [dd1b32c6a8] (rid 114597) by dgp on 2001-04-05 08:23:14:
- closedate changed to: "2001-04-05T01:23:14"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"