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

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

Re: GNU binutils - strip - BFD 2.13 Internal error


From: Daniel Jacobowitz
Subject: Re: GNU binutils - strip - BFD 2.13 Internal error
Date: Fri, 13 Dec 2002 19:26:44 -0500
User-agent: Mutt/1.5.1i

On Thu, Dec 12, 2002 at 01:14:47PM +0100, Johan Vermeire WX21 /. Tel 54189 
wrote:
> Hi,
> 
> I thougt this could be a bug for the strip tool:
> 
> Platform:
> btm0gn:/home/jvme/stripproblem> uname -a
> SunOS btm0gn 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-5_10
> 
> GNU binutils version 2.13 - strip:
> btm0gn:/cmx_tools2/3EZ00325_Binutils_Sol_2.8/bin> strip -V
> GNU strip 2.13
> Copyright 2002 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License.  This program has absolutely no warranty.
> 
> strip in-file:
> btm0gn:/cmx_tools2/3EZ00325_Binutils_Sol_2.8/bin> ls -al
> ~mieghehu/stripproblem/TLK_REP.elf
> -rwxrwxr-x   1 mieghehu xantium  30341264 Oct  2 11:40
> /home/mieghehu/stripproblem/TLK_REP.elf
> 
> *The .elf is produced with the Greenhills PowerPC cross-compiler on Solaris 
> 2.8,
> version 3.5 .
> 
> Strip bug:
> btm0gn:/cmx_tools2/3EZ00325_Binutils_Sol_2.8/bin> strip
> ~mieghehu/stripproblem/TLK_REP.elf
> strip: Warning: Output file cannot represent architecture UNKNOWN!

We should really turn that into an error...

> BFD: BFD 2.13 internal error, aborting at elf.c line 4960 in
> copy_private_bfd_data
> 
> BFD: Please report this bug.

It looks like you've got a set of Solaris-targeted binutils, right? 
You have to use a version of strip targeted at the same architecture as
the file you are stripping...

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



reply via email to

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