Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Max Weninger <max@takefive.co.at>
To: axp-list@redhat.com
Subject: assert in ld when trying to link static exec
Date: Tue, 27 Mar 2001 19:19:15 +0200 (MEST)	[thread overview]
Message-ID: <200103271719.TAA07984@extreme.takefive.co.at> (raw)

Hi

I just discovered a crash in ld when trying to link an executable with
static libs. (When using shared libs instead the link stage works
"perfect")

The error message says

/usr/bin/ld: bfd assertion fail elflink.h:2420
/usr/bin/ld: final link failed: Bad value

I am using the following version of binutils
binutils-2.10.0.18-3

But the same crash appeard also with 
binutils-2.9.5.0.22-8

The assert code in elflink.h is the following.

...
     BFD_ASSERT (shdr->sh_entsize == sizeof (Elf_External_Rela));
...

Because the number of libs that should be linked together is quite large
(88 libs with an file size of ~100 MB) I think it could be an overflow
problem.

Any help or ideas would be very welcome

Regards

Max
-- 
_______________________________________________________________
     \                  
    o/\_          DI Max Weninger
   <\__,\         Email (max@takefive.co.at)          
    ">.  |         
     ` .-|        Jakob-Haringer-Str. 8
        . \       A-5020 Salzburg - AUSTRIA
         . \      Tel: +43 662 4579150 - Fax: +43 662 4579156
         .-|      
_________._|____________________________________________________




             reply	other threads:[~2001-03-27 17:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27 17:19 Max Weninger [this message]
2001-03-27 17:30 ` SOLVED Re: assert in ld when trying to link static exec Max Weninger
2001-03-28  0:34 ` 16 bpp with S3 Trio 64 J. Hart
2001-03-28  4:22   ` Jay Estabrook
2001-04-09  1:26 ` 16 bpp with S3 Trio 64 : no_pci_disconnect J. Hart
2001-04-09 18:02   ` jeff.sturm
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