Overview
| Artifact ID: | 587c2ef42adec03ca23683fb4571b78a0eb6462e |
|---|---|
| Ticket: | 217819ffffffffffffffffffffffffffffffffff
configure bug on Linux and IRIX systems |
| User & Date: | nobody on 2000-10-26 00:44:08 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "61. (unused)"
- title changed to: "configure bug on Linux and IRIX systems"
- type changed to: "Bug"