Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: 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 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 "!\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/