Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-17
05:47 • Ticket [218683ffff] Configuration for BSD/OS 4.0 incorrect status still Clos... artifact: d9b84e09b0 user: dgp
2000-10-26
08:27 • Closed ticket [218683ffff]. artifact: 0ef7e0b49c user: welch
01:04 • New ticket [218683ffff]. artifact: 5126e05f2d user: nobody

Configuration for BSD/OS 4.0 incorrect

Closed / Fixed218683ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:05
OriginalBugID: 1730 Bug
Version: 8.1b2
SubmitDate: '1999-04-05'
LastModified: '1999-04-05'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: stanton
OS: Other
OSVersion: BSD/OS 4.0.1
Machine: NA
FixedDate: '1999-04-05'
FixedInVersion: 8.1b3
ClosedDate: '2000-10-25'


Name:
[email protected]

ReproducibleScript:
In Tcl-8.1b2, support was added in unix/configure for BSD/OS 4.*. This
    support,
    however, is incorrect. The support that was added treats 4.* like all
    previous
    version of BSD/OS. This causes compilation to fail. As of BSD/OS-4.0,
    there is support for dynamically linked, shared ELF libraries. ...a lot
    like Linux. 
    The following patch corrects the problem.

ObservedBehavior:
Uses old static BSD/OS shared libraries and causes compilation to fail.

DesiredBehavior:
Use new ddynamicaly linked shared libs for BSD/OS 4.*

Patch:
*** configure.in.orig   Mon Apr  5 14:25:02 1999
--- configure.in        Mon Apr  5 14:25:38 1999
***************
*** 764,770 ****
        TCL_NEEDS_EXP_FILE=1
        TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
        ;;
!     BSD/OS-2.1*|BSD/OS-3*|BSD/OS-4*)
        SHLIB_CFLAGS=""
        SHLIB_LD="shlicc -r"
        SHLIB_LD_LIBS='${LIBS}'
--- 764,770 ----
        TCL_NEEDS_EXP_FILE=1
        TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
        ;;
!     BSD/OS-2.1*|BSD/OS-3*)
        SHLIB_CFLAGS=""
        SHLIB_LD="shlicc -r"
        SHLIB_LD_LIBS='${LIBS}'
***************
*** 774,779 ****
--- 774,789 ----
        LD_FLAGS=""
        LD_SEARCH_FLAGS=""
        ;;
+     BSD/OS-4.*)
+         SHLIB_CFLAGS="-export-dynamic -fPIC"
+         SHLIB_LD="cc -shared"
+         SHLIB_LD_LIBS='${LIBS}'
+         SHLIB_SUFFIX=".so"
+         DL_OBJS="tclLoadDl.o"
+         DL_LIBS="-ldl"
+         LD_FLAGS="-export-dynamic"
+         LD_SEARCH_FLAGS=""
+         ;;
      dgux*)
        SHLIB_CFLAGS="-K PIC"
        SHLIB_LD="cc -G"

PatchFiles:
configure.in



integrated patch
04/05/1999 17:54 - stanton -
welch Closed ticket [218683ffff]. [History diff]2000-10-26 08:27:10
dgp Ticket [218683ffff]: 3 changes [History diff]2001-04-17 05:47:01
Log in (anonymous is fine) to add a comment.