X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.2 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ,TW_JC,TW_YG
X-Spam-Check-By: sourceware.org
X-Received: by 10.50.183.136 with SMTP id em8mr807528igc.3.1359018110477;        Thu, 24 Jan 2013 01:01:50 -0800 (PST)
Date: Thu, 24 Jan 2013 03:01:45 -0600
From: Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net>
To: cygwin <cygwin@cygwin.com>
Subject: Re: Binutils objcopy bug (was Re: rebase segfault)
Message-ID: <20130124030145.22fa143f@YAAKOV04>
In-Reply-To: <50F6AD63.8080106@gmail.com>
References: <50F516C8.9050602@gmail.com>	<20130115100745.GC2353@calimero.vinschen.de>	<50F5312A.2040503@gmail.com>	<20130115112406.GA13752@calimero.vinschen.de>	<50F5D246.6010902@gmail.com>	<50F653AB.80102@gmail.com>	<20130116123509.GA16991@calimero.vinschen.de>	<50F6AD63.8080106@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 16 Jan 2013 14:38:43 +0100, marco atzeri wrote:
> On 1/16/2013 1:35 PM, Corinna Vinschen wrote:
> > On Jan 16 08:15, marco atzeri wrote:
> >> On 1/15/2013 11:03 PM, marco atzeri wrote:
> >>> On 1/15/2013 12:24 PM, Corinna Vinschen wrote:
> > This is a serious bug in objcopy in the current binutils.  Given that
> > cygport creates the debug info automatically, we might end up with
> > spuriously broken DLLs in the distro.
> 
> we already have some :
> 
> /usr/bin/cygcrypto-1.0.0.dll
>    8 .gnu_deb      0000001c  67542000  67542000  0017ac00  2**2
> 
> /usr/bin/cyglsa.dll
>    6 .gnu_deb      00000014  10007000  10007000  00001400  2**2
> 
> /usr/bin/cygssl-1.0.0.dll
>    8 .gnu_deb      0000001c  58fcf000  58fcf000  00059a00  2**2

I checked every /usr/bin/*.dll on my system (which is a lot), and these
three, plus cyglsa64.dll (which can only be read by
x86_64-w64-mingw32-objdump), are the only ones which show this.  I did
manage to reproduce this on my machine with openssl, and passing
--long-section-names=enable to objcopy does fix this, but why are only
these DLLs affected?


Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

