Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 41ba80819b55645280c70b7a8c7828bd4b03256a
Ticket: 218237ffffffffffffffffffffffffffffffffff
Can't compile under Solaris 2. with SUN cc
User & Date: nobody on 2000-10-26 00:54:55
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2726 Bug
    Version: 8.1.1
    SubmitDate: '1999-09-10'
    LastModified: '1999-09-28'
    Severity: CRIT
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: 2.6
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-09-28'
    
    
    Name:
    Olivier Lefevre
    
    ReproducibleScript:
    configure command was './configure --enable-threads --enable-shared
        --disable-gcc'
        'cc -V' returns cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2
        then just 'make'
    
    ObservedBehavior:
    /home/lefevrol/wks/sun/prod/bin/cc -c -O  -KPIC  -I./../generic -I.
        -DTCL_THREADS=1 -D_REENTRANT=1 -DHAVE_GETCWD=1 -DNO_ERRNO_H=1
        -DNO_FLOAT_H=1 -DNO_VALUES_H=1 -DNO_LIMITS_H=1 -DNO_STDLIB_H=1
        -DNO_STRING_H=1 -DNO_SYS_WAIT_H=1 -DNO_DLFCN_H=1 -DUSE_TERMIOS=1
        -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1
        -DHAVE_ST_BLKSIZE=1 -Dmode_t=int -Dpid_t=int -Dsize_t=unsigned
        -Duid_t=int -Dgid_t=int -DNO_UNION_WAIT=1 -DRETSIGTYPE=int -Dvfork=fork
        -DGETTOD_NOT_DECLARED=1 -DHAVE_SIGNED_CHAR=1
        -DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c
        "/usr/include/stdio.h", line 34: invalid type combination
        "/usr/include/stdio.h", line 34: warning: useless declaration
        "/usr/include/stdio.h", line 34: warning: typedef declares no type name
        "/usr/include/sys/types.h", line 246: warning: modification of typedef
        with "int" ignored
        "/usr/include/sys/types.h", line 246: invalid type combination
        "/usr/include/sys/types.h", line 246: warning: useless declaration
        "/usr/include/sys/types.h", line 246: warning: typedef declares no type
        name
        "/usr/include/sys/types.h", line 250: warning: useless declaration
        "/usr/include/sys/types.h", line 250: warning: typedef declares no type
        name
        "/usr/include/sys/types.h", line 253: invalid type combination
        "/usr/include/sys/types.h", line 253: warning: useless declaration
        "/usr/include/sys/types.h", line 253: warning: typedef declares no type
        name
        "/usr/include/sys/types.h", line 256: warning: useless declaration
        "/usr/include/sys/types.h", line 256: warning: typedef declares no type
        name
        "/usr/include/limits.h", line 58: warning: macro redefined: SHRT_MIN
        "/usr/include/limits.h", line 59: warning: macro redefined: SHRT_MAX
        "/usr/include/limits.h", line 61: warning: macro redefined: INT_MIN
        "/usr/include/limits.h", line 62: warning: macro redefined: INT_MAX
        "/usr/include/limits.h", line 72: warning: macro redefined: LONG_MIN
        "/usr/include/limits.h", line 74: warning: macro redefined: LONG_MAX
        "./../generic/regcomp.c", line 623: cannot recover from previous errors
        cc: acomp failed for ./../generic/regcomp.c
        *** Error code 2
        make: Fatal error: Command failed for target `regcomp.o'
    
    DesiredBehavior:
    I suspect some of the -D flags, particularly those that mess up with
        types, have nothing to do here.
        You used to work for SUN. It is dismaying to see that it took just 1
        more release to break compati-
        bility with SUn cc.
    
    
    
    This looks like cc was not setup, or the user is trying to use
    the cc that comes with Solaris (which actually doesn't work).
    The compiler complains from the get-go about lines in the
    std include headers, not the Tcl c file. 
    -- 09/28/1999 hobbs
    
  4. foundin changed to: "final: 8.1.1"
  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: "69. Other"
  10. title changed to: "Can't compile under Solaris 2. with SUN cc"
  11. type changed to: "Bug"