Host strip corrupts cross-built binaries

Richard Earnshaw rearnsha at arm.com
Wed Sep 29 18:13:39 BST 2010


On Wed, 2010-09-22 at 08:36 -0700, Mark Mitchell wrote:
> On 9/22/2010 8:34 AM, Loïc Minier wrote:
> 
> >  Which component is to blame here?  Are we looking at a binutils or a
> >  gcc bug for not being able to set or read enough data that the
> >  architecture mismatch isn't detected?  What could we do about it?
> 
> This is definitely a binutils bug.

So I agree that it's a bug in binutils that this produces incorrect
output.  

I don't think it's necessarily a bug that a generic ELF strip program is
unable to strip all ARM ELF binary files.  This is particularly true for
unlinked object files that can contain additional sections that refer to
the symbol section.

R.




More information about the linaro-toolchain mailing list