Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* assert in ld when trying to link static exec
@ 2001-03-27 17:19 Max Weninger
  2001-03-27 17:30 ` SOLVED " Max Weninger
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Max Weninger @ 2001-03-27 17:19 UTC (permalink / raw)
  To: axp-list

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
         .-|      
_________._|____________________________________________________




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

end of thread, other threads:[~2001-04-09 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-27 17:19 assert in ld when trying to link static exec Max Weninger
2001-03-27 17:30 ` SOLVED " 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

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