Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-09-11
05:35 • Closed ticket [219347ffff]: tcl8.3.1 fails to build on AIX4.2.1 with xlc 3.6.6</... artifact: bd05b856f6 user: mdejong
05:05 • Ticket [219347ffff]: 5 changes artifact: 2f44ec806a user: dgp
2001-09-10
12:12 • Open ticket [219347ffff]. artifact: ab6cedfe09 user: dgp
2001-09-08
06:29 • Pending ticket [219347ffff]. artifact: 51f94f6e65 user: mdejong
2001-08-30
20:33 • Ticket [219347ffff]: 5 changes artifact: 5e4009eb67 user: msofer
2001-04-05
06:52 • Ticket [219347ffff]: 1 change artifact: e460821dc3 user: dgp
2000-11-19
18:28 • Ticket [219347ffff]: 1 change artifact: 03ab32b977 user: dkf
2000-10-26
05:11 • New ticket [219347ffff]. artifact: 9b92e58793 user: nobody

tcl8.3.1 fails to build on AIX4.2.1 with xlc 3.6.6

Closed / Wont Fix219347ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:11:05
OriginalBugID: 5550 Bug
Version: 8.3.1
SubmitDate: '2000-05-17'
LastModified: '2000-10-25'
Severity: CRIT
Status: UnAssn
Submitter: techsupp
OS: AIX
OSVersion: 4.2.1
Machine: 43P-140
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:

Sven Specker


Comments:

Please flame me, if this has been solved long ago...;) I didn't find any

    reference helping me.


ReproducibleScript:

Tcl8.3.1 configured via


./configure --prefix=/opt --disable-gcc --disable-threads --disable-64bit --disable-load --disable-symbols --disable-shared


then used  GNU make to start the compilation.


ObservedBehavior:

Fails with the following errors:


cc -c -O   -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_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZONE_VAR=1 -DUSE_DELTA_FOR_TZ=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -D__CHAR_UNSIGNED__=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DSTATIC_BUILD=1         -DTCL_SHLIB_EXT=\"\" ./../unix/tclUnixSock.c

"./../generic/tclInt.h", line 72.9: 1506-033 (S) Function Tcl_Var is not valid. Function cannot return a function.

"./../generic/tclInt.h", line 72.9: 1506-282 (S) The type of the parameters must be specified in a prototype.

"./../generic/tclInt.h", line 86.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 137.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 328.9: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 558.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 593.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 660.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 850.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 877.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 1015.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 1240.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 1246.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 1424.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 1490.5: 1506-046 (S) Syntax error.

"./../generic/tclInt.h", line 1533.8: 1506-166 (S) Definition of function Tcl_ObjType requires parentheses.

"./../generic/tclInt.h", line 1533.25: 1506-276 (S) Syntax error: possible missing '{'?

"./../generic/tclIntDecls.h", line 582.17: 1506-045 (S) Undeclared identifier tclGetElementOfIndexedArray.

"./../generic/tclIntDecls.h", line 582.5: 1506-045 (S) Undeclared identifier Tcl_Obj.

"./../generic/tclIntDecls.h", line 583.5: 1506-275 (S) Unexpected text 'void' encountered.

"./../generic/tclIntDecls.h", line 583.11: 1506-045 (S) Undeclared identifier reserved30.

"./../generic/tclIntDecls.h", line 584.5: 1506-275 (S) Unexpected text 'char' encountered.

"./../generic/tclIntDecls.h", line 584.14: 1506-045 (S) Undeclared identifier tclGetExtension.

"./../generic/tclIntDecls.h", line 585.5: 1506-275 (S) Unexpected text 'int' encountered.

"./../generic/tclIntDecls.h", line 585.11: 1506-045 (S) Undeclared identifier tclGetFrame.

"./../generic/tclIntDecls.h", line 586.20: 1506-276 (S) Syntax error: possible missing ':'?

"./../generic/tclIntDecls.h", line 730.3: 1506-273 (E) Missing type in declaration of TclIntStubs.

"./../generic/tclIntDecls.h", line 735.8: 1506-166 (S) Definition of function TclIntStubs requires parentheses.

"./../unix/tclUnixSock.c", line 67.1: 1506-277 (S) Syntax error: possible missing ';' or ','?

"./../unix/tclUnixSock.c", line 65.6: 1506-095 (S) Unexpected parameter Tcl_GetHostName.

"./../unix/tclUnixSock.c", line 70.20: 1506-095 (S) Unexpected parameter hp.

"./../unix/tclUnixSock.c", line 74.16: 1506-095 (S) Unexpected parameter native.

gmake: *** [tclUnixSock.o] Error 1


DesiredBehavior:

It should compile ;). Since its a long time since i touched a C program, i wasn't able to figure out, why

it barfed.
dkf Ticket [219347ffff]: 1 change [History diff]2000-11-19 18:28:26
dgp Ticket [219347ffff]: 1 change [History diff]2001-04-05 06:52:44
msoferplain2001-08-30 20:33:43
Logged In: YES 
user_id=148712

Assigning to area maintainer
mdejongplain2001-09-08 06:29:29
Logged In: YES 
user_id=90858

There is not much I am going to be able to do here.
This is likely a problem with the C compiler on
your AIX system. Without someone that is able to
debug the problem on the hardware there is little
chance this problem will be solved. Marking as
pending in the hopes that someone with access to
AIX will have a look at this.
dgpplain2001-09-10 12:12:09
Logged In: YES 
user_id=80530

I think there's an AIX system in a dark corner
around here somwhere.  I'll see what I can do.
dgpplain2001-09-11 05:05:49
Logged In: YES 
user_id=80530

On an AIX 4.3 system, I was able to build Tcl 8.3.1 and
the current CVS HEAD Tcl by compiling with xlc 5 or
with gcc 2.95.2.

Running 'make test' yielded 1 error (http-4.13) for 
Tcl 8.3.1 and 0 errors on the current HEAD for both
compilers.

I suspect the original reported problem can be blamed
on a broken, out of date xlc compiler.   Since a free
alternative that works is available on the platform,
I recommend closing this as "Won't Fix".

I note that 

http://www-4.ibm.com/software/ad/vacpp/service/csd.html

reports the xlc 3.6 has been "withdrawn from marketing"
by IBM as of last April.

I'm far from and expert on either AIX or xlc, so 
corrections by someone who knows better are invited.
mdejongplain2001-09-11 05:35:46
Logged In: YES 
user_id=90858

Sounds good. If someone else runs into this problem
they can get a new compiler.
Log in (anonymous is fine) to add a comment.