From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4450 invoked by alias); 21 Nov 2007 12:09:30 -0000 Received: (qmail 4440 invoked by uid 22791); 21 Nov 2007 12:09:29 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 21 Nov 2007 12:09:23 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lALC9IX6003542; Wed, 21 Nov 2007 07:09:18 -0500 Received: from pobox.fab.redhat.com (pobox.fab.redhat.com [10.33.63.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lALC9HIn005249; Wed, 21 Nov 2007 07:09:17 -0500 Received: from [10.32.4.117] (vpn-4-117.str.redhat.com [10.32.4.117]) by pobox.fab.redhat.com (8.13.1/8.13.1) with ESMTP id lALC9G2R014268; Wed, 21 Nov 2007 07:09:16 -0500 Message-ID: <47441FF0.6020302@redhat.com> Date: Wed, 21 Nov 2007 12:09:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5.0.12 (X11/20071018) MIME-Version: 1.0 To: Poor Yorick CC: binutils@sourceware.org Subject: Re: ar on Solaris -- segfault with libgcj.a References: <20071115155633.23697.qmail@station198.com> In-Reply-To: <20071115155633.23697.qmail@station198.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00206.txt.bz2 Hi, > Building gcc-4.2.2 on Solaris 9, ar version 2.18 produced a segmentation fault during the make process. I can reproduce the error at the command prompt like this: > > $ ar -s ./sparc-sun-solaris2.9/sparcv9/libjava/.libs/libgcj.a > Segmentation fault (core dumped) > > ar seems to work fine for other archives. If the archive was created by the native ar, might gnu ar behave like this? Possibly, but it certainly should not seg-fault. Please could you open a bug report at: http://sourceware.org/bugzilla/ It will really help if you can include a simple test case. eg upload a *small* archive which will trigger the seg fault when the ar command is run on it. Cheers Nick