[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616024: ghostscript: please provide debugging package



On Wed, Mar 2, 2011 at 12:40 PM, Jonas Smedegaard <dr@jones.dk> wrote:
> On Tue, Mar 01, 2011 at 11:39:50PM +0100, Yves-Alexis Perez wrote:
>>
>> I'm experiencing segfaults with ghostscript (using it from epstopdf or
>> directly on eps files) and would like to provide a meaningful backtrace.
>> But as there's no -dbg package that means I have to rebuild it
>> completely with -g and -O0. It'd be nice to have the debugging symbols
>> somewhere.
>
> Help much appreciated here.
>
> I do understand that a -dbg package is essentially a rebuild without
> optimizations and without stripping.  But I have no expecience in this, so
> could use a pointer to some guidelines of whatminimal pieces are needed to
> extract and include in that -dbg package and where to put it (I believe I
> saw somewhere that there's a trick of putting -dbg libs in a subdir which
> makes it extend (not replace) the normal package and get used if available).

I have some tricks, and I will implement for you using cdbs...

Bastien

>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQIcBAEBCgAGBQJNbiyYAAoJECx8MUbBoAEhemcP/iW8sbhihAJfY+LEmS2NwGio
> US2PWgUSh8NQXQpoxT5Uh8VO3EkcZ+B8+i+DzKXMSaD+NUsNR7A9t7ak6JEBExdd
> Hm+6Q5bZ2JmtVlTCB+h8Vh55rk3G+GlUIepZaPatvM9vSvCjbQSBEUxIUmVGpzoQ
> m7pWhk9avxmlvYzss8vCNQ2qG2jIEMDIf/BoAYmygKyAa5lyhNr3jsdXFVm5Oxfh
> 2ia7xiXCc83NwXyJQ/wDDHP2Ot5kZslz1X4E1kHrTg6JFyX9K8ha2MI0Qb2dtzD8
> g2u5Y820KYXlplsOq/c03SBG4EtGmK2Mb254EqT0NNRCilP21IzuCKNPkENar1eE
> dLC0IPhHg+LjTY4nhxyDZsU1JOxeI4ba0mBKM9R3MMr6di8WC1n2aXJ4GgPbdJr0
> a5eQ48Xb0bA0OQhEh6PLKLI4yiJhkY5O2e7Anvj9bQy+izpnXo33sIAJQ1m3CFCV
> MYZ5Bi91diT9YZicp+LzhSdDVqpRWQ63wWJNezP8E3DIJzB3Y/TCD0ZjOF6ZTHBp
> +2L5GIkXQ6zgiF7GLDxSZnAlhsN9UM+4WeRF+KYNBmIcbUi8z6uaQyQocSv6Bqzf
> CPTXlGCH6x4uCLk9VNzW9F6Yt5ThBeZnhFvfx9WM7s1/PZ9+CuP9/gGgZ2NU2oJw
> L+jXQ/h4bBOze10bA4iR
> =f4GD
> -----END PGP SIGNATURE-----
>
>



Reply to: