From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: ld reports 'relocation truncated to fit'
Date: Sun, 24 Nov 1996 22:43:39 +0500 [thread overview]
Message-ID: <199611250343.WAA05274@alpha0.estabrook.org> (raw)
In-Reply-To: <Pine.GSO.3.95.961124191419.28895A-100000@nks.oulu.fi>
>>> Topi Kanerva said:
> i've been trying to compile nethack on my multia running redhat-4.0.
> compiles ok but ld seems to have trouble linking:
>
> /usr/lib/gcc-lib/alpha-linux/2.7.2/crtend.o(.text+0x14): relocation
> truncated to fit: LITERAL __CTOR_END__
> worn.o: In function `setworn':
> worn.c(.text+0x60): relocation truncated to fit: LITERAL worn
> worn.c(.text+0xc4): relocation truncated to fit: LITERAL $C32
> write.o: In function `dowrite':
> write.c(.text+0x1b0): relocation truncated to fit: LITERAL $C33
> write.c(.text+0x244): relocation truncated to fit: LITERAL $C34
> ...90K of this stuff deleted...
>
> first these looked like non-fatal messages to me, but it didn't produce an
> output file, so looks like i'm out of luck here. what's the deal with
> these relocations, really? i've just switched from linux/m68k to
> linux/alpha, and don't know much about the arch... :(
These are errors caused by the size of the binary being built; you wouldn't
want to run the binary if there actually were one there... :-(
We just wrestled a bit with this when building XEmacs 19.14; the solution
was to make certain that all libraries used were dynamically loaded,
including making a couple of new ones from their static versions. You may
need to make some of the NetHack support binaries into dynamic libraries to
further this along.
Good luck.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1996-11-24 17:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.GSO.3.95.961124191419.28895A-100000@nks.oulu.fi>
1996-11-24 17:43 ` jestabro [this message]
1996-11-22 13:47 INND crashes Eric Jones
1996-11-24 17:22 ` ld reports 'relocation truncated to fit' Topi Kanerva
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox