X-Recipient: archive-cygwin AT delorie DOT 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) To: cygwin Subject: Re: Binutils objcopy bug (was Re: rebase segfault) Message-ID: <20130124030145.22fa143f@YAAKOV04> In-Reply-To: <50F6AD63.8080106@gmail.com> References: <50F516C8 DOT 9050602 AT gmail DOT com> <20130115100745 DOT GC2353 AT calimero DOT vinschen DOT de> <50F5312A DOT 2040503 AT gmail DOT com> <20130115112406 DOT GA13752 AT calimero DOT vinschen DOT de> <50F5D246 DOT 6010902 AT gmail DOT com> <50F653AB DOT 80102 AT gmail DOT com> <20130116123509 DOT GA16991 AT calimero DOT vinschen DOT de> <50F6AD63 DOT 8080106 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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