Ticket UUID: | 1100383 | |||
Title: | AIX: out of box build fails | |||
Type: | Bug | Version: | obsolete: 8.4.9 | |
Submitter: | dgp | Created on: | 2005-01-11 19:26:46 | |
Subsystem: | 53. Configuration and Build Tools | Assigned To: | mdejong | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-03-03 05:09:47 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2005-02-15 17:43:45 | |||
Description: |
received 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. | |||
User Comments: |
dgp added on 2005-03-03 05:09:47:
Logged In: YES user_id=80530 An AIX/gcc user confirms this patch allows Tcl to build. hobbs added on 2005-02-16 00:43:45: Logged In: YES user_id=72656 This has since been commited to 8.4 branch and head. dgp added on 2005-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. dkontner added on 2005-02-05 02:06:50: Logged In: YES user_id=1212297 How do I go about implementing this patch? hobbs added on 2005-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). dgp added on 2005-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. nobody added on 2005-01-12 02:33:01: Logged In: NO Either compile with 'xlc', or use 'gcc -shared' to link; either way will probably work. |