bug-gnu-utils
[Top][All Lists]
Advanced

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

bfd assertion fail elf32-mips.c:2449 on mips-sgi-irix6.5


From: Bert De Knuydt
Subject: bfd assertion fail elf32-mips.c:2449 on mips-sgi-irix6.5
Date: Mon, 1 Oct 2001 13:05:50 +0200

Hello,

I get a 'BFD: bfd assertion fail elf32-mips.c:2449' while stripping on
mips-sgi.  I get this both for version 2.11.2 and '010927'.  Exactly the
same error appears when I use the GNU loader with the '-s' flag.
Other binutils tools seem to function properly.  The native strip works 
perfectly too.

> gcc -o brol brol.c
> file brol
brol:  ELF N32 MSB mips-4 dynamic executable (not stripped) MIPS - version 1
> strip.gnu brol
BFD: bfd assertion fail elf32-mips.c:2449
Segmentation fault
> strip --version
GNU strip 010927

I only get this error when I strip GCC generated binaries.  It seems to
have something to do with gcc's 'crtbegin.o' object, linked in all
executables.  This is both for gcc versions 2.95.* and 3.0.*
Objdump does not complain about this crtbegin.o file.

Line 2449 of elf32-mips.c reads "BFD_ASSERT (sec != NULL);", for a section
called SHT_MIPS_CONTENT.

Now where should I start looking for to solve this ...

Bert.

-- 
-------------- eMail address@hidden ---------------
B.DeKnuydt, PSI-KULeuven                            Tel. +32-16-321880
Kasteelpark Arenberg 10          /|    | ||
B-3001 Leuven-Heverlee        _,_)|  4_|_||
FLANDERS, BELGIUM            / .                    Fax. +32-16-321838
-------------- http://www.esat.kuleuven.ac.be/~deknuydt --------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]