Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Lee Hetherington <ilh@goldilocks.lcs.mit.edu>
Subject: linking problems
Date: Thu, 01 May 1997 14:45:56 -0400	[thread overview]
Message-ID: <4e72fd8502fb9d362d394fe998f53cf4.axp-list@archive.invalid> (raw)

I'm experience some linking problems on alpha/linux that I never ran
into on other Unixes including x86/linux.

I'm getting errors of the following form in Red Hat 4.1 on a (large)
program of my own:

/usr/lib/crtend.o: In function `__do_global_ctors_aux':
../sysdeps/alpha/elf/crtend.S:73: relocation truncated to fit: LITERAL
__CTOR_END__
../sysdeps/alpha/elf/crtend.S:73: relocation truncated to fit: LITERAL
__do_global_ctors_aux
/usr/local/src/nist/2.5/lib/libnist_util.a(err_util.o): In function
`print_return_status':
err_util.c(.text+0x114): relocation truncated to fit: LITERAL $C37
err_util.c(.text+0x130): relocation truncated to fit: LITERAL $C38
err_util.c(.text+0x14c): relocation truncated to fit: LITERAL $C39
err_util.c(.text+0x168): relocation truncated to fit: LITERAL $C40
err_util.c(.text+0x170): relocation truncated to fit: LITERAL
static_error_util_message
/usr/local/src/nist/2.5/lib/libnist_util.a(err_util.o): In function
`get_return_status_message':
err_util.c(.text+0x220): relocation truncated to fit: LITERAL
static_error_util_buffer
err_util.c(.text+0x224): relocation truncated to fit: LITERAL
static_error_util_message

I'm wondering if I have exceeded some size threshold for some segment of
the executable and if there is some ld parameter I can use to get past
it.  Note that if I reduce the size of my program (by reducing how much
of my code I refer to and thus link it), I get a successful link. 
However, once I exceed some threshold I can't link.

Anyone have any ideas?  Thanks in advance.

--
Lee Hetherington
ilh@sls.lcs.mit.edu

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

             reply	other threads:[~1997-05-01 18:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-01 18:45 Lee Hetherington [this message]
     [not found] <Pine.A41.3.95.970501164416.60022D-100000@hal.cheme.cornell.edu>
1997-05-02  5:52 ` linking problems Richard Henderson
     [not found] <199705012020.PAA15199@stommel.tamu.edu>
1997-05-01 20:44 ` Lev D Gelb
     [not found] <3368E4E4.745383B2@sls.lcs.mit.edu>
1997-05-01 20:20 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-05-01 17:58 Erik Evensen
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