From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4e72fd8502fb9d362d394fe998f53cf4.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3368E4E4.745383B2@sls.lcs.mit.edu> Date: Thu, 01 May 1997 14:45:56 -0400 From: Lee Hetherington Subject: linking problems 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