Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-21
04:12 • Ticket [218828ffff] Support for FreeBSD 3.x status still Closed with 3 other... artifact: 83ddb7f24d user: dgp
2000-10-26
08:30 • Closed ticket [218828ffff]. artifact: d782129d91 user: welch
01:06 • New ticket [218828ffff]. artifact: e7d8446561 user: nobody

Support for FreeBSD 3.x

Closed / Fixed218828ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:06:06
OriginalBugID: 2274 Bug
Version: 8.0.5
SubmitDate: '1999-06-21'
LastModified: '1999-09-15'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
OSVersion: FreeBSD 3.1
Machine: NA
FixedDate: '1999-09-15'
FixedInVersion: 8.3b1
ClosedDate: '2000-10-25'


Name:
Jan Nijtmans

CVS:
june 11, 1999

Comments:
This patch is earlier submitted by Mark Diekhans as BugID 1915,
    and already accepted in Tcl8.1.0. However, this earlier patch
    was not 100% correct, which I submitted as the BugID 2121
    followup. By now it is fixed in the CVS database, so it seems
    logical to backport the same in 8.0.x as well.

ReproducibleScript:
Tcl/Tk 8.0.5 doesn't build on FreeBSD 3.x

Patch:
*** unix/configure.in.origSat Jun 19 00:04:37 1999
--- unix/configure.inSat Jun 19 00:10:15 1999
***************
*** 841,847 ****
  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"
--- 841,847 ----
  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"
***************
*** 869,874 ****
--- 869,885 ----
  
  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



These were included earlier, but there was a [12] problem
(should be [1-2]) that was fixed for 8.3b1. 
-- 09/15/1999 hobbs
welch Closed ticket [218828ffff]. [History diff]2000-10-26 08:30:12
dgp Ticket [218828ffff]: 3 changes [History diff]2001-04-21 04:12:03
Log in (anonymous is fine) to add a comment.