Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f2b60d6711fdcd488101cef2e3590283bab8c56a
Ticket: 1006957fffffffffffffffffffffffffffffffff
Error building tcl on MacOS X with prerelease gcc-3.5
User & Date: northcob on 2004-08-11 00:57:07
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl 8.4.7 tarball, unix build on MacOS X 10.3.5.
    Compiler:
    [PBG4-BN:Swarm/tcl8.4.7/build] billn% cc -v
    Reading specs from /usr/lib/gcc/powerpc-apple-darwin/3.5-tree-
    ssa-lno/specs
    Configured with: /Users/billn/Public/Darwin/gcc-3.5/build/obj/src/
    configure --disable-checking --prefix=/usr --disable-libmudflap --
    mandir=/share/man --enable-languages=c,objc,c++ --disable-
    libada --program-transform-name=/^[cg][^+.-]*$/s/$/-3.5/ --
    with-gxx-include-dir=/include/gcc/darwin/3.5/c++ --
    build=powerpc-apple-darwin --host=powerpc-apple-darwin --
    target=powerpc-apple-darwin
    Thread model: posix
    gcc version 3.5-tree-ssa-lno 20040718 (merged 20040718) (Apple 
    Computer, Inc. build 1771)
    
    Build fails:
    gcc -pipe -c -Os  -DTCL_DBGX= -Wall -Wno-implicit-int -fno-strict-
    aliasing -fno-common -I../unix/../generic -I../unix 
    -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 
    -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 
    -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 
    -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" 
    -DTCL_WIDE_INT_TYPE=long\ long -DWORDS_BIGENDIAN=1 
    -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 
    -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 
    -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VALUES_H=1 
    -DHAVE_LIMITS_H=1 -DNO_DLFCN_H=1 -DHAVE_UNISTD_H=1 
    -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 
    -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 
    -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 
    -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 
    -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 
    -DHAVE_SIGNED_CHAR=1 -DHAVE_PUTENV_THAT_COPIES=1 
    -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 
    -DHAVE_SYS_FILIO_H=1         -DTCL_SHLIB_EXT=\".dylib\" ../
    unix/../macosx/tclMacOSXBundle.c
    ../unix/../macosx/tclMacOSXBundle.c: In function 
    `Tcl_MacOSXOpenVersionedBundleResources':
    ../unix/../macosx/tclMacOSXBundle.c:153: error: CFString literal 
    expression is not constant
    ../unix/../macosx/tclMacOSXBundle.c:193: error: CFString literal 
    expression is not constant
    ../unix/../macosx/tclMacOSXBundle.c:202: warning: pointer targets 
    in passing arg 3 of `CFURLGetFileSystemRepresentation' differ in 
    signedness
    make: *** [tclMacOSXBundle.o] Error 1
    
    Builds OK with gcc-3.3.  
    
    Comment:  gcc-3.5 has made a lot of previous warnings into 
    errors.
    
    Bill Northcott
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "northcob"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    Error building tcl on MacOS X with prerelease gcc-3.5
    
  11. type changed to: "Bug"