| Description: |
OriginalBugID: 2651 Bug
Version: 8.2
SubmitDate: '1999-08-31'
LastModified: '2000-02-07'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 3905
OS: Solaris
OSVersion: X86 5.7
Machine: Other
ClosedDate: '2000-02-07'
Name:
Jay J. Rohr
ReproducibleScript:
./configure --enable-gcc --enable-shared
make
ObservedBehavior:
#./configure --enable-gcc --enable-shared
creating cache ./config.cache
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for building with threads... no (default)
checking if the compiler understands -pipe... no
checking for Tcl configuration... found
/usr5/local/src/tcl8.2.0/unix/tclConfig.sh
checking for existence of /usr5/local/src/tcl8.2.0/unix/tclConfig.sh...
loading
checking if 64bit support is enabled... no
checking system version (for dynamic loading)... SunOS-5.7
checking for dlopen in -ldl... yes
checking for build with symbols... no
checking for sin... no
checking for main in -lieee... no
checking stdlib.h... yes
checking fd_set and sys/select... yes
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking pw_gecos in struct pwd... yes
checking for X... libraries /usr/openwin/lib, headers
/usr/openwin/include
checking for main in -lXbsd... no
checking for connect... no
checking for main in -lsocket... yes
checking for gethostbyname... no
checking for main in -lnsl... yes
checking for sin... (cached) no
checking for main in -lieee... (cached) no
checking whether char is unsigned... no
checking for strtod... yes
checking for Solaris 2.4 strtod bug... ok
checking how to build libraries... shared
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tkConfig.sh
#make
....
/usr/ccs/bin/ld -G -z text -o libtk8.2.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 tkImage.o tkImgBmap.o tkImgGIF.o
tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tk!
TextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o
tkTextWind.o -R /usr/local/lib:/usr/openwin/lib
-L/usr5/local/src/tcl8.2.0/unix -lsocket -lnsl -L/usr/openwin/lib -lX11
-ldl -lm -lc
Text relocation remains referenced
against symbol offset in file
__ctype 0x1cc tkGet.o
__ctype 0x1e8 tkGet.o
__ctype 0x2a04 tkCanvPs.o
ld: fatal: relocations remain against allocatable but non-writable
sections
DesiredBehavior:
Correct build
I believe this has to do with the extra '-z text' flag that
is used. This is correct for Solaris Sparc, but not Sol x86.
-- 10/21/1999 hobbs
On a freshly setup Solaris5.7 x86 machine with gcc 2.95.2, both
8.2.3 and 8.3b2 build and test OK. This also has the -z text
option specified. Perhaps the newer gcc fixed this?
-- 02/07/2000 hobbs
|