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

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

objcopy assertion failed in translating from ecoff to elf or vice versa


From: Aaron Graham
Subject: objcopy assertion failed in translating from ecoff to elf or vice versa
Date: Thu, 30 Jan 2003 11:36:39 -0500

I have some object files that need to be translated from ecoff-bigmips
linker format to elf32-bigmips.  When I try to do this, I get a BFD
assertion fail and a segfault.  Here is the complete output:

     /home/aa/obj/zlib> objcopy -I ecoff-bigmips -O elf32-bigmips zutil.o
     BFD: BFD 2.13 assertion fail ../../binutils-2.13/bfd/elf.c:5395
     Segmentation fault (core dumped)

The binutils that I compiled does support both linker formats:

     objcopy: supported targets: elf32-bigmips elf32-littlemips
          elf64-bigmips elf64-littlemips elf64-little elf64-big
          elf32-little elf32-big ecoff-bigmips ecoff-littlemips
          srec symbolsrec tekhex binary ihex

I'm currently using the stable 2.13 version of binutils, although I've also
tried version 2.12.91 and the latest version, 2.13.2.1.  They all do the
same thing.  I don't think this matters, but I'm running on an i686 RedHat
7.2 install, with Linux kernel version 2.4.7, and gcc compiler version 2.96.
I tried the 2.13.2.1 binutils on a RedHat 8.0 system, with gcc 3.

Attached is a sample object file which causes the problem.

Aaron

Attachment: zutil.o
Description: Binary data


reply via email to

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