delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/11/14:10:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar AT cotagesoft DOT 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 AT es04snlnt>
NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1034359785 1522 64.165.207.58 (11 Oct 2002 18:09:45 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019