public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: strip bus error on sparc64-sun-solaris2.9
       [not found] ` <200502031429.36678.ebotcazou@libertysurf.fr>
@ 2005-02-06  6:44   ` Dominik 'Rathann' Mierzejewski
  2005-02-06  7:36     ` Dominik 'Rathann' Mierzejewski
  2005-02-06 11:49     ` Eric Botcazou
  0 siblings, 2 replies; 5+ messages in thread
From: Dominik 'Rathann' Mierzejewski @ 2005-02-06  6:44 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strip bus error on sparc64-sun-solaris2.9
  2005-02-06  6:44   ` strip bus error on sparc64-sun-solaris2.9 Dominik 'Rathann' Mierzejewski
@ 2005-02-06  7:36     ` Dominik 'Rathann' Mierzejewski
  2005-02-06 11:49     ` Eric Botcazou
  1 sibling, 0 replies; 5+ messages in thread
From: Dominik 'Rathann' Mierzejewski @ 2005-02-06  7:36 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strip bus error on sparc64-sun-solaris2.9
  2005-02-06  6:44   ` strip bus error on sparc64-sun-solaris2.9 Dominik 'Rathann' Mierzejewski
  2005-02-06  7:36     ` Dominik 'Rathann' Mierzejewski
@ 2005-02-06 11:49     ` Eric Botcazou
  2005-02-08  5:16       ` Dominik 'Rathann' Mierzejewski
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Botcazou @ 2005-02-06 11:49 UTC (permalink / raw)
  To: binutils

> > 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]%

Then I'm not sure it's really our problem.  And it doesn't crash on the 
machine I use.

-- 
Eric Botcazou

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strip bus error on sparc64-sun-solaris2.9
  2005-02-06 11:49     ` Eric Botcazou
@ 2005-02-08  5:16       ` Dominik 'Rathann' Mierzejewski
  2005-02-08  8:03         ` Eric Botcazou
  0 siblings, 1 reply; 5+ messages in thread
From: Dominik 'Rathann' Mierzejewski @ 2005-02-08  5:16 UTC (permalink / raw)
  To: binutils

On Sun, Feb 06, 2005 at 10:45:02AM +0100, Eric Botcazou wrote:
> > > Does that happen if you run strip on a copy of itself?
> >
> > No.
[...]
> Then I'm not sure it's really our problem.  And it doesn't crash on the 
> machine I use.

I'm not saying it is, I just asked if it was a known problem. Now that
I know it isn't and nobody can reproduce it, I'll get around to debugging
it after I've installed gdb. Thanks.

Regards,

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strip bus error on sparc64-sun-solaris2.9
  2005-02-08  5:16       ` Dominik 'Rathann' Mierzejewski
@ 2005-02-08  8:03         ` Eric Botcazou
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Botcazou @ 2005-02-08  8:03 UTC (permalink / raw)
  To: binutils

> I'm not saying it is, I just asked if it was a known problem. Now that
> I know it isn't and nobody can reproduce it, I'll get around to debugging
> it after I've installed gdb.

I'm not sure the problem is worth bothering about if it never crashes except 
on itself.  Note that the testsuite does exercise 'strip' (albeit lightly).

-- 
Eric Botcazou

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-07 18:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050203130641.GA28768@liandra.icm.edu.pl>
     [not found] ` <200502031429.36678.ebotcazou@libertysurf.fr>
2005-02-06  6:44   ` strip bus error on sparc64-sun-solaris2.9 Dominik 'Rathann' Mierzejewski
2005-02-06  7:36     ` Dominik 'Rathann' Mierzejewski
2005-02-06 11:49     ` Eric Botcazou
2005-02-08  5:16       ` Dominik 'Rathann' Mierzejewski
2005-02-08  8:03         ` Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).