From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3085 invoked by alias); 6 Feb 2005 06:44:22 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 3046 invoked from network); 6 Feb 2005 06:44:19 -0000 Received: from unknown (HELO atol.icm.edu.pl) (212.87.0.39) by sourceware.org with SMTP; 6 Feb 2005 06:44:19 -0000 Received: from fs.icm.edu.pl (fs.icm.edu.pl [192.168.1.165]) by atol.icm.edu.pl (8.13.1/8.13.1/rzm-5.1/icm) with ESMTP id j14HHB3M010085 for ; Fri, 4 Feb 2005 18:17:11 +0100 Received: from liandra.icm.edu.pl (liandra.icm.edu.pl [192.168.1.119]) by fs.icm.edu.pl (8.13.2/8.13.2/rzm-2.9.7.1/icm) with ESMTP id j14HHR20001989 for ; Fri, 4 Feb 2005 18:17:28 +0100 (CET) Received: by liandra.icm.edu.pl (Postfix, from userid 5242) id 257693F2E; Fri, 4 Feb 2005 18:17:12 +0100 (CET) Date: Sun, 06 Feb 2005 07:36:00 -0000 From: "Dominik 'Rathann' Mierzejewski" To: binutils@sources.redhat.com Subject: Re: strip bus error on sparc64-sun-solaris2.9 Message-ID: <20050204171711.GE12673@liandra.icm.edu.pl> Mail-Followup-To: binutils@sources.redhat.com References: <20050203130641.GA28768@liandra.icm.edu.pl> <200502031429.36678.ebotcazou@libertysurf.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200502031429.36678.ebotcazou@libertysurf.fr> User-Agent: Mutt/1.5.6i X-SW-Source: 2005-02/txt/msg00065.txt.bz2 Message-ID: <20050206073600.DE7zeJ6byPwu7yU0v85nD4J4zTQ2H5BxWlbxcFSx5bk@z> 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 Interdisciplinary Centre for Mathematical and Computational Modelling Warsaw University | http://www.icm.edu.pl | tel. +48 (22) 5540810