Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 33b7648e291ca8fb083beb146604b5a94ebdf07c
Ticket: 218907ffffffffffffffffffffffffffffffffff
wrong compiler flags generated for SCO-Openserver and gcc
User & Date: nobody on 2000-10-26 01:07:41
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2636 Bug
    Version: 8.2
    SubmitDate: '1999-08-31'
    LastModified: '1999-11-10'
    Severity: CRIT
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Other
    OSVersion: SCO Openserver 5.04
    Machine: NA
    FixedDate: '1999-11-10'
    FixedInVersion: 8.3b1
    ClosedDate: '2000-10-25'
    
    
    Name:
    dr. joachim heidemeier
    
    CustomShell:
    --
    
    ReproducibleScript:
    running configure --enable-gcc and --enable-shared for SCO openserver
        5.04 failed building tclsh.
        System SCO Openserver 5.04 and gcc 2.7.2.3 (from Skunkware CD)
        Reason: SCO changed flags for gcc vom "SCO-behavior" to "gcc-behavior",
        namely
        -belf to -melf 
        and 
        -Kpic to -fpic.
        Simple diff.  included, but the compilation using the standard cc will
        no longer work with this diff.
        *** configure Mi Aug 25 16:51:50 1999
        --- /usr/tmp/dAAAa002Kr Mi Aug 25 16:54:26 1999
        ***************
        *** 5030,5036 ****
                    # Note, dlopen is available only on SCO 3.2.5 and greater.
        However,
                    # this test works, since "uname -s" was non-standard in
        3.2.4 and
                    # below.
        !           SHLIB_CFLAGS="-Kpic -belf"
                    SHLIB_LD="ld -G"
                    SHLIB_LD_LIBS=""
                    SHLIB_SUFFIX=".so"
        --- 5030,5036 ----
                    # Note, dlopen is available only on SCO 3.2.5 and greater.
        However,
                    # this test works, since "uname -s" was non-standard in
        3.2.4 and
                    # below.
        !           SHLIB_CFLAGS="-fpic -melf"
                    SHLIB_LD="ld -G"
                    SHLIB_LD_LIBS=""
                    SHLIB_SUFFIX=".so"
        ***************
        *** 5036,5042 ****
                    SHLIB_SUFFIX=".so"
                    DL_OBJS="tclLoadDl.o"
                    DL_LIBS=""
        !           LDFLAGS="-belf -Wl,-Bexport"
                    LD_SEARCH_FLAGS=""
                    ;;
                SINIX*5.4*)
        --- 5036,5042 ----
                    SHLIB_SUFFIX=".so"
                    DL_OBJS="tclLoadDl.o"
                    DL_LIBS=""
        !           LDFLAGS="-melf -Wl,-Bexport"
                    LD_SEARCH_FLAGS=""
                    ;;
                SINIX*5.4*)
    
    PatchFiles:
    unix/configure
        also relevant for tk8.02/unix/configure (same problem)
    
    
    
    Added in tcl.m4 for 8.3 with check specifically for gcc. 
    -- 11/10/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "61. (unused)"
  10. title changed to:
    wrong compiler flags generated for SCO-Openserver and gcc
    
  11. type changed to: "Bug"