Artifacts Associated With Ticket 219364
Ticket change [e2eaa884c8] (rid 87701) by nobody on 2000-10-26 05:11:30:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5919 Bug Version: 8.3.1 SubmitDate: '2000-06-19' LastModified: '2000-10-25' Severity: CRIT Status: UnAssn Submitter: techsupp OS: Solaris OSVersion: Solaris 7 Machine: Sparc Ultra-10 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Bruce D. Ray Extensions: Not applicable CustomShell: None ReproducibleScript: I am running Solaris 7 on Ultra-10's. I did the standard ./configure and edited the resulting Makefile to have the CFLAGS set as: CFLAGS = -dalign -xtarget=ultra2i -xarch=v9 -xchip=ultra2i -xprefetch=yes -O -xlibmil -fsingle Compilation failed. ObservedBehavior: cc -c -dalign -xtarget=ultra2i -xarch=v9 -xchip=ultra2i -xprefetch=yes -O -xlibmil -fsingle -KPIC -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=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_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c "./../generic/tclDecls.h", line 437: Tcl_EvalObj: argument mismatch "./../generic/tclDecls.h", line 437: Tcl_EvalObj: argument mismatch "./../generic/tclDecls.h", line 574: Tcl_GlobalEvalObj: argument mismatch "./../generic/tclDecls.h", line 574: Tcl_GlobalEvalObj: argument mismatch "./../generic/tclDecls.h", line 854: Tcl_DumpActiveMemory: argument mismatch "./../generic/tclDecls.h", line 856: Tcl_ValidateAllMemory: argument mismatch "./../generic/tclDecls.h", line 856: Tcl_ValidateAllMemory: argument mismatch "./../generic/tclDecls.h", line 905: Tcl_InitMemory: argument mismatch "./../generic/tclDecls.h", line 987: Tcl_MutexLock: argument mismatch "./../generic/tclDecls.h", line 989: Tcl_MutexUnlock: argument mismatch "./../generic/tclDecls.h", line 991: Tcl_ConditionNotify: argument mismatch "./../generic/tclDecls.h", line 994: Tcl_ConditionWait: argument mismatch "./../generic/tclDecls.h", line 994: Tcl_ConditionWait: argument mismatch "./../generic/tclDecls.h", line 1222: Tcl_ConditionFinalize: argument mismatch "./../generic/tclDecls.h", line 1225: Tcl_MutexFinalize: argument mismatch "./../generic/tclDecls.h", line 437: syntax error before or at: ( "./../generic/tclDecls.h", line 437: syntax error before or at: ) "./../generic/tclDecls.h", line 438: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 574: syntax error before or at: ( "./../generic/tclDecls.h", line 574: syntax error before or at: ) "./../generic/tclDecls.h", line 575: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 854: syntax error before or at: ) "./../generic/tclDecls.h", line 854: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 857: syntax error before or at: ) "./../generic/tclDecls.h", line 857: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 905: syntax error before or at: ) "./../generic/tclDecls.h", line 905: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 987: syntax error before or at: ) "./../generic/tclDecls.h", line 987: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 989: syntax error before or at: ) "./../generic/tclDecls.h", line 989: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 992: syntax error before or at: ) "./../generic/tclDecls.h", line 992: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 996: syntax error before or at: ) "./../generic/tclDecls.h", line 996: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 1223: syntax error before or at: ) "./../generic/tclDecls.h", line 1223: warning: syntax error: empty declaration "./../generic/tclDecls.h", line 1225: syntax error before or at: ) "./../generic/tclDecls.h", line 1225: warning: syntax error: empty declaration "./../generic/regcomp.c", line 438: cannot recover from previous errors *** Error code 10 make: Fatal error: Command failed for target `regcomp.o' DesiredBehavior: A successful compilation.
- foundin initialized to: "obsolete: 8.3.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to:
Sun Workshop Pro compiler rejects ./../generic/tclDecls.h
- type initialized to: "Bug"
Ticket change [4a34f06ba2] (rid 126501) by dkf on 2000-11-19 18:26:48:
- subsystem changed to: "75. Tutorial"
Ticket change [f5c86a38e2] (rid 130174) by hobbs on 2000-11-21 01:35:09:
- closedate changed to: "2000-11-20T18:35:09"
- closer changed to: "hobbs"
- icomment:
I'm not sure what all the changed CFLAGS do, but tclDecls.h works normally for Solaris (a default build environment of mine). I suspect some other change was made, or some corruption occured. The user could try 'make genstubs' to regenerate the *Decls.h files just in case.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "hobbs"
Ticket change [d230db4928] (rid 113487) by dgp on 2001-04-05 06:52:44:
- closedate changed to: "2001-04-04T23:52:44"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"
Ticket change [a2708b82d4] (rid 109893) by nobody on 2001-05-12 02:17:05:
- icomment:
Logged In: NO I get the same problem on SunOS4.1.4 using sun's CC on a fresh download of TCL8.3.3 with configure --prefix only. It does build with GCC on SunOS (but lots of warnings.) The problem is the behaviour of sun's cpp differs from that of gcc. A number of macros are declared by tcl.h which cpp attempts to substitute when it sees the function prototype for the same name in tclDecls.h. There's also more errors compiling tclStubInit.c I've fixed the compile of tcl, but haven't tested it. I'm now fixing compile problems with the tests. As a start, the tcl build failed to ranlib libtclstub83.a, and there are undefined symbols in pkgb.so Ant
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment: