lang/tcl/8.4: build error on alpha on -current

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

lang/tcl/8.4: build error on alpha on -current

Sigfred Håversen
Hello,
on alpha updated today, the build of lang/tcl/8.4 ends with:

_SHLIB_EXT=\".so\" /usr/ports/lang/tcl/8.4/w-tcl-8.4.7p2/tcl8.4.7/unix/../unix/tclLoadDl.c
rm -f libtclstub84.a
ar cr libtclstub84.a tclStubLib.o  ; ranlib libtclstub84.a
rm -f libtcl84.so.1.0
cc -pipe -shared -fpic -o libtcl84.so.1.0  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    -Wl,-rpath,/usr/local/lib
regcomp.o(.text+0xe0): In function `TclReComp':
: relocation truncated to fit: GPREL16 .sdata
regcomp.o(.text+0x6708): In function `lexescape':
: relocation truncated to fit: GPREL16 .sdata
regcomp.o(.text+0xbd38): In function `cclass':
: relocation truncated to fit: GPREL16 .sdata
tclAsync.o(.text+0x18): In function `TclFinalizeAsync':
: relocation truncated to fit: GPREL16 .sbss
tclAsync.o(.text+0x6c): In function `Tcl_AsyncCreate':
: relocation truncated to fit: GPREL16 .sbss
tclAsync.o(.text+0x188): In function `Tcl_AsyncInvoke':
: relocation truncated to fit: GPREL16 .sbss
tclAsync.o(.text+0x250): In function `Tcl_AsyncDelete':
: relocation truncated to fit: GPREL16 .sbss
tclAsync.o(.text+0x318): In function `Tcl_AsyncReady':
: relocation truncated to fit: GPREL16 .sbss
tclBasic.o(.text+0x65c): In function `Tcl_CallWhenDeleted':
: relocation truncated to fit: GPREL16 .sdata
tclBasic.o(.text+0x680): In function `Tcl_CallWhenDeleted':
: relocation truncated to fit: GPREL16 .sdata
tclBasic.o(.text+0x688): In function `Tcl_CallWhenDeleted':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/ports/lang/tcl/8.4/w-tcl-8.4.7p2/build-alpha (line 461 of Makefile).
*** Error code 1

Stop in /usr/ports/lang/tcl/8.4 (line 1960 of /usr/ports/infrastructure/mk/bsd.port.mk).

Reply | Threaded
Open this post in threaded view
|

Re: lang/tcl/8.4: build error on alpha on -current

steven mestdagh
Sigfred Håversen [2006-10-08, 23:38:23]:

> Hello,
> on alpha updated today, the build of lang/tcl/8.4 ends with:
>
> _SHLIB_EXT=\".so\" /usr/ports/lang/tcl/8.4/w-tcl-8.4.7p2/tcl8.4.7/unix/../unix/tclLoadDl.c
> rm -f libtclstub84.a
> ar cr libtclstub84.a tclStubLib.o  ; ranlib libtclstub84.a
> rm -f libtcl84.so.1.0
> cc -pipe -shared -fpic -o libtcl84.so.1.0  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    -Wl,-rpath,/usr/local/lib
> regcomp.o(.text+0xe0): In function `TclReComp':
> : relocation truncated to fit: GPREL16 .sdata

can you try using -fPIC instead of -fpic ?

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply | Threaded
Open this post in threaded view
|

Re: lang/tcl/8.4: build error on alpha on -current

Sigfred Håversen
On Monday 09 October 2006 00:14, steven mestdagh wrote:

> Sigfred Håversen [2006-10-08, 23:38:23]:
> > Hello,
> > on alpha updated today, the build of lang/tcl/8.4 ends with:
> >
> > _SHLIB_EXT=\".so\"
> > /usr/ports/lang/tcl/8.4/w-tcl-8.4.7p2/tcl8.4.7/unix/../unix/tclLoadDl.c
> > rm -f libtclstub84.a
> > ar cr libtclstub84.a tclStubLib.o  ; ranlib libtclstub84.a
> > rm -f libtcl84.so.1.0
> > cc -pipe -shared -fpic -o libtcl84.so.1.0  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    -Wl,-rpath,/usr/local/lib
> >
> > regcomp.o(.text+0xe0): In function `TclReComp':
> > : relocation truncated to fit: GPREL16 .sdata
>
> can you try using -fPIC instead of -fpic ?

Brad mailed me privately a path to try that does what you suggest. tcl 8.4
builds now.

/Sigfred

Reply | Threaded
Open this post in threaded view
|

Re: lang/tcl/8.4: build error on alpha on -current

Christian Weisgerber
In reply to this post by Sigfred Håversen
Sigfred Håversen <[hidden email]> wrote:

> on alpha updated today, the build of lang/tcl/8.4 ends with:

Known issue.  There are a number of ports that will currently not
build on alpha because they don't fit into the -fpic memory model.
I've held off on switching them over to -fPIC because there is some
talk of changing gcc on alpha so that -fpic will use the larger
memory model, too.

--
Christian "naddy" Weisgerber                          [hidden email]