Artifacts Associated With Ticket 218730
Ticket change [393ae29330] (rid 112354) by nobody on 2000-10-26 01:04:40:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1915 Bug Version: 8.1b3 SubmitDate: '1999-04-21' LastModified: '1999-06-01' Severity: MED Status: Released Submitter: pat ChangedBy: stanton OS: Other OSVersion: FreeBSD 3.1 Machine: NA FixedDate: '1999-04-21' FixedInVersion: 8.1 ClosedDate: '2000-10-25' Name: Mark Diekhans Extensions: th Comments: In the FreeBSD 3.1 release, the system was switched to use the ELF object format and the latest GNU linker. The shared library name of libtcl81.so.10 no longer works, a name of libtcl8.1.so works and is what is used on most other systems. ReproducibleScript: configure --enable-shared results in a failed link of Tcl. A patch is enclosed to fix this. It should probably be applied to the 8.0.* release tree as well. Patch: *** unix/configure.in.ORGTue Apr 20 23:13:48 1999 --- unix/configure.inTue Apr 20 23:24:41 1999 *************** *** 907,913 **** LD_FLAGS="-Wl,-Bexport" LD_SEARCH_FLAGS="" ;; ! NetBSD-*|FreeBSD-*|OpenBSD-*) # Not available on all versions: check for include file. AC_CHECK_HEADER(dlfcn.h, [ SHLIB_CFLAGS="-fpic" --- 907,913 ---- LD_FLAGS="-Wl,-Bexport" LD_SEARCH_FLAGS="" ;; ! NetBSD-*|FreeBSD-[12].*|OpenBSD-*) # Not available on all versions: check for include file. AC_CHECK_HEADER(dlfcn.h, [ SHLIB_CFLAGS="-fpic" *************** *** 935,940 **** --- 935,951 ---- TCL_UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' TCL_LIB_VERSIONS_OK=nodots + ;; + FreeBSD-*) + # FreeBSD 3.* and greater have ELF. + SHLIB_CFLAGS="-fpic" + SHLIB_LD="ld -Bshareable -x" + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" + LD_FLAGS="" + LD_SEARCH_FLAGS="" ;; NEXTSTEP-*) SHLIB_CFLAGS="" PatchFiles: unix/configure.in 04/21/1999 18:08 - redman - applied the patch to 8.1.0. 06/01/1999 14:08 - stanton - updated patches database - foundin initialized to: "obsolete: 8.1b3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "shlib configure doesn't work on FreeBSD 3.1"
- type initialized to: "Bug"
Ticket change [96531789cc] (rid 106304) by welch on 2000-10-26 08:28:12:
- closedate changed to: "2000-10-26T01:28:12"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [01c690ce77] (rid 119542) by dgp on 2001-04-17 06:01:37:
- closedate changed to: "2001-04-16T23:01:37"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"