| Ticket UUID: | 220921 | |||
| Title: | AIX --enable-shared passes illegal options (-Wl,...) to ld and (-bI:) to gcc | |||
| Type: | Bug | Version: | obsolete: 8.3.1 | |
| Submitter: | welch | Created on: | 2000-11-01 01:33:08 | |
| Subsystem: | 84. Unix Build | Assigned To: | mdejong | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2002-01-12 01:48:45 | |
| Resolution: | Fixed | Closed By: | mdejong | |
| Closed on: | 2002-01-11 18:48:45 | |||
| Description: |
OriginalBugID: 5767 Bug Version: 8.3.1 SubmitDate: '2000-05-31' LastModified: '2000-05-31' Severity: CRIT Status: UnAssn Submitter: angie ChangedBy: angie RelatedBugIDs: 6206 OS: AIX Tk 8.3.1 Bug Name: Per Mildner email: [email protected] Support: None Severity: 1 OperatingSystem: AIX Synopsis: AIX --enable-shared passes illegal options (-Wl,...) to ld and (-bI:) to gcc ReproducibleScript: (using gcc) ./configure --enable-shared && make ... ObservedBehavior: (This is for 8.3.0 but 8.3.1 behaves the same) /src/sicstus/install/src/tcl8.3.0/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry -o libtk8.3.so tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkConsole.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkMain.o tkObj.o tkOldConfig.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixConfig.o tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixKey.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o tkStubInit.o tkStubLib.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkIma! ge.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o -L/src/sicstus/install/rs6000-aix-4.3/lib -L/src/sicstus/install/src/tcl8.3.0/unix -lX11 -ldl -Wl,-bI:/src/sicstus/install/src/tcl8.3.0/unix/lib.exp -L/src/sicstus/install/src/tcl8.3.0/unix -lm -lc noDotA="libtk8.3.so" ld: 0706-012 The -W flag is not recognized. ld: 0706-006 Cannot find or open library file: -l ,-bI:/src/sicstus/install/src/tcl8.3.0/unix/lib.exp ld:open(): A file or directory in the path name does not exist. Patch: 1. configure.in should probably define MAKE_LIB to use SHLIB_LD_LIBS instead of LIBS 2. Whatever is used needs to be massaged to convert -Wl,OPTION1,OPTION2,... in the same manner as is done for TK_LD_SEARCH_FLAGS (also in configure.in) 3. TK_BUILD_LIB_SPEC has the opposite problem. It is set (on AIX) to -bI:.... which is a linker option but it is used in Makefile as a $CC argument so it probably should look like -Wl,-bI:... I hacked the Makefile (after running configure) and then build tk without problem. Posted To comp.lang.tcl: Posted Successfully | |||
| User Comments: |
mdejong added on 2002-01-12 01:48:45:
Logged In: YES user_id=90858 This problem should have been fixed by the checking on 2001-12-18, if the AIX build still does not work then please reopen bug 220955 and not this one. dgp added on 2001-12-20 00:41:46: Logged In: YES user_id=80530 re-opening. ./configure --enable-gcc --enable-shared make does not work on AIX. mdejong added on 2001-12-19 15:16:09: Logged In: YES user_id=90858 After taking a second look, I now think that both problems were solved by the checking on 2001-12-18 to fix Tk bug 220955. Please reopen this bug report if the fix does not work. mdejong added on 2001-12-19 15:09:39: Logged In: YES user_id=90858 Just an FYI, Tk bug 220955 dealt with the -bI problem and it was just closed. If someone with access to AIX could give that a test run it would help. Still need to work on the other problem. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki