From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77962 invoked by alias); 8 Oct 2015 14:59:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 77897 invoked by uid 89); 8 Oct 2015 14:59:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: limerock04.mail.cornell.edu Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.13.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Oct 2015 14:59:39 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id t98ExbU6017913; Thu, 8 Oct 2015 10:59:37 -0400 Received: from [192.168.1.3] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id t98ExZD8012828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 8 Oct 2015 10:59:36 -0400 Subject: Re: Problem with nm in binutils-2.25-2 on x86 To: cygwin@cygwin.com References: <5613C8B0.5060604@cornell.edu> <5614EC94.7080500@gmail.com> <561638C5.90503@gmail.com> Cc: Kai Tietz From: Ken Brown Message-ID: <561684E7.5010608@cornell.edu> Date: Thu, 08 Oct 2015 14:59:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561638C5.90503@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00092.txt.bz2 On 10/8/2015 5:35 AM, JonY wrote: > On 10/7/2015 17:57, JonY wrote: >> On 10/6/2015 21:12, Ken Brown wrote: >>> This is a followup to >>> https://www.cygwin.com/ml/cygwin/2015-10/msg00059.html . >>> >>> I tried to build icu using gcc-5 and binutils-2.25-2 on x86. The build >>> appeared to hang when cygport was stripping executables. I traced the >>> problem to a call to 'nm -l' in src_postinst.cygpart. This produced >>> errors like the following when called on some of the DLLs: >>> >>> $ nm -l cygicui18n56.dll >>> 6270c458 b .bssBFD: Dwarf Error: Could not find abbrev number 1151. >>> 6270c594 b .bssBFD: Dwarf Error: Could not find abbrev number 1151. >>> 6270c0cc b .bssBFD: Dwarf Error: Could not find abbrev number 1151. >>> ... >>> >>> This particular DLL can be found at >>> >>> http://sanibeltranquility.com/cygwin/cygicui18n56.dll.xz >>> > > Hi Ken, > > Are you able to reproduce a test case? Seems to require some complexity > to trigger it. Actually, it turns out to be quite easy to trigger it. I just tested random programs that were sitting around, and here's the smallest one I found that exhibited the problem: $ cat getcwd.c #include #include int main () { char buf[PATH_MAX]; getcwd (buf, PATH_MAX); } $ gcc getcwd.c $ nm -l a.exe 00406000 b .bssBFD: Dwarf Error: Could not find abbrev number 120. 00406018 b .bssBFD: Dwarf Error: Could not find abbrev number 120. [...] 00406040 b _u.25303BFD: Dwarf Error: Could not find abbrev number 120. 00401000 T _WinMainCRTStartup /usr/src/debug/cygwin-2.2.1-1/winsup/cygwin/crt0.c:23 004070b8 i fthunkBFD: Dwarf Error: Could not find abbrev number 120. 00407074 i hnameBFD: Dwarf Error: Could not find abbrev number 120. Ken -- 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