[Pkg-haskell-maintainers] Patch to enable GHC runtime system with thr_debug_p options...

"Michał J. Gajda" mjgajda at gmail.com
Sun Dec 2 11:59:52 UTC 2012


Dear Haskell package maintainers,

I noticed that Ubuntu, as well as Debian and original packages come 
without some variants of threaded debugging binaries.
A recent change added of printing a stack trace with -xc option requires 
using both -ticky and profiling compile options,
which in turn forces program to be compiled in a -debug RTS way.
Since stack trace looks like indispensable debugging tool, and 
convenient parallelization is strength of Haskell,
I wonder is there any remaining reason to leave beginners with a cryptic 
error message
when they try to debug a parallel or threaded application, and want to 
take advantage of stack trace?

The resulting ghc-prof package would be increased by less than 1%.

Here is a patch for Ubuntu/Debian GHC 7.4.2 package, as well as upstream
--
   Best regards
     Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ghc-rtsways.patch
Type: text/x-patch
Size: 355 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20121202/fe74f913/attachment.bin>


More information about the Pkg-haskell-maintainers mailing list