This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strip bus error on sparc64-sun-solaris2.9


On Thu, Feb 03, 2005 at 02:32:18PM +0100, Eric Botcazou wrote:
> > I've managed to build binutils-050126 successfully and make check
> > passes as expected. But, strip seems unable to strip itself.
> > When I try to strip strip, it dies with bus error and dumps core.
> 
> Does that happen if you run strip on a copy of itself?

No.

[rathann@neoburza:/opt/builder/toolchain/bin]% cp strip strip.copy
[rathann@neoburza:/opt/builder/toolchain/bin]% ./strip --strip-unneeded strip
Bus error (core dumped)
[rathann@neoburza:/opt/builder/toolchain/bin]% cp strip.copy strip
[rathann@neoburza:/opt/builder/toolchain/bin]% ./strip.copy --strip-unneeded strip
[rathann@neoburza:/opt/builder/toolchain/bin]%

> Just to be sure: could you run 'file' on the unmodified executable?

[rathann@neoburza:/opt/builder/toolchain/bin]% file strip
strip: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

> Could you run gdb on the core file?

Not yet. I don't have gdb installed on that machine. I could, however,
send you the corefile itself. It's only 300k when gzipped.

-- 
Dominik 'Rathann' Mierzejewski <rathann*at*icm.edu.pl>
Interdisciplinary Centre for Mathematical and Computational Modelling
Warsaw University  |  http://www.icm.edu.pl  |  tel. +48 (22) 5540810


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]