X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_00,KAM_STOCKTIP,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4F40E970.4040107@cs.utoronto.ca> Date: Sun, 19 Feb 2012 07:22:08 -0500 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: add -debuginfo packages References: <6910a60908041158p10fa632cvc2f21524e33b74ce AT mail DOT gmail DOT com> <4A8DDEE8 DOT 2050606 AT users DOT sourceforge DOT net> <4F3FD634 DOT 7060503 AT dronecode DOT org DOT uk> <20120218175853 DOT GA1249 AT ednor DOT casa DOT cgf DOT cx> <4F3FF10C DOT 1060007 AT cs DOT utoronto DOT ca> <20120219054126 DOT GA6697 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20120219054126.GA6697@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 19/02/2012 12:41 AM, Christopher Faylor wrote: > On Sat, Feb 18, 2012 at 01:42:20PM -0500, Ryan Johnson wrote: >> On 18/02/2012 12:58 PM, Christopher Faylor wrote: >>> On Sat, Feb 18, 2012 at 04:47:48PM +0000, Jon TURNEY wrote: >>>> On 21/08/2009 00:40, Yaakov (Cygwin/X) wrote: >>>>> On 04/08/2009 13:58, Reini Urban wrote: >>>>>> Rather than stripping our exe's and dll's I suggest to strip the debug >>>>>> info into >>>>>> seperate /usr/lib/debug/path/file.dbg and package them seperately in -debuginfo >>>>>> packages such as with fedora. >>>> FWIW, attached is the patch I've been using to do this, based on Reini's >>>> patch, updated to address some of your concerns. >>>> >>>> This can, as you suggested, strip the symbols to a location outside of ${D} >>>> and create a single debuginfo package containing those symbols for each cygport. >>>> >>>> I know that support for these packages in upset and setup has been rejected by >>>> cgf, but it's still useful to me to keep the debuginfo for the packaged builds >>>> of Xwin around. >>> I can see why it would be useful but why do we need to change anything? >>> Why can't you just release a xorg-server-debuginfo package and have >>> people install that when you want them to collect debugging? >> If they have to install a different binary then the existing stack trace >> is no longer useful. Especially if the "debug" package had different >> optimization levels and makes a heisenbug disappear. > I think you misunderstand what is being discussed. > > debuginfo packages contain the debugging information for a released > binary. There is no "different binary". > > Actually, if this was what you apparently thought it was, there would be > even less reason to make it some sort of special entity. PEBCAK... I misread the above as proposing to release a binary+debuginfo package instead of shipping the symbols for an existing one. I have to say it's nice to be wrong on that, and that it was never even on the table. Ryan -- 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