Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: INND crashes
       [not found] <9611221350.ZM13989@dns.rgn.it>
@ 1996-11-22 13:47 ` Eric Jones
  1996-11-24 17:22   ` ld reports 'relocation truncated to fit' Topi Kanerva
  1996-11-22 22:18 ` INND crashes Thomas Bogendoerfer
  1 sibling, 1 reply; 4+ messages in thread
From: Eric Jones @ 1996-11-22 13:47 UTC (permalink / raw)


> Any hints for me ?

  The only way I've ben able to successfully get inn to work is by 
compiling it as a.out. If you have a 3.0.3 system there, compile it on 
that machine as a.out and then copy the files to your elf machine.

  Eric.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: INND crashes
       [not found] <9611221350.ZM13989@dns.rgn.it>
  1996-11-22 13:47 ` INND crashes Eric Jones
@ 1996-11-22 22:18 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Bogendoerfer @ 1996-11-22 22:18 UTC (permalink / raw)


> due to a hardware ko I've substitued the hd of my XL266 running RH3.0.3.
> I've installed a new hd/w RH 4.0 and now innd crashes when receiving a feed,
> after a few seconds.

this sounds like the problem, that I saw.

There is still a mismatch (at least in RedHats glibc-960906-1) between the 
buffer size of a setbuf() call and BUFSIZE. While setbuf will setup a buffer
of _IO_BUFSIZ, which is 8192 bytes, BUFSIZ is 1024. 

So when your inn uses setbuf() for it's logbuffer, it will lose, because 
inn will give a too small buffer to setbuf(). This problem should be 
fixed in inn-1.4unoff4-2.src.rpm.

Thomas.

-- 
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* ld reports 'relocation truncated to fit'
  1996-11-22 13:47 ` INND crashes Eric Jones
@ 1996-11-24 17:22   ` Topi Kanerva
  0 siblings, 0 replies; 4+ messages in thread
From: Topi Kanerva @ 1996-11-24 17:22 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ld reports 'relocation truncated to fit'
       [not found] <Pine.GSO.3.95.961124191419.28895A-100000@nks.oulu.fi>
@ 1996-11-24 17:43 ` jestabro
  0 siblings, 0 replies; 4+ messages in thread
From: jestabro @ 1996-11-24 17:43 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-11-24 17:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <9611221350.ZM13989@dns.rgn.it>
1996-11-22 13:47 ` INND crashes Eric Jones
1996-11-24 17:22   ` ld reports 'relocation truncated to fit' Topi Kanerva
1996-11-22 22:18 ` INND crashes Thomas Bogendoerfer
     [not found] <Pine.GSO.3.95.961124191419.28895A-100000@nks.oulu.fi>
1996-11-24 17:43 ` ld reports 'relocation truncated to fit' jestabro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox