Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar@cotagesoft.com>
Subject: Re: 1.3.12-2: bug with ar tool (Windows 200)
Date: Fri, 11 Oct 2002 11:10:29 -0700
Lines: 25
Message-ID: <3DA71415.30702@cotagesoft.com>
References: <B51F0C636E578A4E832D3958690CD73E0F058415@es04snlnt>
NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1034359785 1522 64.165.207.58 (11 Oct 2002 18:09:45 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Fri, 11 Oct 2002 18:09:45 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (Compact)
X-Accept-Language: en-us, en

On 10/10/2002 1:06 PM, Hart, William E wrote:

 > BFD: BFD 2.12.90 20020706 internal error, aborting at
> /netrel/src/binutils-20020
> 706-2/bfd/coffcode.h line 823 in handle_COMDAT 
> BFD: Please report this bug.
> 
> In this example, tmp.a is a dummy file that is empty.  

The problem is likely with the empty tmp.a. Why do you need such an 
empty archive?

In any case, the right way to create an empty archive is to "ar r foo.a" 
(without any file arguments). This gives you an empty archive with just 
an "ar" header (which is really just the characters "!<arch>\n").

In fact, when I try your experiment with a zero-length foo.a, I get a 
completely different message (with cygwin 1.3.12-4 and ar 2.12.90 
20020706: "ar: foo.a: File format not recognized".

Unless your "empty" file is somehow different - I just did a "touch 
foo.a" to create my empty file.
--
Shankar.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

