Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-03-03
05:09 • Ticket [1100383fff] AIX: out of box build fails status still Closed with 4 o... artifact: 1f9d944bd5 user: dgp
2005-02-16
00:43 • Ticket [1100383fff]: 7 changes artifact: 2bd5e95a6d user: hobbs
00:43 • Closed ticket [1100383fff]. artifact: 582fdde201 user: hobbs
2005-02-15
11:31 • Add attachment 1100383.patch to ticket [1100383fff] artifact: 3b0fd234ab user: dgp
11:31 • Ticket [1100383fff] AIX: out of box build fails status still Open with 4 oth... artifact: 12b2287219 user: dgp
2005-02-05
02:06 • Ticket [1100383fff]: 4 changes artifact: 97f38c58e3 user: dkontner
2005-02-02
14:23 • Add attachment aix-gcc.patch to ticket [1100383fff] artifact: a76e4f04ea user: hobbs
14:23 • Ticket [1100383fff] AIX: out of box build fails status still Open with 4 oth... artifact: 09a130bcc2 user: hobbs
2005-01-12
02:35 • Ticket [1100383fff]: 4 changes artifact: 05b41f2f1a user: dgp
02:33 • Ticket [1100383fff]: 4 changes artifact: 965c90ea04 user: nobody
2005-01-11
19:26 • New ticket [1100383fff]. artifact: d03f05fcbb user: dgp

AIX: out of box build fails

Closed / Fixed1100383fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2005-01-11 19:26:46
eceived reports that Tcl 8.4.9
does not build on AIX:

...

rm -f libtcl8.4.so
        /gu2/blomeier/tcltk/tcl8.4.9/unix/ldAix /bin/ld
-bhalt:4 -bM:SRE
-bE:lib.exp -H512 -T512 -bnoentry  -o libtcl8.4.so 
regcomp.o regexec.o
regfree.o regerror.o tclAlloc.o  tclAsync.o tclBasic.o
tclBinary.o
tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o
tclCmdMZ.o  tclCompCmds.o
tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o 
tclEnv.o tclEvent.o
tclExecute.o tclFCmd.o tclFileName.o tclGet.o 
tclHash.o tclHistory.o
tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o  tclIOGT.o
tclIOSock.o
tclIOUtil.o tclLink.o tclListObj.o  tclLiteral.o
tclLoad.o tclMain.o
tclNamesp.o tclNotify.o  tclObj.o tclPanic.o tclParse.o
tclParseExpr.o
tclPipe.o  tclPkg.o tclPosixStr.o tclPreserve.o
tclProc.o tclRegexp.o
tclResolve.o tclResult.o tclScan.o tclStringObj.o
tclThread.o
tclThreadAlloc.o tclThreadJoin.o tclStubInit.o
tclStubLib.o  tclTimer.o
tclUtf.o tclUtil.o tclVar.o tclUnixChan.o
tclUnixEvent.o tclUnixFCmd.o
tclUnixFile.o tclUnixPipe.o tclUnixSock.o 
tclUnixTime.o tclUnixInit.o
tclUnixThrd.o  tclUnixNotfy.o   tclLoadDl.o  -ldl  -lc -lm
-L/gu2/blomeier/lib
noDotA="libtcl8.4.so"
ld: 0711-317 ERROR: Undefined symbol: .__floatdidf
ld: 0711-317 ERROR: Undefined symbol: .__moddi3
ld: 0711-317 ERROR: Undefined symbol: .__ashldi3
ld: 0711-317 ERROR: Undefined symbol: .__ashrdi3
ld: 0711-317 ERROR: Undefined symbol: .__divdi3
ld: 0711-317 ERROR: Undefined symbol: .__fixdfdi
ld: 0711-345 Use the -bloadmap or -bnoquiet option to
obtain more
information.

I'm advising they try the xlc compiler
instead, but since gcc is the default
choice, this is poor out-of-box experience.
nobodyplain2005-01-12 02:33:01
Logged In: NO 

Either compile with 'xlc', or use 'gcc -shared' to link;
either way will probably work.
dgpplain2005-01-12 02:35:35
Logged In: YES 
user_id=80530

thanks for the advice, but the point
is that Tcl should get this right
out of the box in the first place.
hobbsplain2005-02-02 14:23:09
File Added - 118234: aix-gcc.patch

Logged In: YES 
user_id=72656

Attached is the patch that fixes this, and simplifies the
AIX stuff in general.  Test this out.  It's against 8.4 -
8.5 would need a slightly separate change (since it uses ac
2.5x).
dkontnerplain2005-02-05 02:06:50
Logged In: YES 
user_id=1212297

How do I go about implementing this patch?
dgpplain2005-02-15 11:31:13
File Added - 120068: 1100383.patch

Logged In: YES 
user_id=80530

Here's another patch that 
1) applies clean to Tcl 8.4.9; and
2) includes the changes to
unix/configure that an autoconf-2.13
run generates, so that the patch
is useful even to those who might
not have (experience with) autoconf.
hobbs Closed ticket [1100383fff]. [History diff]2005-02-16 00:43:44
hobbsplain2005-02-16 00:43:45
Logged In: YES 
user_id=72656

This has since been commited to 8.4 branch and head.
dgpplain2005-03-03 05:09:47
Logged In: YES 
user_id=80530


An AIX/gcc user confirms this patch
allows Tcl to build.
Log in (anonymous is fine) to add a comment.

Attachments: