|
2005-03-17
| ||
| 17:48 | • Closed ticket [1006957fff]: Error building tcl on MacOS X with prerelease gcc-3.... artifact: d256ce0167 user: das | |
|
2004-08-11
| ||
| 10:34 | • Ticket [1006957fff]: 5 changes artifact: 5f57d8a905 user: das | |
| 08:00 | • Ticket [1006957fff]: 1 change artifact: a9d76fe2d0 user: hobbs | |
| 00:57 | • New ticket [1006957fff]. artifact: f2b60d6711 user: northcob | |
Error building tcl on MacOS X with prerelease gcc-3.5
Closed / Later1006957fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-08-11 00:57:07
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
hobbs Ticket [1006957fff]: 1 change
[History diff]2004-08-11 08:00:54
dasplain2004-08-11 10:34:12
Logged In: YES user_id=90580 I have it on good authority that the 3.5 prerelease should not be used for much of anything yet... these errors may well go away in the 3.5 final, otherwise, we'll look into it then. Note well that all of Tiger is still built with 3.3 and not 3.5 either...
dasplain2005-03-17 17:48:34
Logged In: YES user_id=90580 I sucessfully built the core-8-4-branch tip as well as the HEAD with gcc 4.0 in a recent Tiger seed, so I think we can close this.
Log in (anonymous is fine) to add a comment.