[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

assert in ld when trying to link static exec



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []