|
2004-05-10
| ||
| 15:43 | • Ticket [949951ffff] Using --enable-64bits with GCC on Solaris fails status s... artifact: e7dbd2fbe8 user: dkf | |
|
2004-05-08
| ||
| 00:36 | • Closed ticket [949951ffff]. artifact: 79aaa1856d user: hobbs | |
| 00:28 | • Ticket [949951ffff]: 4 changes artifact: 6f029a7ef2 user: nobody | |
|
2004-05-07
| ||
| 15:20 | • New ticket [949951ffff]. artifact: 39754a592c user: nobody | |
Using --enable-64bits with GCC on Solaris fails
Closed / Invalid949951ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-05-07 15:20:16
Using --enable-64bits with GCC on Solaris fails,
despite the `configure' script output saying that
support has been disabled (presumably to be the same as
if --enable-64bits had not been used). When the
--enable-64bits argument is not passed to the
`configure' script Tcl 8.4.6 builds fine.
Error coming from: ./configure --enable-64bits
--enable-shared
gcc -pipe -c -O -DTCL_DBGX= -Wall -Wconversion
-Wno-implicit-int -fPIC -I./../generic -I.
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
-DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1
-DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1
-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
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1
-Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D_REENTRANT=1
-D_POSIX_PTHREAD_SEMANTICS=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\"
./../unix/tclUnixSock.c
In file included from ../unix/tclUnixPort.h:29,
from ../generic/tclPort.h:27,
from ../unix/tclUnixSock.c:15:
../generic/tclInt.h:93: parse error before "CONST84"
../generic/tclInt.h:97: parse error before "CONST84"
../generic/tclInt.h:101: parse error before "CONST84"
../generic/tclInt.h:282: parse error before
"Tcl_CommandTraceProc"
../generic/tclInt.h:282: warning: no semicolon at end
of struct or union
../generic/tclInt.h:294: parse error before '}' token
../generic/tclInt.h:294: warning: data definition has
no type or storage class
../generic/tclInt.h:310: parse error before "CommandTrace"
../generic/tclInt.h:310: warning: no semicolon at end
of struct or union
It compiles with --enable-64bits and the Sun Studio
compiler.
nobodyplain2004-05-08 00:28:57
Logged In: NO Ignore and expunge this bug submission, the error was caused be an extraneous "-I...." in my `CFLAGS' environment variable when I ran the `configure' script.
hobbsplain2004-05-08 00:36:08
Logged In: YES user_id=72656 closed as per user request. Note that we aren't enabling the gcc 64-bit flags, as the configure script really states. We have found through testing that gcc's 64-bit sparc support (which is new since gcc 3.2) is fairly bad (generates bad code), so I do not recommend using it (perhaps 3.3 fixed things ...).
dkfplain2004-05-10 15:43:23
Logged In: YES user_id=79902 Just a quick question: should we include some platform-specific notes in unix/README that describe this issue (and any other platform things like this) so as to help people in the future?
Log in (anonymous is fine) to add a comment.