From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129647 invoked by alias); 9 Mar 2015 12:55:38 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 129629 invoked by uid 89); 9 Mar 2015 12:55:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out2-smtp.messagingengine.com Received: from out2-smtp.messagingengine.com (HELO out2-smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 09 Mar 2015 12:55:35 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A6F6B214E0 for ; Mon, 9 Mar 2015 08:55:31 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 09 Mar 2015 08:55:33 -0400 Received: from [192.168.1.102] (unknown [31.51.206.246]) by mail.messagingengine.com (Postfix) with ESMTPA id BAFF2C002A5 for ; Mon, 9 Mar 2015 08:55:32 -0400 (EDT) Message-ID: <54FD9840.4040705@dronecode.org.uk> Date: Mon, 09 Mar 2015 12:55:00 -0000 From: Jon TURNEY User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: cygwin-apps@cygwin.com Subject: Re: [RFC] cygport: split debuginfo packages References: <4FE2BE24.4050508@users.sourceforge.net> <1340999291.11608.0.camel@YAAKOV04> <4FF8352C.6060907@dronecode.org.uk> <54EB19C3.2060402@dronecode.org.uk> <1425018433.11676.34.camel@cygwin.com> <54F35239.6060002@dronecode.org.uk> In-Reply-To: <54F35239.6060002@dronecode.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-03/txt/msg00090.txt.bz2 On 01/03/2015 17:54, Jon TURNEY wrote: > On 27/02/2015 06:27, Yaakov Selkowitz wrote: >> On Mon, 2015-02-23 at 12:14 +0000, Jon TURNEY wrote: >>> On 07/07/2012 14:10, Jon TURNEY wrote: >>>> I was going to suggest the use of objcopy --compress-debug-sections, >>>> but it >>>> appears that does nothing for PE/COFF files at the moment [1] :-( >>>> >>>> [1] http://sourceware.org/bugzilla/show_bug.cgi?id=14067 >>> >>> That bug has been fixed for a while, so how about the attached? >>> >>> This appears to reduce the disk space used by .dbg files to about 1/3 of >>> the size, so seems worthwhile. >> >> Have you tested that the resulting split debuginfo work properly with >> gdb? > > It's hardly a comprehensive test, but I did try this: > > $ objdump -j ".zdebug_info" -s /usr/lib/debug/usr/bin/XWin.exe.dbg | head > > /usr/lib/debug/usr/bin/XWin.exe.dbg: file format pei-x86-64 I should have tried this on x86. There seems to be a good chance that this will result in broken debug information on x86. See binutils bug #18087 [1] for details. Perhaps this should be reverted unless or until fixed in binutils. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=18087