This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Problems with strip on MIPS (Irix 6.2)
- To: binutils at sourceware dot cygnus dot com
- Subject: Problems with strip on MIPS (Irix 6.2)
- From: Peter Fales <psfales at lucent dot com>
- Date: Fri, 4 May 2001 22:44:20 -0500
I'm trying to build gcc-2.95.3 and binutils-2.11 on a Irix 6.2 system.
gcc seems to work fine, as long as I stick with unstripped binaries. But
attempting to run strip results in:
$ strip tst
BFD: bfd assertion fail elf32-mips.c:2430
Memory fault(coredump)
Here's the relevant code snippet:
2422 case SHT_MIPS_CONTENT:
2423 BFD_ASSERT ((*hdrpp)->bfd_section != NULL);
2424 name = bfd_get_section_name (abfd, (*hdrpp)->bfd_section);
2425 BFD_ASSERT (name != NULL
2426 && strncmp (name, ".MIPS.content",
2427 sizeof ".MIPS.content" - 1) == 0);
2428 sec = bfd_get_section_by_name (abfd,
2429 name + sizeof ".MIPS.content" - 1);
2430 BFD_ASSERT (sec != NULL);
2431 (*hdrpp)->sh_link = elf_section_data (sec)->this_idx;
2432 break;
2433
According to "/usr/bin/size", the file does not have a .MIPS.content
section.
Any ideas what might be going on here??
--
Peter Fales Lucent Technologies, Room 5B-408
N9IYJ 2000 N Naperville Rd PO Box 3033
internet: psfales@lucent.com Naperville, IL 60566-7033
work: (630) 979-8031