ld reports 'relocation truncated to fit'

Topi Kanerva (tkanerva@nks.oulu.fi)
Sun, 24 Nov 1996 19:22:21 +0200 (EET)

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... :(

--
Topi Kanerva, Neurosurgical research unit, University of Oulu

--
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



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices