Subject: pkg/4499: problems building tk
To: None <gnats-bugs@gnats.netbsd.org>
From: Brad Salai <bsalai@law.roc.servtech.com>
List: netbsd-bugs
Date: 11/15/1997 18:59:43
>Number: 4499
>Category: pkg
>Synopsis: tk pkg doesn't build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 15 16:05:01 1997
>Last-Modified:
>Originator: Brad Salai
>Organization:
>Release: <NetBSD-current source date>NetBSD1.3_ALPHA
>Environment:
sun4c netbsd1.3_ALPHA
sYStem: NetBSD law.roc.servtech.com 1.3_ALPHA NetBSD 1.3_ALPHA (APOLLO) #8: Fri Nov 14 20:32:03 EST 1997 bsalai@law.roc.servtech.com:/usr/src/sys/arch/sparc/compile/APOLLO sparc
>Description:
tk build fails
rm -f libtk80.so.1.0
ld -Bshareable -x -o libtk80.so.1.0 tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o
tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkCursor.o tkError.o tkEvent.o tk
Focus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkMain.o tkOptio
n.o tkPack.o tkPlace.o tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUn
ix3d.o tkUnixButton.o tkUnixColor.o tkUnixCursor.o tkUnixDialog.o tkUnixDraw.o
tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixMenu
.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUn
ixWm.o tkUnixXId.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubu
tton.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 tkC
anvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tk
ImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIn
dex.o tkTextMark.o tkTextTag.o tkTextWind.o
ld: Global Offset Table overflow (use `-fPIC')
ld: tkCanvPs.o: GOT overflow for relocation at 0x8c0
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
>How-To-Repeat:
>Fix:
change -fpic to -fPIC in CFLAGS
>Audit-Trail:
>Unformatted: